[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: spampd - a SpamAssassin based SMTP/LMTP scanning proxy daemon



This one time, at band camp, martin f krafft said:
> also sprach Greg Norris <haphazard@kc.rr.com> [2004.10.02.2046 +0200]:
> > I originally tried configuring postfix to do per-user filtering
> > via spamc/spamd directly (using the "-u" spamc option), but that
> > setup has a number of issues which make it undesirable.
> 
> use procmail as mda and then /etc/procmailrc:
> 
> BEGIN /etc/procmailrc 0644
> SHELL=/bin/sh
> DROPPRIVS=yes
> COMSAT=no
> 
> SENDMAILFLAGS="$SENDMAILFLAGS -f $2"
> 
> :0 fw
> | /usr/bin/spamc
> END
> 
> and in main.cf:
> 
>   mailbox_command = /usr/bin/procmail -a "$EXTENSION" -a "$SENDER" -a "$RECIPIENT" DEFAULT=\$HOME/.maildir/
> 
> not very performant because procmail is a hog, but better than
> nothing.

Does postfix not have something like exim's routers?(I really am asking
- I don't know postfix well).  I was under the impression that one of
the strengths of it's modularity was that you could plug extra pieces in
in the middle of a routing chain for stuff just like this.
-- 
 -----------------------------------------------------------------
|   ,''`.					     Stephen Gran |
|  : :' :					 sgran@debian.org |
|  `. `'			Debian user, admin, and developer |
|    `-					    http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgpwBaW5L2Dz6.pgp
Description: PGP signature


Reply to: