View Single Post
  #13 (permalink)  
Old August 13th, 2008, 09:50
svenhaul svenhaul is offline
Junior Member
 
Join Date: Mar 2008
Location: Dortmund,Germany
Posts: 22
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 8
Thanked 4 Times in 4 Posts
Rep Power: 0
svenhaul is on a distinguished road
Re: How to debug SMTP communication?

Arun,
your property file settings are correct, given that you have entered a valid mail server name and a valid email address.

If it still does not work, I strongly suggest that you start debugging the mail server as such:

1. Can you reach the SMTP server at all?
Open a command window on your OTM server box. Type
telnet your.mailserver.name 25
The mail server should reply with something along the lines of
220 your.mailserver.name SMTP server
If you get no reply at all (connection refused), then you have a network issue, or your mailserver is not accepting SMTP connections at all. You have to fix that before OTM is possibly capable of sending mails.

2. Does OTM try to send mail?
For this step, if you can, please install wireshark on the OTM server box and filter for communication with the mailserver as target. Have a look at the wireshark manual, it is not complicated. There you can watch what OTM actually tries to do, as well as the response from the mail server.

Regards,
Sven
Reply With Quote
The Following User Says Thank You to svenhaul For This Useful Post:
arunk (August 18th, 2008)