summary: sendmail question

From: Shouben Zhou <zshouben_at_nianet.org>
Date: Thu Jan 16 2003 - 13:03:27 EST
Original post:

If I send email to a local user simply using the login name as an email
address, the received email header will display as
"To: user@node.domain" instead of "user@domain" or simply "user".

How can I avoid this? Is there anything can ba done on the sendmail.cf
file? My environment is Sun Solaris. This happens when I use mailtool
and when I use "pine" to send to a local user. It displays correctly
as "To: user@domain".

The solution:

If maintain sendmail.cf in m4 form, just add a

   MASQUERADE_AS(`domain')dnl

To your .mc file and rebuild the .cf.

Thanks to:

Peter Matzer <peter@ejs.is>
Jerry Kemp <sun@sun.twlight.net>
Jay Lessert <jayl@accelerant.net>

*----------------------------------------------*
*  Shouben Zhou                                *
*  National Institute of Aerospace (NIA)       *
*  144 Research Dr., Hampton, VA 23666         *
*  Phone: (757) 766-1809, Fax: (757) 766-1401  *
*  Email: zshouben@nianet.org                  *
*----------------------------------------------*
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jan 16 13:06:17 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:01 EST