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.

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

Attachment: signature.asc
Description: Digital signature

Reply via email to