Noel Jones put forth on 8/25/2010 10:11 PM:

> In that case, don't use an access table with FILTER; use content_filter
> or smtpd_proxy_filter to filter all mail.
> 
> (For wildcard access tables, use a regexp table.  But for this
> application, use content_filter.)

Let me try to make this really simple as I think we got way off track
due to the length and detail of my first post.

This is what I want to accomplish, using SA.  From:
http://www.postfix.org/FILTER_README.html

"FILTER actions in access or header/body tables

The above filtering configurations are static. Mail that follows a given
path is either always filtered or it is never filtered. As of Postfix
2.0 you can also turn on content filtering on the fly.

To turn on content filtering with an access(5) table rule:

    /etc/postfix/access:
        whatever       FILTER foo:bar"


What I need are the values for "whatever, "foo", and "bar".  I can
figure out "whatever", and "foo" is "smtp".  What I don't know is the
value for "bar".  That is really what I need here. I also need to know
what the master.cf entry for a second smtpd process for reinjection
needs to look like, specifically with no restrictions.  I should be able
to get the rest of what I need from the SA site.

Has no one on postfix-users ever actually implemented Wietse's example
of selective content filtering using access lists?

-- 
Stan

Reply via email to