I was looking for a way to skip the content_filter for connections to
localhost.  Looking at http://www.postfix.org/FILTER_README.html I found
that the only way was to configure each interface in the master.cf
file.  So what I had was the following line in my main.cf

content_filter = smtp-amavis:[127.0.0.1]:10024

An in my master.cf I placed the following

127.0.0.1:smtp                                inet  n       -      
-       -       -       smtpd
    -o content_filter=
    -o smtpd_client_restrictions=permit_mynetworks,reject
50.76.143.89:smtp                             inet  n       -      
-       -       -       smtpd

What I found is that with those options set, content filtering still
happened on the localhost interface.  What I ended up having to do was
remove the content_filter directive from my main.cf file and add it to
the public interface in the master.cf.

My question is; What did I miss?  Shouldn't the blank content_filter
line int eh master.cf have over-ridden the setting in the main.cf?

Regards,
Tim

Reply via email to