Mike Burger said: > if you're using the default behavior of letting SA mark the subject > line, then filtering via postfix works just fine. > > It might mean, however, that you have to enable procmail as the default > MDA in your postfix/main.cf file.
It's not *necessarily* a requirement to use procmail as MDA. I use amavisd-new, which calls SA. You could use procmail (system-wide or per-user), or maildrop. > Just make sure that you have "mailbox = /usr/bin/procmail" uncommented > in postfix/main.cf, and you should be fine. > > Then, add: > > :0: > * ^Subject:.*\*\*\*\*SPAM\*\*\*\*\* > $HOME/mail/caughtspam (or, /dev/null, if you just want to dump it) It's easier to just check the X-Spam-Status header (IMO). In maildrop: if ( /X-Spam-Status: Yes/ ) to "Maildir/.Spam" ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk