Turns out the problem was with sendmail on the clients, which is a
different version that that on the server (Sun's rather than SMI's).
Evidently Sun's version returns the canonical name via NIS rather than
DNS. The solution is either to replace the Sun version with the latest
from www.sendmail.org, or (as per O'Reilly's Sendmail) to circumvent the
problem by explicitly defining $j in sendmail.cf, e.g.:
where you have already defined $m to be your domain name.
When sending mail from Solaris 2.5.1 nodes that use another Solaris
2.5.1 node that acts as the relay host, the from: address on the mail
from the relay is noted as firstname.lastname@example.org rather than
user@maildomain. Mail sent directly from the relay host does not
exhibit this behavior.
In the relay host's /etc/mail/sendmail.cf file Lm is defined as
maildomain, which is correctly defined in /etc/mail/sendmailvars (and
nsswitch.conf points to this file).
It looks like it may be possible to strip out the host by changing the
R$+<@$+>$* $@$1<@$2.$m>$3 tack on our domain
R$+<@$+>$* $@$1<@$m>$3 tack on our domain
Is this correct? And how can I make sure it is using the maildomain
name rather than the NIS domain name?
Thanks for any assistance.
-- Gary D. Staley Logica Senior System Support Engineer Five PPG Place MailTo:email@example.com Pittsburgh, PA 15222
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:25 CDT