procmail
[Top] [All Lists]

Re: postfix and content filtering with procmail

1998-12-15 23:09:35
"John D. Hardin" <jhardin(_at_)wolfenet(_dot_)com> writes:
Perusal of the postfix overview (at http://www.postfix.org/) shows
that while you can easily configure postfix to use procmail as the
local delivery agent, there is the comment that "Content filtering
hasn't been implemented yet."

What isn't clear is whether this means built-in content filtering or
hooks to an external program (potentially procmail) is intended - or
perhaps both. One or the other will be necessary for anti-spam where
postfix is used as a hub, as local delivery via procmail is not a
(neat) option. 

postfix has no builtin content filtering.  If you set a particular
variable correctly (program_mailer if I recall correctly from scanning
the documentation and source), then postfix will invoke procmail (or
any other command you specify) with no arguments as the user being
delivered to.  Among other things, this means that /etc/procmailrc will
not be used by procmail unless explicitly included by the user's
.procmailrc.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>