sendmail smart relay host

Jeremy Gaddis jeremy at gaddis.org
Mon Apr 21 14:30:50 PDT 2003


On Mon, 2003-04-21 at 16:02, Mark P wrote:
> 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:

I'd guess sendmail is trying to look up an A record
for 172.16.1.3.yourdomain.com.  Try giving it the
hostname for 172.16.1.3 (or make one up and put it
in /etc/hosts).

j.

-- 
Jeremy L. Gaddis   <jeremy at gaddis.org>   <http://www.gaddis.org>



More information about the freebsd-questions mailing list