Alberto Lepe:
> There is a customer that is sending mails from excel using a banned client
> in the server "header_checks" restrictions (client can not be changed due
> to technical restrictions).
> I allowed the customer in sender_access, however postfix is still blocking
> it.
> How can I set "sender_access" to be before "header_checks" ?
sender_access happens BEFORE mail is received.
header_checks happen WHILE mail is received.
Don't use header_checks for anti-spam filtering. Instead use an
external content filter.
Wietse
> Thanks,
>
> This is part of my main.cf:
>
> header_checks = regexp:/etc/postfix/header_checks
> ...
> smtpd_sender_restrictions =
> check_client_access hash:/etc/postfix/client_access,
> check_sender_access hash:/etc/postfix/sender_access,
> permit_mynetworks,
> permit_sasl_authenticated,
> reject_non_fqdn_sender,
> reject_unknown_sender_domain