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

Richard Barrett r.barrett at openinfo.co.uk
Wed Aug 4 11:25:17 CEST 2004

Your problem is probably  not a Sendmail issue. You might find reading 
the following FAQ entry useful, particularly under the sub-heading 
"Existing versus new lists":


On 4 Aug 2004, at 09:57, Fran Boon wrote:

> 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
> GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')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,
> Fran.
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: 
> http://www.mail-archive.com/mailman-users%40python.org/

More information about the Mailman-Users mailing list