> On 2020-09-15 10:18, Nick wrote:
On 2020-09-15 08:53 BST, Fourhundred Thecat wrote:
yes, I am accepting authenticated senders on port 465, and port 25 is
only for unauthenticated.

But how do I ensure that header_checks only apply to port 25 ?

<http://www.postfix.org/BUILTIN_FILTER_README.html#mx_submission>

thank you, but somehow I cannot make it work.

My header checks work fine when I have it in main.cf (globally)

  header_checks = regexp:/var/local/postfix/maps/header_checks

But when I remove it from main.cf and add last line to master.cf:

smtp      inet      n       -       n       -        -       smtpd
  -o smtpd_tls_security_level=may
  -o smtpd_sasl_auth_enable=no
  -o syslog_name=postfix:25
  -o header_checks=regexp:/var/local/postfix/maps/header_checks

then it does not work.

Reply via email to