[Mailman-Users] Puzzle Regarding Sender Header
mark at msapiro.net
Sat Jan 16 04:23:44 CET 2010
David Eisner wrote:
>The reverse DNS mapping for 127.0.0.2 points to intranet.foo.org.
>I've set the host_name for all the lists to be 'lists.foo.org'. I
>also set DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST to 'lists.foo.org'.
>I also ran fix_url for all the lists.
>Everything is working fine, except for one problem: the Sender: header
>in messages is 'listname-admin at intranet.foo.org' rather than the
>desired 'listname-admin at lists.foo.org'.
>I added this to mm_cfg.py, but it didn't help:
> DEFAULT_EMAIL_HOST = 'lists.foo.org'
> DEFAULT_URL_HOST = 'lists.foo.org'
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
And you ran fix_url after this?
>The weird thing is that if I use withlist, it tells me the list
>address is 'lists.foo.org' (I've obfuscated the hostname consistent
>with the rest of this message):
>$ withlist -l test
>Loading list test (locked)
>The variable `m' is the test MailList instance
>'test-admin at lists.foo.org'
>'test at lists.foo.org'
>I undid my patch as a sanity check, but it does what I'd expect: the
>Sender: header is now "test-bounces at intranet.foo.org" rather than
>"test-admin at intranet.foo.org", but not "test-bounces at lists.foo.org".
>Any ideas? Thanks.
Your MTA is rewriting the domain in the Sender: header. The FAQ at
<http://wiki.list.org/x/uYA9> might be relevant.
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