On 1/16/2013 3:13 AM, Titanus Eramius wrote:
> Tue, 08 Jan 2013 16:24:11 -0600 skrev Noel Jones
> <njo...@megan.vbhcs.org>:
> 
>> main.cf parameters are used by all postfix services (but not all
>> parameters apply to all services).
>>
>> Individual services defined in master.cf can override main.cf
>> settings with -o ... options.
>>
>> http://www.postfix.org/postconf.5.html
>> http://www.postfix.org/master.5.html
>>
>>
>>
>>
>>   -- Noel Jones
> 
> If I may ask one last thing, just to be sure.
> To integrate SpamAssassin I adjusted the smtp-line in master.cf to
> ---
> smtp inet n - - - - smtpd -o content_filter=spamassassin
> ---
> 
> and then disallowed submission on port 25.
> 
> In main.cf I have 7 reject_*-lines like so
> ---
> smtpd_recipient_restrictions =
>    ...
>    reject_invalid_helo_hostname
>    reject_unknown_sender_domain
>    ...
>    permit
> ---
> 
> Will the reject_*-rules still apply to incoming mail before Postfix
> hands it over to SpamAssassin?
> 


The "-o content_filter..." setting on smtpd will override any
main.cf content_filter setting, all other main.cf smtpd settings
still apply.

So yes, your main.cf smtpd_recipient_restrictions will still apply.





  -- Noel Jones

Reply via email to