Often, on new installations, there are issues with OTM sending out email notifications to implementers, carriers, etc. In order to help troubleshoot these, I usually test the email relay server manually via telnet in order to ensure it is working.
First, get the email server that OTM is configured to use from the glog.properties file on the OTM app server. Look for the following parameter:
Also get the user that the OTM server is configured to send mail as from the same file:
For this example, we'll send a test email to [email protected]. To test via telnet, run the following commands (marked in bold) from a DOS or Unix command prompt. Make sure to run these commands from the OTM App server, to test the connection as if OTM you were the OTM server.
If relaying is denied, you'll see the following error:
Alternately, if you don't receive the email at the destined email box, the issue is likely with your mail server or some intermediary mail server and you can begin troubleshooting from there.
Hope this helps!
--Chris
First, get the email server that OTM is configured to use from the glog.properties file on the OTM app server. Look for the following parameter:
Code:
glog.mail.smtp.host=smtp.company.com
Code:
[email protected]
Code:
[B]telnet smtp.company.com 25[/B] Connected to smtp.company.com. Escape character is '^]'. 220 smtp.company.com ESMTP Sendmail Switch-2.2.8/Switch-2.2.8; Thu, 7 Jun 2007 01:01:01 -0500 [B]HELO company.com[/B] 250 smtp.company.com Hello [otm.company.com], pleased to meet you [B]MAIL FROM: [email protected][/B] 250 2.1.0 [email protected]... Sender ok [B]RCPT TO: [email protected][/B] 250 2.1.5 [email protected]... Recipient ok [B]DATA[/B] 354 Enter mail, end with "." on a line by itself [B]Subject: Test email from OTM App server This is a test email from the OTM App server. Wheeeeeeeee! .[/B] 250 2.0.0 156K62L05857 Message accepted for delivery [B]QUIT[/B] 221 2.0.0 smtp.company.com closing connection Connection closed by foreign host.
Code:
[B]RCPT TO: [email protected] [/B]550 5.7.1 [email protected]... Relaying denied. IP name lookup failed [192.168.1.1]
Hope this helps!
--Chris
Comment