SUMMARY:Domain completion and sendmail with NFS mounted /var/mail mailboxes

From: Allen Patenaude (patenaua@oecss1.otis.utc.com)
Date: Thu Aug 01 1996 - 13:54:38 CDT


 
 My thanks to Andrew F Mitchell for pointing me in the right direction.
 
 It seems my sendmail is using Mether to send the mail from my clients to the
 mail server.
 It was using rule S=11 to write my From address. It read as follows:
 
Mether, P=[TCP], F=msDFMuCX, S=11, R=21, A=TCP $h
S11
R$*<@$+>$* $@$1<@$2>$3 already ok
R$=D $@$1<@$w> tack on my hostname
R$+ $@$1<@$k> tack on my mbox hostname
                               ^
                               |
On page 119 of the sendmail book it talks about $H the mail hub address.
So I changed the rule to read:
Mether, P=[TCP], F=msDFMuCX, S=11, R=21, A=TCP $h
S11
R$*<@$+>$* $@$1<@$2>$3 already ok
R$=D $@$1<@$w> tack on my hostname
R$+ $@$1<@$H> tack on my mbox hostname
                               ^
                               |
and bingo! my return address went from guest@oecss1 to guest@oecss1.otis.utc.com

I also add a DHoecss1.otis.utc.com line to the top of the file to define the H macro

Thanks again.

-----------------------------------------------------------------------------
Allen Patenaude
Otis Elevator
5 Farm Springs Rd
Farmington Ct 06032

Email Address: patenaua@oecss1.otis.utc.com (SUN)
               
               patenaua@eng1.otis.utc.com (Microsoft Mail)
               
               allenp@otis.com (MS Exchange)

Phone: (860)-676-6284
Fax: (860)-676-5525
-----------------------------------------------------------------------------

                                                                      
 



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:06 CDT