This one time, at band camp, martin f krafft said:
> also sprach Greg Norris <[EMAIL PROTECTED]> [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 |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgpTU83Ylch1q.pgp
Description: PGP signature

Reply via email to