From owner-freebsd-questions@FreeBSD.ORG Sat Feb 25 15:27:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2401106566B for ; Sat, 25 Feb 2012 15:27:14 +0000 (UTC) (envelope-from chris_bender@cellularatsea.com) Received: from wireless.icgws.com (wireless.icgws.com [198.211.94.23]) by mx1.freebsd.org (Postfix) with ESMTP id 9047B8FC1D for ; Sat, 25 Feb 2012 15:27:14 +0000 (UTC) Received: by wireless.icgws.com (Postfix, from userid 1003) id BF662180D8F; Sat, 25 Feb 2012 10:25:49 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on wireless.icgws.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.5 tests=ALL_TRUSTED,BAYES_00, HTML_MESSAGE autolearn=unavailable version=3.3.1 Received: from wmstp.corp.cellularatsea.com (unknown [10.200.250.42]) by wireless.icgws.com (Postfix) with SMTP id 47E06180CCE; Sat, 25 Feb 2012 10:25:44 -0500 (EST) Received: from wmstp.corp.wms.cellularatsea.com (localhost [127.0.0.1]) by wmstp.corp.cellularatsea.com (Postfix) with SMTP id 9E18DB1885D; Sat, 25 Feb 2012 10:26:40 -0500 (EST) Received: from wmsexg01.corp.cellularatsea.com ([10.200.104.15] helo=wmsexg01.corp.cellularatsea.com) by wmstp.corp.wms.cellularatsea.com with SMTP (ASSP 1.9.1.1); 25 Feb 2012 10:26:40 -0500 X-Ninja-PIM: Scanned by Ninja X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-class: urn:content-classes:message x-vipre-scanned: 057F22A9002D45057F23F6 Date: Sat, 25 Feb 2012 10:26:38 -0500 Message-ID: In-Reply-To: <4F48F45F.4080304@ifdnrg.com> Thread-Topic: Email issues, relay failure Thread-Index: AczzzFpZ0D3y2jYgTzmFYHMNP7hN7AABP4Yg References: <863259E16B6C464DAD1E9DD10BB31154059CFBAE@wmsexg01.corp.cellularatsea.com> <4F48BAF6.9070204@ifdnrg.com> <863259E16B6C464DAD1E9DD10BB31154059CFBE7@wmsexg01.corp.cellularatsea.com> <4F48EC21.7040805@ifdnrg.com> <863259E16B6C464DAD1E9DD10BB31154059CFBEE@wmsexg01.corp.cellularatsea.com> <4F48F45F.4080304@ifdnrg.com> From: "Bender, Chris" To: "Paul Macdonald" X-Assp-Whitelisted: Yes () X-Assp-Envelope-From: chris_bender@cellularatsea.com X-Assp-Intended-For: paul@ifdnrg.com X-Assp-Passing: 10.200.104.15 in acceptAllMail X-Assp-ID: wmstp.corp.wms.cellularatsea.com (33018-48106) X-Assp-Version: 1.9.1.1(1.0.00) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: RE: Email issues, relay failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2012 15:27:15 -0000 Hi Paul =20 I restarted postfix several times on system X. I even restarted the enti= re system. The DNS isn't an issue I tried the IP address. I was wondering if there= was certificate or Some password issue, is that possible? Something isn't connecting betwee= n the two. On telnet w IP it says unable to connect. =20 I know nothing about postfix either. It is weird that I can email from= X though.=20 I tried postfix status from MAN and postfix flush but that didn't reveal= much. =20 Its weird that the delivery on A says deferred connection timed out but= on tcpdump I see the port 25 Traffic seemingly working on system X. =20 =20 Thanks,=20 =20 any postfix/mail braniacs out there? =20 =20 Regards =20 =20 From: Paul Macdonald [mailto:paul@ifdnrg.com]=20 Sent: Saturday, February 25, 2012 9:47 AM To: Bender, Chris Subject: Re: Email issues, relay failure =20 i just tried a dns lookup on tools2.wms.cell.com and got nothing so it= looks like you're dns entries are on a local network. If you try telnettting to the IP of X on port 25, you can rule out a DNS= issue. Paul. On 25/02/2012 14:35, Bender, Chris wrote:=20 Hi Paul=20 Interesting I hadn't thought if that.=20 =20 Telnetting to port 25 has no results whatsoever. Does it matter that mac= hine X doesn't support telnet though. It only allows SSH. telnet: connect to address 0.0.4.41: Connection refused telnet: Unable to connect to remote host: Connection refused =20 =20 thanks From: Paul Macdonald [mailto:paul@ifdnrg.com]=20 Sent: Saturday, February 25, 2012 9:12 AM To: Bender, Chris Cc: freebsd-questions@freebsd.org Subject: Re: Email issues, relay failure =20 On 25/02/2012 13:41, Bender, Chris wrote:=20 Hi Paul, =20 What is happening is mail is coming from machine A--=E0 sent to a middle= machine X which I think is acting as a delivery machine(as I see postfi= x as a processes) which iisn't the recipient of the mail just Deliverer. It is also a jails machine. Anyway the logs on system A say= the following when sending a mail to me through X. =20 Feb 25 13:04:17 ccl_imagpsm sendmail[25091]: q1OFs7e0007106: to=3D , ctladdr=3D (500/500)= , delay=3D21:10:07, xdelay=3D00:00:00, mailer=3Drelay, pri=3D4080533,=20 relay=3Dtools2.wms.cell.com., dsn=3D4.0.0, stat=3DDeferred: Connection= timed out with tools2.wms.cell.com. =20 I did a tcp dump on system X and I did see packets coming in and out fro= m X on port 25 but nothing came in on the maillog. =20 Ok, i don't know Postfix so someone else might have to pick up here. It sounds like there might be a local mailer (submission queue) running= on X, but not SMTP. The message from A was that it couldn't connect to= X. (Deferred: Connection timed out with tools2.wms.cell.com) what do you get if you try telnetting from A to X telnet tools2.wms.cell.com 25 (if you get a connection, good, try following these instructions to send= a mail manually via telnet) http://www.yuki-onna.co.uk/email/smtp.html If not, have you tried restarting postfix on X? Paul. =20 From: Paul Macdonald [mailto:paul@ifdnrg.com]=20 Sent: Saturday, February 25, 2012 5:42 AM To: Bender, Chris Cc: freebsd-questions@freebsd.org Subject: Re: Email issues, relay failure =20 On 24/02/2012 21:52, Bender, Chris wrote:=20 Hi, I am responsible for a system I know little about. =20 Sendmail all of a sudden stopped working...the sendmial is supposed to send to another machine. Check /var/log/maillog on both boxes, you should see a log message on the origin machine and the onward machin= e of the form (I've replaced actual names with CAPS) Feb 25 10:37:32 SERVER1 sm-mta[74139]: q1OIevSE033413-MSGID: to=3D , delay=3D15:56:34, xdelay=3D00:01:= 15, mailer=3Desmtp, pri=3D2919788, relay=3DSOME.RELAY. [X.X.86.167], dsn= =3D4.0.0, stat=3DDeferred: Operation timed out with [SERVER] What does the Stat say on the first box, if its anything other than Sent= Ok, then it'll say why. ( deferred, refused etc). Check the logs on the 2nd server for the same message. Post extracts from both boxes if you need further help good luck Paul. _______________________________________________ freebsd-questions@freebs= d.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-que= stions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@f= reebsd.org" =20 =20 --=20 ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 <