[Mailman-Users] Virtual Hosts
Mark Sapiro
mark at msapiro.net
Fri Jan 18 23:54:28 CET 2008
Chris Penn wrote:
>
> I have a mailserver at mail.mydomain.com. The mailman url path is
> mail.mydomain.com.
> I have virtual domain mail server setup running on a mysql backend.
> I have mailman setup and I am attempting to setup the mm_cfg.py
> I am having a little trouble with the way I am suppose to setup the "Put
> YOUR site-specific settings below this line" part. I know that I want
> something like this:
>
> ####################################
> DEFAULT_EMAIL_HOST = 'mail.mydomain.com'
> DEFAULT_URL_HOST = 'mail.mydomain.com'
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
> ####################################
>
> I think I want to replace the default_url_host and default_email_hosts.
> in the add_virtualhost(). I dont think it should be the default. When
> people mail the list is should be whateverlist at mydomain.com.
If people mail the lists at whateverlist at mydomain.com, and you have the
appropriate MX or A records so this works, what you want is
DEFAULT_EMAIL_HOST = 'mydomain.com'
DEFAULT_URL_HOST = 'mail.mydomain.com'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
--
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