FreeBSD 7 / Sendmail

Michael Hogsett michael.hogsett at sri.com
Wed Jun 18 21:51:15 UTC 2008


I am building a new mail server and have
started to configure sendmail.  The first
thing I was going to change was the SMART_HOST
in the mc file (in my case, /etc/mail/mx0.csl.sri.com.mc).

It appears to be ignoring the entry.

Here's the entry in the mc file :

mx0# grep mailgate mx0.csl.sri.com.mc
define(`SMART_HOST', `mailgate-internal.sri.com')
mx0#

Here's the test message :

mx0# mail mcgrude at gmail.com
Subject: test
test
.
EOT
mx0#

And here's the log lines for that message.

Jun 18 13:24:26 mx0 sendmail[19596]: m5IKOQMG019596: from=hogsett, size=42, 
class=0, nrcpts=1, msgid=<200806182024.m5IKOQMG019596 at mx0.csl.sri.com>, 
relay=root at localhost
Jun 18 13:24:26 mx0 sm-mta[19597]: m5IKOQhv019597: 
from=<hogsett at mx0.csl.sri.com>, size=369, class=0, nrcpts=1, 
msgid=<200806182024.m5IKOQMG019596 at mx0.csl.sri.com>, proto=ESMTP, 
daemon=Daemon0, relay=localhost [127.0.0.1]
Jun 18 13:24:26 mx0 sendmail[19596]: m5IKOQMG019596: to=mcgrude at gmail.com, 
ctladdr=hogsett (2011/2011), delay=00:00:00, xdelay=00:00:00, mailer=relay, 
pri=30042, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m5IKOQhv019597 
Message accepted for delivery)
Jun 18 13:24:27 mx0 sm-mta[19599]: m5IKOQhv019597: to=<mcgrude at gmail.com>, 
ctladdr=<hogsett at mx0.csl.sri.com> (2011/2011), delay=00:00:01, xdelay=00:00:01, 
mailer=esmtp, pri=30369, relay=gmail-smtp-in.l.google.com. [209.85.147.27], 
dsn=2.0.0, stat=Sent (OK 1213824138 j7si14591284wah.9)


That part that bothers me is :

"relay=gmail-smtp-in.l.google.com. [209.85.147.27],"


Why is it not accepting my SMART_HOST entry in the mc file?
It would in the past on my FreeBSD 4 boxes.

Thanks!

  - Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5207 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080618/9c26ccfb/smime.bin


More information about the freebsd-questions mailing list