On Sun, Jun 21, 2015 at 10:51:47AM +0200, Ansgar Wiechers wrote:

> According to Wietse[1] mail is processed in the following order:
> 
> - postscreen
> - smtpd_*_restrictions
> - milter SMTP command inspection
> - smtpd_proxy_filter
> - header_checks, body_checks
> - milter header/body inspection
> - content_filter
> 
> So milters come after smtpd_client_restrictions.

Yes and no.  As far as I can tell, *not* with smtpd_delay_reject.
With the default smtpd_delay_reject=yes, milters process:

        connect
        helo/ehlo
        mail from:

before any smtpd restrictions are evaluated, and the restrictions
go first only starting with "rcpt to:".  Only with smtpd_delay_reject=no,
do milters always follow built-in restriction processing.

-- 
        Viktor.

Reply via email to