Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 14:02:28 -0700 (PDT)
From:      Mark P <parsissn@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   sendmail smart relay host
Message-ID:  <20030421210228.91039.qmail@web20102.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I need help getting sendmail working. We have a
central mail gateway that I need to send all outbound
mail through. That server is mailgw.co.com
(172.16.1.3).

On the mail client (FBSD 4.8), I have
enable_sendmail="NO" and sendmail_submit_enable="YES"
in /etc/rc.conf. If I set DS (null) in
/etc/mail/submit.cf, mail is sent directly to the
remote mail host fine. If I set DS172.16.1.3 in
/etc/mail/submit.cf, I can't send mail at all.
Checking the /var/log/maillog I see:

Apr 21 16:37:58 box1 sendmail[774]: h3LKbsAs000774:
to=user@test.net, ctladdr=parsissn (1000/1000),
delay=00:00:04, xdelay=00:00:00, mailer=relay,
pri=30039, relay=172.16.1.3, dsn=5.1.2, stat=Host
unknown (Name server: 172.16.1.3: host not found)
Apr 21 16:37:58 box1 sendmail[774]: h3LKbsAs000774:
h3LKbsAt000774: DSN: Host unknown (Name server:
172.16.1.3: host not found)


In the bounced mail I see:


----- The following addresses had permanent fatal
errors -----
user@test.net
    (reason: 550 Host unknown)

   ----- Transcript of session follows -----
550 5.1.2 user@test.net... Host unknown (Name server:
172.16.1.3: host not
 found)


Can anyone see what I'm doing wrong? 172.16.1.3 has
both A and PTR records in DNS, so I wouldn't think
taht is it. I'm sure I've just got it config'd wrong.
Any suggestions?

Much thanks,
Mark

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030421210228.91039.qmail>