On Mon, Jun 16, 2003 at 07:33:08PM -0400, Joey Hess wrote: > > Today I noticed those summaries were getting spamassassing scores in the > 30 range. I ended up whitelisting myself, though that doesn't feel like > a good idea -- now SA might mislearn spam subjects as ham, and any > spammer who forges mail from me will probably get through. > > Aside from bypassing SA entirely for local mail, is there any better > approach?
Are you using procmail? Set a rule that if the mail is sent by you, with a header stating that themail was originated locally, do not use spamassassin. Are you using postfix? Set postfix so that mail delivered locally uses a entry like: 127.0.0.1:smtp ... <external_ip>:smtp ... -o content_filter=filter: filter unix - n n - - pipe flags=Rq user=pffilter argv=/home/pffilter/filter.sh -f ${sender} -- ${recipient} Create a user "pffilter" and put in "filter.sh": /bin/cat | /usr/bin/spamc -f | /usr/sbin/sendmail -i "$@" Set your spamassassin to run spamd, which is always a good idea. That will separate incoming mail and outgoing (local) mail to be checked by SA. HTH -- Jesus Climent | Unix SysAdm | Helsinki, Finland | pumuki.hispalinux.es GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429 7E18 66FC 1D7F 8694 6D69 ---------------------------------------------------------------------- Registered Linux user #66350 proudly using Debian Sid & Linux 2.4.20 So much to do, so little time... --Joker (Batman)