On 2021-03-10 15:08, Noel Jones wrote:

> This is incorrect. With the default smtpd_delay_reject=yes, all 
> evaluations are performed after the client sends RCPT TO. 


Thanks for clarification.  Reading the docs of delay_reject brings up
another question:

"Wait until the RCPT TO command before evaluating
$smtpd_client_restrictions, $smtpd_helo_restrictions and
$smtpd_sender_restrictions"


Does this mean that a condition in smtpd_helo_restrcitiosn which
triggers a "REJECT" will, upon entering RCPTO TO mode, result in the
rejection with nothing else evaluated?

(aka: does the documentation have an implicit "in that order" after the
$smtpd_sender_restrictions" ?

If so, it sill makes sense to put them all in
smtpd_recipient_restrictions as you can be explicitely order the
excecution of tests from any of the phases in the order that suits you
(aka: permit a sender before the test for helo are done).

Reply via email to