On 27 Aug 2020, at 9:26, Jaroslaw Rafa wrote:

What does "check_sender_access" do in smtpd_recipient_restrictions ?
According to documentation, you can have "check_recipient_access" there, but
not "check_sender_access".

Incorrect.

From `man 5 postconf`:

  smtpd_recipient_restrictions (default: see postconf -d output)
Optional restrictions that the Postfix SMTP server applies in the con- text of a client RCPT TO command, after smtpd_relay_restrictions. See SMTPD_ACCESS_README, section "Delayed evaluation of SMTP access restriction lists" for a discussion of evaluation context and time.

       [...]

       Other restrictions that are valid in this context:

o Generic restrictions that can be used in any SMTP command con-
         text, described under smtpd_client_restrictions.

o SMTP command specific restrictions described under smtpd_client_restrictions, smtpd_helo_restrictions and
         smtpd_sender_restrictions.

--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not For Hire (currently)

Reply via email to