Date: Thu, 05 Apr 2001 11:52:58 +1000 From: Tony Landells <ahl@austclear.com.au> To: "ScaryG" <scaryg@sputnik.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Specifying an external SMTP server in Sendmail Message-ID: <200104050152.LAA16869@tungsten.austclear.com.au> In-Reply-To: Message from "ScaryG" <scaryg@sputnik.org> of "Wed, 04 Apr 2001 16:44:19 -0400." <015b01c0bd48$0572abb0$0f01a8c0@phantom>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ahl@austclear.com.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104050152.LAA16869>