FAQ
Hi All,





We are trying to configure a setup that would set the list server
addresses to be a different hostname than the URL host and admin pages
use.



For example if we had a machine named foo.interest.com with a DNS alias
for fooalias.interest.com , we want our admin pages look to like this.



http://foo.interest.com/mailman/listinfo/mailinglist



But we want users to send email to:



mailinglist at fooalias.interest.com
<mailto:mailinglist at newfoo.interest.com>





Does anyone know how to do this?





I tried to configure mm_cfg.py like the following:



DEFAULT_EMAIL_HOST = 'fooalias.interest.com'

DEFAULT_URL_HOST = 'foo.interest.com'



And it is mostly working. However the machine is still accepting mail
from people who send to:



mailinglist at foo.interest.com and we want it to only accept mail sent to
mailinglist at fooalias.interest.com





Does anyone have an idea how to make this happen?



Thanks a bunch



John

Search Discussions

  • Mark Sapiro at Jan 27, 2010 at 1:21 am

    Pennington, John wrote:
    I tried to configure mm_cfg.py like the following:



    DEFAULT_EMAIL_HOST = 'fooalias.interest.com'

    DEFAULT_URL_HOST = 'foo.interest.com'

    That's the way to do it. Plus adding

    VIRTUAL_HOSTS.clear()
    add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

    following the above two lines and maybe running fix_url to update lists
    that were created before the change. See the FAQ at
    <http://wiki.list.org/x/gIA9>.

    And it is mostly working. However the machine is still accepting mail
    from people who send to:



    mailinglist at foo.interest.com and we want it to only accept mail sent to
    mailinglist at fooalias.interest.com





    Does anyone have an idea how to make this happen?

    This has to be done in your MTA configuration and how to do it depends
    on your MTA. The issue is any mail sent to foo.interest.com is
    delivered to the same machine as mail to fooalias.interest.com and the
    MTA finds the alias or whatever for the list and delivers the mail.

    Depending on the MTA and how it delivers to Mailman this may be tricky
    to resolve. Even if fooalias.interest.com is a virtual domain in the
    MTA, the normal way of handling this for Mailman is to have a virtual
    mapping from mailinglist at fooalias.interest.com to the local name
    mailinglist so this makes mailinglist a valid local name so if
    foo.interest.com is the local domain, mailinglist at foo.interest.com is
    also a valid address for the list.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJan 26, '10 at 8:37p
activeJan 27, '10 at 1:21a
posts2
users2
websitelist.org

2 users in discussion

Pennington, John: 1 post Mark Sapiro: 1 post

People

Translate

site design / logo © 2022 Grokbase