[Mailman-Users] DEFAULT_EMAIL_HOST
Mark Sapiro
mark at msapiro.net
Fri Nov 2 03:35:33 CET 2012
Norbert Aschendorff wrote:
>
>I wanted to figure out which effect DEFAULT_EMAIL_HOST has but I didn't
>have much success. The only place where I found this variable was
>add_virtualhost() in mailman-install.pdf and in Defaults.py.
You missed
cron/mailpasswds
Mailman/MailList.py
Mailman/Cgi/create.py
bin/fix_url.py
bin/newlist
and also references to the VIRTUAL_HOSTS dictionary which always
contains at leasy the one add_virtualhost(DEFAULT_URL_HOST,
DEFAULT_EMAIL_HOST) entry in
Mailman/Utils.py
Mailman/Cgi/create.py
bin/fix_url.py
bin/newlist
>My question: Does DEFAULT_EMAIL_HOST have an effect on the mailman
>instance when I am not using (e.g. Postfix) virtual hosts?
Yes.
>Does it have
>an effect _when_ I'm using virtual domains?
Yes.
>And if yes, which?
See below.
>Or should
>it always be set to a sensible value?
Yes.
>Does it influence to which
>hostname the "aliases" file belongs? And if yes, does that make sense?
What do you mean by 'to which hostname the "aliases" file belongs?'. I
don't think the "aliases" file "belongs" to any host. Please clarify?
>I ask because when I change the value of DEFAULT_EMAIL_HOST, nothing
>happens except of some address changes on the web interface. Sending
>mails to the lists works without any problems.
DEFAULT_EMAIL_HOST affects the value assigned to the list's host_name
attribute at list creation time depending on exactly how and with what
options the list is created.
The list's host_name in turn is used as the domain part of every list
email address exposed by Mailman. It also determines in a Postfix
integration environment whether virtual mappings for list addresses
are created in data/virtual-mailman depending on whether or not the
lists host_name matches an entry in POSTFIX_STYLE_VIRTUAL_DOMAINS.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list