[Mailman-Users] Changing DEFAULT_EMAIL_HOST

Jeremy Butler jbutler at ua.edu
Thu Mar 20 03:43:16 CET 2003

When I first set up Mailman 2.1.1 my DEFAULT_EMAIL_HOST was set to 
www.tcf.ua.edu for testing purposes.  Now, I'm ready to go online with it, 
but I can't figure out how to change DEFAULT_EMAIL_HOST to the real email 
host of tcf.ua.edu.

I changed my hosts (and virtual hosts, too!) in Postfix and I thought that 
that would transfer over to Mailman, but so far it hasn't.  When I set up a 
new list, I get addresses such as

test3-request at www.tcf.ua.edu

that should not have "www" in them.  They should look like this:

test3-request at tcf.ua.edu

So, my main, default email address is wrong, BUT the email addresses for 
new lists on my VIRTUAL host (cinemastudies.org) DOES work.

Can anyone clue me in?  Thanks!

--- Defaults.py ---

DEFAULT_EMAIL_HOST = 'www.tcf.ua.edu'
DEFAULT_URL_HOST = 'www.tcf.ua.edu'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'

--- mm_cfg.py ---

MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['cinemastudies.org']
DEFAULT_EMAIL_HOST = 'cinemastudies.org'
DEFAULT_URL_HOST = 'www.cinemastudies.org'

--- Postfix's main.cf ---

myhostname = www.tcf.ua.edu
mydomain = tcf.ua.edu
mydestination = $myhostname, localhost.$mydomain, $mydomain,
         mail.$mydomain, www.$mydomain, ftp.$mydomain
virtual_alias_maps = 
virtual_alias_domains = cinemastudies.org www.cinemastudies.org
alias_maps = hash:/etc/postfix/aliases, hash:/usr/local/mailman/data/aliases
alias_database = hash:/etc/postfix/aliases

Jeremy Butler
jbutler at ua.edu


More information about the Mailman-Users mailing list