[Mailman-Users] Settings for list addresses

Mark Sapiro mark at msapiro.net
Wed Oct 21 17:13:38 CEST 2009

Anne Anderson wrote:
>We are running Mailman 2.1.9 on Linux SLES 10.  The name of this server is
>mail.westmont.edu, so in mm_cfg.py we have these settings:
>DEFAULT_URL_PATTERN = 'http://%s/mailman/'
>DEFAULT_NNTP_HOST = 'mail.westmont.edu'
>DEFAULT_EMAIL_HOST = 'mail.westmont.edu'
>DEFAULT_URL_HOST = 'mail.westmont.edu'
>This works fine for URLs to the administrative or user websites, but we get
>problems when people try to use the address links displayed on the website
>(i.e. on the listinfo page), because they show as '
>listname at mail.westmont.edu'.
>Our email addresses have the form 'listname at westmont.edu'.  Up until
>recently, an address like 'listname at mail.westmont.edu' would also work,
>because the mail was being received by the mail.westmont.edu server and it
>recognized either format.
>But we now have our mail hosted at Google Apps.  Google has no problem
>delivering list mail as long as it doesn't have the "mail" in the address,
>but if a user tries to send a message by clicking on one of those links with
>"mail" in it, it gets bounced.
>So, I'm hoping there is a way to set up the list address links to show as '
>listname at westmont.edu' instead of 'listname at mail.westmont.edu', and still
>keep the 'http://mail.westmont.edu/mailman/whatever' URLs.
>Is there a way to do this?

There are two ways to do this.

You can just change the lists' host_name attribute to westmont.edu, or
you can fix mm_cfg.py by changing

DEFAULT_EMAIL_HOST = 'mail.westmont.edu'


DEFAULT_EMAIL_HOST = 'westmont.edu'

and then if you don't already have it following the

DEFAULT_EMAIL_HOST = 'westmont.edu'
DEFAULT_URL_HOST = 'mail.westmont.edu'



and then run

  bin/withlist -l -a -r fix_url

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