[Mailman-Users] List on a different domain name?
Mark Sapiro
mark at msapiro.net
Sat Jan 8 03:48:06 CET 2011
Chris Arnold wrote:
[...]
>Here is the mm_cfg.py config:
>##################################################
># Put YOUR site-specific settings below this line.
>DEFAULT_URL_PATTERN = 'http://%s/mailman/'
>DEFAULT_NNTP_HOST = 'FQDN'
>DEFAULT_EMAIL_HOST = 'mail.domain.com'
>DEFAULT_URL_HOST = 'web.domain.com'
>MTA = 'Postfix'
>POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
>POSTFIX_MAP_CMD = '/usr/sbin/postmap'
>DELIVERY_MODULE = 'SMTPDirect'
>SMTPHOST = 'localhost'
>SMTPPORT = '25'
>add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>#IMAGE_LOGOS = '/mailmanicons/'
>add_virtualhost('web.domain.com', 'mail.domain.com')
This duplicates the preceding add_virtualhost() because the literal
domain names are the same as the values of DEFAULT_URL_HOST and
DEFAULT_EMAIL_HOST.
>POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain.com']
If some lists are in the 'lists.domain.com' domain, there should be
add_virtualhost('someotherweb.domain.com', 'lists.domain.com')
If all lists are in the 'lists.domain.com' domain, you should have
DEFAULT_EMAIL_HOST = 'lists.domain.com'
DEFAULT_URL_HOST = 'web.domain.com'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>>See the FAQ at http://wiki.list.org/x/gIA9 for more, particularly the
>>part about fix_url.
>I do not see anything about fix_url anywhere on that link
Its in the section "Existing versus new lists". It's also in other FAQs
such as <http://wiki.list.org/x/mIA9>.
>I can not get to http://domain.com/mailman/admin.
Is there a Mailman ScriptAlias that applies to the 'domain.com' domain?
Can you get to http://web.domain.com/mailman/admin ?
>Mailmanctl restart gives me bash: command not found.
what about
/usr/lib/mailman/bin/mailmanctl restart
or maybe
service mailman restart
if you have an init.d script?
--
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