Giampaolo Tomassoni wrote:
I would like to know howto automatically remove detected Spam? I don't
want spamassassin to deliver the spam with a [SPAM] tag at the begining of
the message but preffer to send it (the spam) directly to something like
/dev/null
Why don't you use amavisd-new ( http://www.ijs.si/software/amavisd/ ).
With it, you may set a spam score threshold above which the e-mail is discarded.
giampaolo
Easier and faster, use the milter-regex (if you are using sendmail as
you MTA). You can then build a regex to drop beyond a certain level.
Or, if you're feeling braver, you can use the patches at the following
page to set discard ranges directly on the spamass-milter:
http://www.jmaimon.com/sendmail/spamass-milter/
http://www.jmaimon.com/sendmail/spamass-milter/patches/Rcpt-Filter.030-bBrActions.v10.patch
Actually, you can use that patch to set a bunch of actions, where the
score determines what actions are to be taken. Very handy. If you happen
to be using FreeBSD, these patches will most likely be included into the
spamass-milter port as compile time, or persistent config, options to
make it easier to maintain when there are new releases of the code as it
is unlikely that the spamassasin guys are going to merge the patches,
seeing as they haven't already and the patch has been available for
nearly a year now.
It's a bummer that these great features aren't available in the default
build of the milter. They have greatly simplified our management of spam
where I work. We have the following actions set:
25+ : drop the spam in the bit bucket
15-25 : send to low risk quarenine (checked and cleared monthly)
10-15 : send to high risk quarentine (check and cleared daily)
8-10 : sent to recipient, tagged as spam, for them to confirm or deny
This means the IT team only have to deal with about 1000 mails in the
high risk quarentine every day (we get between 400,000 and 600,000 SMTP
connection attempts per day and about 200,000 mail actually get past our
MTA level RBL checks, before the various milters we use) and we can just
get one of the juniors to do the low risk one once a month.