Re: FreeBSD 7 / Sendmail

2008-06-18 Thread Jon Radel

Michael Hogsett wrote:

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.


...

Sendmail pays no attention to .mc files, so the important question is 
whether you created a .cf file from your .mc file post your change and 
then restarted sendmail?  Assuming mx0.cs1.sri.com is the hostname of 
the server you're building,


cd /etc/mail
make install
make restart

may well be all you need.

--Jon Radel


smime.p7s
Description: S/MIME Cryptographic Signature


Re: FreeBSD 7 / Sendmail

2008-06-18 Thread Michael Hogsett

Michael Hogsett wrote:

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.


I think I've worked through the problem.

 - Mike


smime.p7s
Description: S/MIME Cryptographic Signature


FreeBSD 7 / Sendmail

2008-06-18 Thread Michael Hogsett

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 [EMAIL PROTECTED]
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=<[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]
Jun 18 13:24:26 mx0 sm-mta[19597]: m5IKOQhv019597: 
from=<[EMAIL PROTECTED]>, size=369, class=0, nrcpts=1, 
msgid=<[EMAIL PROTECTED]>, proto=ESMTP, 
daemon=Daemon0, relay=localhost [127.0.0.1]
Jun 18 13:24:26 mx0 sendmail[19596]: m5IKOQMG019596: [EMAIL PROTECTED], 
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=<[EMAIL PROTECTED]>, 
ctladdr=<[EMAIL PROTECTED]> (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


smime.p7s
Description: S/MIME Cryptographic Signature