[Mailman-Users] Virtual sites

Jay Vaagen jay at abadata.com
Wed Sep 13 20:57:31 CEST 2006

Ok, so after reading all this it becomes clear to me that this is not going
to be an easy fix.. 

If I understand all this correctly, there's no current feature that will
allow mailman to send mail from the correct virtual domain's hostname, and
not localhost.. correct?

Let's say I have these mailing lists:

"norwegians" on the domain "norway.com" -
"visitors" on the domain "sweden.com" -
"tourist" on the domain "denmark.com" -

The hostname of the server running mailman is "mailserver.europe.com" - with

When someone posts to Norwegian at norway.com I would like emails sent from
that mailing list to originate from mail.norway.com ie., not
mailserver.europe.com or
When someone posts to visitors at sweden.com I would like emails sent from that
mailing list to originate from mail.sweden.com ie.

The mail alias for those 3 domains would be "mail".

Any way to do this?

How about passing the domain name for the list through to SMTPHOST when the
email is sent and adding MAIL as the host name to make the FQDN...seeing as
"MAIL" is a static naming scheme.....??

Maybe that's not even possible...sounds good in theory...

Thanks so much for your replies...


Jay Vaagen
Certified Technician
Abadata Computer Corporation, Inc.
jay at abadata.com
Phone: 989 883 3411
Fax: 989 883 9313

-----Original Message-----
From: mailman-users-bounces+jay=abadata.com at python.org
[mailto:mailman-users-bounces+jay=abadata.com at python.org] On Behalf Of Jim
Sent: Wednesday, September 13, 2006 1:54 PM
Cc: Mailman-Users at python.org
Subject: Re: [Mailman-Users] Virtual sites

Patrick Bogen wrote:
> On 9/13/06, Jay Vaagen <jay at abadata.com> wrote:
>> How can I set mailman to use the MX record instead of localhost (or one
>> static address) for sending mail?
> I've added FAQ 4.72
> <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.072.htp>
> as a simple answer for this.

The problem with this approach is that Mailman will still only use the
single specified mail server, rather than processing a list of
mailservers defined as MX records for a DNS domain.   It would be a nice
addition if Mailman allowed SMTPHOST to be set to either an explicit
host or a domain to be queried.  Sendmail accomplishes this in
mailertable by using these two formats:

  explict:  mx6.somedomain.com

  lookup:  [somedomain.com]

Using the lookup method causes Sendmail to query DNS for the current MX
host(s) and then traverse the list until it finds one available.

-Jim P.

Mailman-Users mailing list
Mailman-Users at python.org
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Security Policy:

More information about the Mailman-Users mailing list