From owner-freebsd-questions Wed Apr 4 18:53: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nameserver.austclear.com.au (nameserver.austclear.com.au [192.83.119.132]) by hub.freebsd.org (Postfix) with ESMTP id 3E9FF37B443 for ; Wed, 4 Apr 2001 18:53:00 -0700 (PDT) (envelope-from ahl@austclear.com.au) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.70.1]) by nameserver.austclear.com.au (8.9.3/8.9.3) with ESMTP id LAA98519; Thu, 5 Apr 2001 11:52:59 +1000 (EST) Received: from tungsten (tungsten [192.168.70.1]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id LAA16869; Thu, 5 Apr 2001 11:52:58 +1000 (EST) Message-Id: <200104050152.LAA16869@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: "ScaryG" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Specifying an external SMTP server in Sendmail In-Reply-To: Message from "ScaryG" of "Wed, 04 Apr 2001 16:44:19 -0400." <015b01c0bd48$0572abb0$0f01a8c0@phantom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Apr 2001 11:52:58 +1000 From: Tony Landells Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG scaryg@sputnik.org said: > My problem is, I want sendmail to use smtp1.sympatico.ca as the > outgoing mail server. I can use sendmail ok but the IP's we are given > (which change daily) are listed in mail-abuse.org's DUL so many sites > (including the ISP I work for) won't accept any mail from that box. > I thought I would just change the entry in /etc/mail/sendmail.cf > # "Smart" relay host (may be null) DS smtp1.sympatico.ca > and kill -HUP sendmail's pid# > But then I get this error: > Apr 4 15:21:18 scaryg sendmail[392]: f34JLI000392: SYSERR(freymann): > MX list for smtp1.sympatico.ca points back to scaryg.shacknet.nu > uname -a FreeBSD scaryg.shacknet.nu 4.3-RC FreeBSD 4.3-RC #0: Sun Apr > 1 22:12:16 EDT 2001 freymann@freebsd.sputnik.org:/usr/obj/usr/src/ > sys/SCARY i386 > Sendmail version: 220 scaryg.shacknet.nu ESMTP Sendmail 8.11.3/8.11.3; > I'm not running named... just have in /etc/resolv.conf domain > scaryg.shacknet.nu nameserver 204.101.251.1 (which is sympatico's > DNS) > For now, I just use Netscape Email where I can set the SMTP servername > and everything is fine there... but from the command prompt (or other > email clients) I'm kinda lost. Well, what it looks like is happening is that Sendmail is going to DNS to find out how to send mail to smtp1.sympatico.ca, and one of the MX records (with the best priority) points to you. Having done some DNS digging this doesn't seem to gel, but that's what Sendmail is complaining about. What you want to do is tell Sendmail not to put that much effort into it, and just punt the stuff directly there by changing the smart host in sendmail.cf to DSsmtp:[smtp1.sympatico.ca] which kind of says that you've already made all the decisions and Sendmail just has to do the delivery... Of course, given that I can't see anything in DNS that's showing why you have this problem in the first place, I can't guarantee that this will fix it, but it is the correct way to do a "direct punt with no decision making". Good luck, Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message