"Host name this list prefers"

Hi,
How do I get the field labelled "Host name this list prefers" on the
admin page "mailing list administration
General Options Section" to correctly handle a sub-domain (aka three
part machine name, e.g. foo.domain.com) so that mail sent from
adminstrative aliases comes from
listname-admin@foo.domain.dom instead of listname-admin@domain.dom ?
right now, if I use a subdomain/3 part machine name for an existing virtual host (which is listed in all the appropriate files to give the virtual host full permissions in sendmail.cf) it defaults to the domain of the server's real domain.
i.e. if I enter 'foo.virtdoman.dom' in the "host name this list prefers" the emails incorrectly come 'From:' listname-admin@realdomain.dom.
Yet if I use only 'virtdomain.dom' in the "host name this list prefers" then the emails do come from 'listname-admin@virtdomain.dom' as I would expect.
Is there a config I've missed to allow the from address to use a sub-domain/3 part machine name in the "From:" field? Is it a bug? Is it a feature?
Is there a particular item in a .py file I could edit to allow this?
tia, ~steven

steven <hostmaster@shults.org> heeft geschreven:
Hi,
How do I get the field labelled "Host name this list prefers" on the admin page "mailing list administration General Options Section" to correctly handle a sub-domain (aka three part machine name, e.g. foo.domain.com) so that mail sent from adminstrative aliases comes from listname-admin@foo.domain.dom instead of listname-admin@domain.dom ?
Hi,
I have the same question asked at the dev list ( a few days ago). Here with Mailman 2,1b2 same problem.
Danny,

On Saturday 01 June 2002 10:28 pm, Danny Terweij wrote:
steven <hostmaster@shults.org> heeft geschreven:
Hi,
How do I get the field labelled "Host name this list prefers" on the admin page "mailing list administration General Options Section" to correctly handle a sub-domain (aka three part machine name, e.g. foo.domain.com) so that mail sent from adminstrative aliases comes from listname-admin@foo.domain.dom instead of listname-admin@domain.dom ?
Hi,
I have the same question asked at the dev list ( a few days ago). Here with Mailman 2,1b2 same problem.
Danny,
Alas, Mailman simply users the listname here and chops off any included domain name. If you want the Domain name included in the mailing properly, then you will have to use the "generics" tables for Sendmail - or move your MTA over to something that does virtual domains easier.
Postfix does Virtual domains quite easily. You might want to look at using that for your MTA instead of Sendmail (though I'm still a die-hard Sendmail fan!).
Jon Carnes

found the problem, it was me.
I had DM "(who I masquerade as (null for no masquerading) (see also $=M)" set in sendmail.cf, which was overriding FM (masq-domains.)
-----Original Message----- From: mailman-users-admin@python.org [mailto:mailman-users-admin@python.org] On Behalf Of Jon Carnes Sent: Saturday, June 01, 2002 9:30 PM To: Danny Terweij; steven; mailman-users@python.org Cc: mailman-developers@python.org Subject: Re: [Mailman-Users] "Host name this list prefers"
steven <hostmaster@shults.org> heeft geschreven:
Hi,
How do I get the field labelled "Host name this list
admin page "mailing list administration General Options Section" to correctly handle a sub-domain (aka three part machine name, e.g. foo.domain.com) so that mail sent from adminstrative aliases comes from listname-admin@foo.domain.dom instead of
On Saturday 01 June 2002 10:28 pm, Danny Terweij wrote: prefers" on the listname-admin@domain.dom ?
Hi,
I have the same question asked at the dev list ( a few days ago). Here with Mailman 2,1b2 same problem.
Danny,
Alas, Mailman simply users the listname here and chops off any included domain name. If you want the Domain name included in the mailing properly, then you will have to use the "generics" tables for Sendmail
- or move your MTA over to something that does virtual domains easier.
Postfix does Virtual domains quite easily. You might want to look at using that for your MTA instead of Sendmail (though I'm still a die-hard Sendmail fan!).
Jon Carnes
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py

From: "Jon Carnes" <jonc@nc.rr.com>
On Saturday 01 June 2002 10:28 pm, Danny Terweij wrote:
steven <hostmaster@shults.org> heeft geschreven:
listname-admin@foo.domain.dom instead of listname-admin@domain.dom ? I have the same question asked at the dev list ( a few days ago). Danny,
Alas, Mailman simply users the listname here and chops off any included domain name. If you want the Domain name included in the mailing properly, then you will have to use the "generics" tables for Sendmail - or move your MTA over to something that does virtual domains easier.
I do not know if you read my message at the de list, i am not using virtual hosts at my site.
I use this at my site : These are my mm_cfg settings:
DEFAULT_EMAIL_HOST = 'lnx.p-s.nl' DEFAULT_URL_HOST = 'www.p-s.nl' DEFAULT_URL_PATTERN = 'http://%s:81/mailman/' DEFAULT_HOST_NAME = DEFAULT_URL_HOST DEFAULT_URL = DEFAULT_URL_PATTERN % DEFAULT_URL_HOST VIRTUAL_HOST_OVERVIEW = 0
Look for the thread : [Mailman-Developers] Wrong domain choosed when creating a new list (mm2.1b2)
Danny.
participants (3)
-
Danny Terweij
-
Jon Carnes
-
steven