[Mailman-Users] External web access problems

Donny Brooks dbrooks at mdah.state.ms.us
Thu May 23 14:58:46 CEST 2013


I have setup mailman on my centos 6.3 server using yum. Everything was working with the exception of external web access due to the way our agency has to go through the state firewall. So in order to have the ability for people to subscribe/unsubscribe themselves I have set it up with a proxypass statement on our web server being that it already had http(s) access. Accessing the site works now on the inside and outside. However it is still trying to go to the mail servers URL which is only accessible via http inside our network. I got to looking at the mm_cfg.py file and noteiced I had the URLs backwards:

DEFAULT_URL_HOST   = 'mail.mdah.state.ms.us'
DEFAULT_EMAIL_HOST = 'mdah.state.ms.us'

so I changed them around and restarted the mailman service. Now when I go to create a new list on the web interface, internally or externally, I get the error: 

Error: Unknon virtual host: mail.mdah.state.ms.us.

I have to change it back to the original for it to work and then it only works internally. When any subscribe emails go out it won't work due to putting the mail.mdah.state.ms.us in the email instead of just mdah.state.ms.us. I have the web creation working now by adding the mail.mdah.state.ms.us explicitly under the existing add_virtualhost directive in the mm_cfg.py. However now when a new list is created and people are subscribed it still puts the mail.mdah.state.ms.us in the email so people on the outside still cannot click the link and it work. Where am I going wrong?

-- 

Donny B.


More information about the Mailman-Users mailing list