Jump to content

Service/lists: Difference between revisions

From Sugar Labs
No edit summary
No edit summary
Line 38: Line 38:
   ssh solarsail
   ssh solarsail
   cd /var/lib/mailman/lists/
   cd /var/lib/mailman/lists/
   rsync -aP aslo bugs colombia community-news dextrose fourthgrademath gsoc iaep italia marketing soas somosazucar sugar-desarrollo sugar-devel sugar-reports  systems systems-logs root@sunjammer:/var/lib/mailman/lists/
   rsync -aP aslo bugs colombia community-news dextrose fourthgrademath gsoc iaep italia marketing slobs soas somosazucar sugar-desarrollo sugar-devel sugar-reports  systems systems-logs root@sunjammer:/var/lib/mailman/lists/
   cd /var/lib/mailman/archives/private
   cd /var/lib/mailman/archives/private
   rsync -aP aslo* bugs* colombia* community-news* dextrose* fourthgrademath* gsoc* iaep* italia* marketing* soas* somosazucar* sugar-desarrollo* sugar-devel* sugar-reports* systems* systems-logs* root@sunjammer:/var/lib/mailman/archives/private/
   rsync -aP aslo* bugs* colombia* community-news* dextrose* fourthgrademath* gsoc* iaep* italia* marketing* slobs* soas* somosazucar* sugar-desarrollo* sugar-devel* sugar-reports* systems* systems-logs* root@sunjammer:/var/lib/mailman/archives/private/


* Copy over the lists.sugarlabs.org bits from the Postfix configuration (<code>/etc/postfix/main.cf</code> and <code>/etc/postfix/transport</code>)
* Copy over the lists.sugarlabs.org bits from the Postfix configuration (<code>/etc/postfix/main.cf</code> and <code>/etc/postfix/transport</code>)


* Test admin pages and archives on the new site (I've set the new IP for lists.sugarlabs.org in /etc/hosts)
* Test admin pages and archives on the new site (hint: set the new IP for lists.sugarlabs.org in /etc/hosts)


* [[Sysadmin/Announcing_downtime|Announce downtime]] on all affected lists
* [[Sysadmin/Announcing_downtime|Announce downtime]] on all affected lists


* Configure postfix on solarsail to relay anything@lists.sugarlabs.org to sunjammer
* Stop mailman on solarsail


* Switch over DNS records
* Switch over DNS records (with default TTL values)


* Restore default TTL for lists.sugarlabs.org
* Remove mailman transport map from solarail, leaving the relay, so that anything@lists.sugarlabs.org gets sent to sunjammer
 
* Restart mailman on solarsail


== See Also ==
== See Also ==

Revision as of 09:34, 7 October 2010

Hostnames

Hosted on

Machine/sunjammer


Administrative contact

  • For problems concerning a specific mailing-list, please contact the individual administrator reported on in the mailing-list summary page
  • Technical contact for Mailman and general sugarlabs.org email routing: postmaster AT sugarlabs DOT org


Sysadmins

For non-emergency calls, preferably send email to the administrative contact.


Change virtual host of a list

bin/withlist -l -r fix_url bolivia -u lists2.ole.org


Migrating lists from one host to another

To migrate lists from solarsail to sunjammer, I did the following:

  • Lower TTL for lists.sugarlabs.org to 30 minutes
  • Copy over config before cut-off:
 ssh solarsail
 cd /var/lib/mailman/lists/
 rsync -aP aslo bugs colombia community-news dextrose fourthgrademath gsoc iaep italia marketing slobs soas somosazucar sugar-desarrollo sugar-devel sugar-reports  systems systems-logs root@sunjammer:/var/lib/mailman/lists/
 cd /var/lib/mailman/archives/private
 rsync -aP aslo* bugs* colombia* community-news* dextrose* fourthgrademath* gsoc* iaep* italia* marketing* slobs* soas* somosazucar* sugar-desarrollo* sugar-devel* sugar-reports* systems* systems-logs* root@sunjammer:/var/lib/mailman/archives/private/
  • Copy over the lists.sugarlabs.org bits from the Postfix configuration (/etc/postfix/main.cf and /etc/postfix/transport)
  • Test admin pages and archives on the new site (hint: set the new IP for lists.sugarlabs.org in /etc/hosts)
  • Stop mailman on solarsail
  • Switch over DNS records (with default TTL values)
  • Remove mailman transport map from solarail, leaving the relay, so that anything@lists.sugarlabs.org gets sent to sunjammer
  • Restart mailman on solarsail

See Also