Diego Liziero wrote:
I would like to disable a global content_filter just for the empty
sender (mailer-daemon) coming from a specific ip.
After reading that the default transport has syntax ":" and that the
default filter is empty, I tried "FILTER :" in an access table with
the meaning of "filter disabled":
[snip]
an alternative is
content_filter =
smtpd_sender_restrictions =
check_sender_access hash:/etc/postfix/sender_ok
check_sender_access pcre:/etc/postfix/filter
== dsn_ok
<> OK
== filter
/./ FILTER filter:[1.2.3.4]:10024
where "filter:[1.2.3...." is what you used to put in content_filter.