MigraMailMan

De Slacam_Wiki
Ir para: navegação, pesquisa

Migração de uma lista do MAILMAN para um outro domínio

You need

add_virtualhost('new.web.domain', 'new.email.domain')

in mm_cfg.py if it's not already there

Then you need to run

bin/withlist -l -r fix_url listname -u new.web.domain

That moves the list.

For Postfix, it depends on whether new.web.domain is virtual or local and likewise the old domain.

If both old and new domains are local, you don't need to do anything more.

If either old or new domain is virtual:

   if new domain is virtual:
       make sure new.email.domain is in POSTFIX_VIRTUAL_DOMAINS
           in mm_cfg.py
       if you don't already have data/virtual-mailman in Postfix's
               virtual_alias_maps:
           add it
       if you don't already have new.mail.domain in Postfix's
               virtual_alias_domains:
           add it
   run bin/genaliases

(the above is intended to be Pythonic pseudo code)