Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600152 - mail-filter/postsrsd ignores config options
Summary: mail-filter/postsrsd ignores config options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-18 08:37 UTC by Rudolf Mayerhofer
Modified: 2016-11-19 20:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rudolf Mayerhofer 2016-11-18 08:37:52 UTC
The mail-filter/postsrsd-1.4 package ignores 2 config options from /etc/conf.d/postsrsd due to them being explicitly set at the beginning of /etc/init.d/postsrsd:

SRS_DOMAIN=`postconf -h mydomain || true`
SRS_EXCLUDE_DOMAINS=

To restore correct behavior and allow configuration via /etc/conf.d/postsrd the following could be used (as a direct replacement) to apply these values only in case of them not being set already:

SRS_DOMAIN="${SRS_DOMAIN:-`postconf -h mydomain || true`}"
SRS_EXCLUDE_DOMAINS="${SRS_EXCLUDE_DOMAINS:-""}"
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-11-19 20:51:18 UTC
Fixed in postsrsd-1.4-r1. Thanks for reporting!