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: > > > >[email protected] and we want it to only accept mail sent to >[email protected] > > > > > >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 [email protected] to the local name mailinglist so this makes mailinglist a valid local name so if foo.interest.com is the local domain, [email protected] is also a valid address for the list. -- Mark Sapiro <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
