Rolf E. Sonneveld schreef:
> Hi,
>
> running Mailman 2.1.9. I have tried to find the answer to this question 
> in the FAQs but didn't succeed. Please bear with me if this has been 
> asked before.
>
> As per the configure parameters --with-mailhost and --with-urlhost I 
> have in my Defaults.py the following definitions:
>
> DEFAULT_EMAIL_HOST = 'lists.domain.com'
> DEFAULT_URL_HOST = 'lists.domain.com'
>
> Mailman is running on a host with name 'hostname.domain.com'
>
> When I first tried to create a list, Mailman gave the following error 
> message:
>
> Error: Unknown virtual host: hostname.domain.com
>
> Then I added the line:
>
> add_virtualhost('hostname.domain.com','lists.domain.com')
>
> to the end of mm_cfg.py. Now that solved my problem of the list 
> creation. However, whenever a new list is created, the URL's in all list 
> related messsages contain http://hostname.domain.com and NOT 
> http://lists.domain.com
>
> How can I use the lists.domain.com to show up in the URL in messages 
> that go to subscribers, moderators etc.?
>   

I have solved my problem by adding lists.domain.com as a CNAME to 
host.domain.com in DNS. Then I was able to connect to 
http://lists.domain.com and new mailing lists were created with the 
proper settings. No need to use 'add_virtualhost'. Sorry to have 
bothered you; hopefully this mail helps someone in the future to solve 
his/her problems when he/she looks it up in the mail archives.

/rolf

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to