Mailinglist Archive: opensuse (4344 mails)
| < Previous | Next > |
Re: [SLE] Where's the best place for postfix smtpd settings?, main.cf or master.cf?
- From: Sandy Drobic <suse-linux-e@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 26 Aug 2005 12:42:49 +0200
- Message-id: <430EF229.7060906@xxxxxxxxxxxxxxxxxxxxxxx>
Stephen Carter wrote:
The normal place is in main.cf. The reinjection instance usually disables
content filter with the setting "-o content_filter=". That way you avoid
to evaluate the restrictions on your reinjection instance.
Sandy
What's the consensus here on the location of smtpd_sender_restrictions
and smtpd_recipient_restrictions settings?
Should they be in main.cf where you then need to 'null' them out of all
other smtpd connectors where not necessary in master.cf, or should they
be set in master.cf against specific connectors and not set as system
defaults?
I ask becauase my current setup has had them in the main.cf for about 6
months with no problems.... but I just had the thought that because I'm
using amavisd for virus and spam scanning, I think all the postfix
smtpd restriction tests are being run twice. Once when the e-mail comes
in on postfix smtp port 25, then a 2nd time when amavisd re-injects the
e-mail back into postfix on port 10025.
The normal place is in main.cf. The reinjection instance usually disables
content filter with the setting "-o content_filter=". That way you avoid
to evaluate the restrictions on your reinjection instance.
Sandy
| < Previous | Next > |