mladmin 0.10

mladmin main purpose in the life is to automatically discard the messages held for administrative approval by Mailman.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
BSD License 
ROOT \ Communications \ Email
mladmin project main purpose in the life is to automatically discard the messages held for administrative approval by Mailman mailing list manager.

If you use Mailman (for example because your mailing lists are hosted by SourceForge) you probably get as much spam as I do, that is anything between 1 and 10 messages daily. I got tired of having to click on half a dozen checkboxes in my browser to delete them manually and so wrote this tiny script to do it automatically.

It is especially useful for the announcement lists where normally no messages are posted at all so there is no danger of discarding a legitimate message.

Usage instructions:
By default, it will list the messages being held for approval, if any, and ask you if you want to discard all the messages which is the most common action. If the second parameter is specified it can be list, discard or accept. The first just lists the messages without proposing to discard them, the others discard or accept all (if there are no more parameters) or just the specified (after them on command line) messages.

Please note that there is no way to undelete discarded messages later, so use the discard command carefully!

Other supported options are:

--help, --version: self explanatory
--pass=password: specify the administrative password on the command line (otherwise you'll be asked for it)
--cookies=file: if this option is given, the administrative cookie will be saved to the specified file and you won't have to enter the password again until it expires. You should understand that storing Mailman cookies is a security risk and use this options with care.
--proxy=url: specify the proxy to use
Example of a session using this script:

% ./ --cookies=list.cookies list
Administrative password for list-name: password will be saved in list.cookies file
Logging in to list-name... ok.
2 messages held for approval for the list list-name:

N From Subject Reason
1 ... Post by non-member to
2 valid subject Post by non-member to
2 (광고) 집,직장에서 4년제 대학 Post by non-member to
% ./ --cookies=list.cookies accept 2
Preparing to accept 1 message... 1 message accepted.
% ./ --cookies=list.cookies discard
Preparing to discard all messages... 2 messages discarded.


· Perl
· HTTP::Cookies
· LWP::UserAgent
· HTML::Parser

What's New in This Release:

· Now works with mailman 2.1+ (which is used on SourceForge, so this upgrade is required to continue to use mladmin with the mailing lists hosted there).

Last updated on July 25th, 2006

#mail list manager #discard messages #discard mail list messages #mladmin #discard #messages #maillist

Add your review!