Changes

From SME Server
Jump to navigationJump to search
1,307 bytes added ,  21:05, 28 December 2007
Line 54: Line 54:  
|}
 
|}
 
Running the script with --help will display the options available
 
Running the script with --help will display the options available
 +
 +
==== Transferring Lists ====
 +
You can transfer lists from another server and keep everything in tact. It's an easy process but the Mailman FAQ and info seems to be sparse and complicated. This simplifies everything.
 +
 +
OLD SERVER
 +
 +
First stop the mailman service.
 +
/etc/init.d/mailman stop
 +
Next, tar/zip up the lists.
 +
tar -czvf /temp/mailman.tar.gz /var/lib/mailman
 +
Next, transfer it onto the new server.
 +
scp -P <sshportnumber> /temp/mailman.tar.gz <newserverip>:/var/lib
 +
 +
NEW SERVER
 +
 +
Change to the rpm location.
 +
cd /install
 +
Install the rpms.
 +
yum localinstall mailman-* smeserver-mailman-*
 +
Extract/untar/unzip the tar/zip file.
 +
tar -xvzf /var/lib/mailman.tar.gz
 +
The rpm should have expanded the httpd configuration file and restarted the service but it hasn't. Small bug. The following reconfigures the httpd/web service (this should be able to be replaced with an event, but I'm not sure which one, yet -if you know, change it or talk it).
 +
expand-template /etc/httpd/conf/httpd.conf
 +
Now we have to restart it to take effect. Since it's a 'supervised' service, we just have to stop it. It will start again on its own.
 +
/etc/init.d/httpd stop
 +
Finally, start the mailman service.
 +
/etc/init.d/mailman start
 +
 +
All your lists and lists' configurations should now be available at: http://domain.name/mailman
    
=== For more information ===
 
=== For more information ===
227

edits

Navigation menu