Email issues, relay failure

Bender, Chris chris_bender at cellularatsea.com
Sat Feb 25 15:27:15 UTC 2012


Hi Paul

 

I restarted postfix several times on system X. I even restarted the entire 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 between the two.

On telnet w IP it says unable to connect.

 

I know nothing about postfix either. It is weird that I can email from X though. 

I tried postfix status from MAN and postfix flush but that didn't reveal much.

 

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.

 

 

Thanks, 

 

any postfix/mail braniacs out there?  

 

Regards

 

 

From: Paul Macdonald [mailto:paul at ifdnrg.com] 
Sent: Saturday, February 25, 2012 9:47 AM
To: Bender, Chris
Subject: Re: Email issues, relay failure

 


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: 

Hi Paul 

Interesting I hadn't thought if that. 

 

Telnetting to port 25 has no results whatsoever. Does it matter that machine 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

 

 

thanks

From: Paul Macdonald [mailto:paul at ifdnrg.com] 
Sent: Saturday, February 25, 2012 9:12 AM
To: Bender, Chris
Cc: freebsd-questions at freebsd.org
Subject: Re: Email issues, relay failure

 

On 25/02/2012 13:41, Bender, Chris wrote: 

Hi Paul,

 

What is happening is mail is coming from machine A--à sent to a middle machine X which I think is acting as a delivery machine(as I see postfix 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.

 

Feb 25 13:04:17 ccl_imagpsm sendmail[25091]: q1OFs7e0007106: to=<chris.bender at cell.com> <mailto:chris.bender at cell.com> , ctladdr=<build at ccl_imagpsm.wms.cell.com> <mailto:build at ccl_imagpsm.wms.cell.com>  (500/500), delay=21:10:07, xdelay=00:00:00, mailer=relay, pri=4080533, 

relay=tools2.wms.cell.com., dsn=4.0.0, stat=Deferred: Connection timed out with tools2.wms.cell.com.

 

I did a tcp dump on system X and I did see packets coming in and out from X on port 25 but nothing came in on the maillog.

 


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.







 

From: Paul Macdonald [mailto:paul at ifdnrg.com] 
Sent: Saturday, February 25, 2012 5:42 AM
To: Bender, Chris
Cc: freebsd-questions at freebsd.org
Subject: Re: Email issues, relay failure

 

On 24/02/2012 21:52, Bender, Chris wrote: 

Hi, I am responsible for a system I know little about.
 
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 machine of the form

(I've replaced actual names with CAPS)

Feb 25 10:37:32 SERVER1 sm-mta[74139]: q1OIevSE033413-MSGID: to=<info at DOMAIN.com> <mailto:info at DOMAIN.com> , delay=15:56:34, xdelay=00:01:15, mailer=esmtp, pri=2919788, relay=SOME.RELAY. [X.X.86.167], dsn=4.0.0, stat=Deferred: 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 at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" <mailto:freebsd-questions-unsubscribe at freebsd.org>  

 







-- 
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07970339546   <<PLEASE NOTE NEW MOBILE<<
e: paul at ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-------------------------
 






-- 
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07970339546   <<PLEASE NOTE NEW MOBILE<<
e: paul at ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-------------------------
 


More information about the freebsd-questions mailing list