Listadmin – Command line tool to manipulate the queues of messages

Sponsored Link
listadmin is a command line tool to manipulate the queues of messages held for moderator approval by mailman. It is designed to keep user interaction to a minimum, in theory you could run it from cron to prune the queue. It can use the score from a header added by SpamAssassin to filter, or it can match specific senders, subjects, or reasons.

Install listadmin in Ubuntu

Installing listadmin is very simple using the following command

sudo aptitude install listadmin

This will complete the installation.

Configuring listadmin

Now you need to create a ~/.listadmin.ini file in your home directory

touch .listadmin.ini

Now you need to edit this file using the following command

vi .listadmin.ini

enter the following information

default skip

log ~/.listadmin.log

# this example uses the same password for the users, process and admin lists

adminurl http://{domain}/mailman/admindb/{list}
password yourpassword
[email protected]
[email protected]
[email protected]

# this example uses different passwords for the supporters and staff lists

adminurl https://{domain}/mailman/admindb/{list}

password "yourotherpassword"
[email protected]

password "youranotherpassword"
[email protected]

Now you need to save and exit the file.

Make sure you are having the correct permission for this file

chmod 744 .listadmin.ini

That's it now you need to run the listadmin command from comman line


Start moderating all your groups in single command

Sponsored Link

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *