Difference between revisions of "IT/Internal"

From CA Greens wiki
Jump to: navigation, search
Line 1: Line 1:
Here are some things you might have to do on wangari.
+
===Here are some things you might have to do on wangari.===
  
 
==Be the mailman user and archive and remove an unwanted mailman list==
 
==Be the mailman user and archive and remove an unwanted mailman list==

Revision as of 22:03, 28 April 2010

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. Try the tab key instead of asterisk there.

 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.