[Mailman-Users] From address to virtual domain with Sendmail

Fran Boon flavour at partyvibe.com
Wed Aug 4 10:57:24 CEST 2004

I am using mailman-2.1.5 on RedHat Enterprise 3 (Sendmail-8.12)
I wish to configure mailman to use an alias for access: lists.dom.ain
(This is done so that I can move the service to another machine later, 
if I so wish)
I have set DEFAULT_URL_HOST & DEFAULT_EMAIL_HOST to lists.dom.ain & the 
Web interface & inbound mails all work fine.
However outgoing mails from the list appear as Sent by: 
list-bounces at host.dom.ain
Admin mails come From: list-owner at host.dom.ain
My guess is that this is more of a sendmail issue than a mailman issue, 
but it would be nice to know whether anyone has got this working.

To attempt to get Sendmail to change this I have added support for a 
genericstable in sendmail.mc:
FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl

I have re-expanded a new sendmail.cf & this shows the FEATURE ok.
I have set up entries in this file:
list-owner			list-owner at lists.dom.ain
list-bounces			list-bounces at lists.dom.ain
list-owner at host.dom.ain		list-owner at lists.dom.ain
list-bounces at host.dom.ain	list-bounces at lists.dom.ain

I have used makemap to create the hashed db.

Testing with sendmail -bt shows that the map is working:
 > /map generics list-owner at host.dom.ain
map_lookup: generics (list-owner at host.dom.ain) returns 
list-owner at lists.dom.ain (0)
 > /map generics list-owner
map_lookup: generics (list-owner) returns list-owner at lists.dom.ain (0)

However, mailman still sends out mails From: @host.dom.ain

What will mailman pass to the MTA? 'list-owner' or 
'list-owner at host.dom.ain'?

Any hints greatly appreciated!

Thanks a lot,

More information about the Mailman-Users mailing list