[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mailman and spam



Please forward the message below to the moderators of your ietf.org-hosted
mailing lists.

-d

-----

At <http://www.waider.ie/hacks/workshop/perl> I found a nice Perl script
which automates deleting spam that is waiting for Mailman administrator
approve/deny/reject.

To use it, both Perl and SpamAssassin need to be installed on your Unix box.
To run it with ietf.org-hosted mailing lists, use the following syntax:

  perl
despam.pl --url=https://www1.ietf.org/mailman/admindb/MAILINGLIST --password
=XYZZY

The Perl script will obtain a SpamAssassin score for each queued message.
If the score is above your SpamAssassin-configured threshold (default=5),
the message is Denied.  If the score is below your threshold, the message is
left for you to manually Approve/Deny.  The value of "required_hits" in
~/.spamassassin/user_prefs controls the threshold value.

The script is available from
<http://www.waider.ie/hacks/workshop/perl/mailman.pl> and is also attached
(my only change was to include the source URL in the mailman.pl file
itself).

-Dan Wing

Attachment: mailman.pl
Description: Binary data