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

2004-08-10 Thread Fran Boon
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: 
  [EMAIL PROTECTED]
 Admin mails come From: [EMAIL PROTECTED]
 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.

-CUT-
I managed to get some excellent support from the sendmail-questions list.
The answer was that the lists.dom.ain was set as a CNAME.
Switching this to an 'A' record has enabled the rewriting to work as 
expected :)

Hope this is useful for the archives...
Fran.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


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

2004-08-04 Thread Fran Boon
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: 
[EMAIL PROTECTED]
Admin mails come From: [EMAIL PROTECTED]
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  [EMAIL PROTECTED]
list-bounces[EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]
I have used makemap to create the hashed db.
Testing with sendmail -bt shows that the map is working:
 /map generics [EMAIL PROTECTED]
map_lookup: generics ([EMAIL PROTECTED]) returns 
[EMAIL PROTECTED] (0)
 /map generics list-owner
map_lookup: generics (list-owner) returns [EMAIL PROTECTED] (0)

However, mailman still sends out mails From: @host.dom.ain
What will mailman pass to the MTA? 'list-owner' or 
'[EMAIL PROTECTED]'?

Any hints greatly appreciated!
Thanks a lot,
Fran.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


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

2004-08-04 Thread Fran Boon
Richard Barrett wrote:
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:
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.029.htp
Thanks for the reply Richard, but unfortunately it's not that simple :/
Have tried re-running the fix_url utility, but to no avail...
F
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/