Looking for some clarification to help me understand. Are smtpd_*_restrictions processed in this order:

  smtpd_client_restrictions
  smtpd_helo_restrictions
  smtpd_sender_restrictions
  smtpd_recipient_restrictions
  smtpd_data_restrictions



If these restriction mechanisms share a common hash file for their check, for example:

/etc/postfix/main.cf
  ...
smtpd_client_restrictions = check_client_access hash:/etc/postfix/access_hash ...
  ...
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access_hash ...
  ...

/etc/postfix/access_hash
ip.ad.dre.ss ok
tld.com REJECT Access denied

would this OK if found in smtp_client_restrictions trump REJECT if found by smtpd_sender_restrictions against tld.com and allow the message to queue?

Reply via email to