IT/Internal

From CA Greens wiki
Revision as of 21:57, 28 April 2010 by 66.159.220.136 (talk)

Jump to: navigation, search

Here are some things you might have to do on wangari.

Be the mailman user and archive and remove an unwanted mailman list

As root,

 su - list

which gives you a login shell as Mr. list. First remind yourself where Mailman is.

 egrep 'cgi-bin|piperm' /etc/apa*/sites-a*/wa* | grep -v '^#'

Then do stuff. Keep the name of the list in a shell variable to avoid typing it over and over.

 cd /var/lib/mailman
 bye=humboldt-discuss
 file  archives/private/$bye*
 cp -a lists/$bye ~/oldlists/lists
 cp -a archives/private/$bye* ~/oldlists/archives
 ls bin
 bin/rmlist -a $bye

Now it's gone. After a minute or two, Postfix will notice the change and forget about the former list's addresses.