Camron W. Fox wrote:
Noel Jones wrote:
Camron W. Fox wrote:
Alle,

We would like to filter all internal email so that it bypasses SpamAssassin. We have set up per_client_filters using:

smtpd_client_restrictions =
    check_client_access cidr:/etc/postfix/per_client_filter

== per_client_filter:
0.0.0.0/0    FILTER spamassassin:
10.0.0.0/8    FILTER dummy:
...


Note that order matters in a cidr: table. First match wins; everything matches 0.0.0.0/0. Put the catchall last, more specific entries earlier.
http://www.postfix.org/cidr_table.5.html

The spamassasin filter works fine, but how do we create a dummy filter that just does a bypass of all the internal emails?


Why send them through a filter at all if you don't want them filtered? Use DUNNO as the table result.

10.0.0.0/8  DUNNO
0.0.0.0/0  FILTER...

Noel,

    So this will accomplish what we want?

10.0.0.0/0    DUNNO
0.0.0.0/0    FILTER    spamassassin:

Best Regards,
Camron


Well, it should do what you've described. I hope it does what you want...

Enjoy the holiday.

--
Noel Jones

Reply via email to