Difference between revisions of "IT/Internal"

From CA Greens wiki
Jump to: navigation, search
Line 13: Line 13:
 
   cp -a lists/$bye ~/oldlists/lists
 
   cp -a lists/$bye ~/oldlists/lists
 
   cp -a archives/private/$bye* ~/oldlists/archives
 
   cp -a archives/private/$bye* ~/oldlists/archives
 +
  ls -l data/al*
 
   ls bin
 
   ls bin
 
   bin/rmlist -a $bye
 
   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.
+
  ls -l data/al*
 +
Now it's gone.  After a minute or two, Postfix will notice the change and forget about the former list's addresses. You don't have to signal it.
 +
  exit
 +
  exit

Revision as of 22:08, 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 -l data/al*
 ls bin
 bin/rmlist -a $bye
 ls -l data/al*

Now it's gone. After a minute or two, Postfix will notice the change and forget about the former list's addresses. You don't have to signal it.

 exit
 exit