I have a problem adding email addresses to our blacklist.

I'm running red-hat linux, with latest perl and spamassasin, and using procmail.

I have a mail account that users send false-negative spam to. The users forward
the spam to this account, then procmail adds the email addresses to the
blacklist.

Unfortunately the sender (forwarder) of the email (not the just spammer, but the user
on my system) is also added to the blacklist. So only the first spam message
is processed to the blacklist, any future ones are dumped into a spam junk-box due
to the AWL adjustment for that user. This is because the user's email address is also
added to the blacklist by the "spamassassin -a --add-to-blacklist" argument.

Is there a better way to do this? How do I add spammer addresses without adding
the address of our user?

Here is the procmail recipe I'm using:

BLACKLIST=/var/spool/mail/blacklistmbox
## If mail is for blacklist, process the b**tard
:0Hc
* $ ^To:.*blacklistmbox
| /usr/bin/spamassassin -a --add-to-blacklist
$BLACKLIST

Thanks for any advice!

FYI, I tried using cron to execute the "-remove-addr-from-whitelist=" argument
for each user if the blackist mbox is new. But this is not effective, especially
for a user sending consecutive spam to the blacklist address.

Thanks,
-Neal.



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to