From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 14:02:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C358837B401 for ; Mon, 21 Apr 2003 14:02:31 -0700 (PDT) Received: from web20102.mail.yahoo.com (web20102.mail.yahoo.com [216.136.226.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 89B3343FAF for ; Mon, 21 Apr 2003 14:02:30 -0700 (PDT) (envelope-from parsissn@yahoo.com) Message-ID: <20030421210228.91039.qmail@web20102.mail.yahoo.com> Received: from [206.183.235.130] by web20102.mail.yahoo.com via HTTP; Mon, 21 Apr 2003 14:02:28 PDT Date: Mon, 21 Apr 2003 14:02:28 -0700 (PDT) From: Mark P To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: sendmail smart relay host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 21:02:32 -0000 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