Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Smtp email troubleshooting on ipo

Status
Not open for further replies.

Tinos

Technical User
Nov 5, 2014
710
BW
How can I check that IPO is sending SMTP email out when I want to troubleshoot why Iam not getting SMTP Alarms in my email? Assume IPO is generating alarms and SMTP and System Events are configured fine and that email credentials are correct.
 
I would use monitor, filter under the services tab for SMTP and the system tab for error. That should start to give you some indication of what might be happening. Typically what I have seen is that the mail server has not been setup to allow relaying from the IPO IP address, thus rejecting the email.

Denny
 
The following is the trace from monitor.

1883355mS SMTP: SMTPServer New Email...
1883357mS SMTP: SMTPServer woken up... Session f48aaecc Client 00000000 State 5 Q Size 24 current_message 00000000
1883357mS SMTP: SMTPServer snoozing...

Does this mean IPO is sending email?
Why am I not getting the email?
 
This is what a typical monitor output should look like:

302933mS SMTP: SMTPServer New Email...
302937mS SMTP: SMTPServer woken up... Session 00000000 Client 00000000 State 0 Q Size 1 current_message 00000000
302937mS SMTP: SMTPServer Initialise Session...
302937mS SMTP: Initialising communications to SMTP Server [IP Address = 192.168.111.214, port 25)
302937mS SMTP: EMail list is now 1 records long
302938mS SMTP: SMTPServer Connecting... Session f50d4bf0 Client f4dbd070 tls 0
302938mS SMTP: SMTPServer snoozing...
302940mS SMTP: Established communications with SMTP server
303045mS SMTP: SMTPServer Rx in Connecting State...
303045mS SMTP: Read response
303045mS SMTP: Received expected response of 220
303046mS SMTP: SMTPServer Connected...
303046mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 48 45 4c 4f 20 31 39 32 2e 31 36 38 2e 31 31 31 HELO 192.168.111
0010 2e 32 33 35 0d 0a .235..
303048mS SMTP: Processing response for connected state
303048mS SMTP: Read response
303048mS SMTP: Received expected response of 250
303049mS SMTP: SMTPServer woken up... Session f50d4bf0 Client f4dbd070 State 9 Q Size 1 current_message 00000000
303049mS SMTP: SMTPServer: Initiate msg send
303049mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 4d 41 49 4c 20 46 52 4f 4d 3a 3c 70 68 6f 6e 65 MAIL FROM:<phone
0010 73 77 69 74 63 68 40 73 63 6f 74 74 74 65 63 68 switch@cccccccc
0020 2e 63 6f 3e 0d 0a .co>..
303052mS SMTP: Processing response WAIT state
303052mS SMTP: Read response
303052mS SMTP: Received expected response of 250
303055mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 52 43 50 54 20 54 4f 3a 3c 64 6d 61 64 65 72 69 RCPT TO:<cccccc
0010 40 73 63 6f 74 74 74 65 63 68 2e 63 6f 3e 0d 0a @ccccccc.co>..
304019mS SMTP: Processing response WAIT state
304019mS SMTP: Read response
304019mS SMTP: Received expected response of 250
304024mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 44 41 54 41 0d 0a DATA..
304027mS SMTP: Processing response WAIT state
304027mS SMTP: Read response
304027mS SMTP: Received expected response of 354
304029mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 46 72 6f 6d 3a 20 70 68 6f 6e 65 73 77 69 74 63 From: phoneswitc
0010 68 40 73 63 6f 74 74 74 65 63 68 2e 63 6f 0d 0a h@cccccccc.co..
304029mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 54 6f 3a 20 64 6d 61 64 65 72 69 40 73 63 6f 74 To: cccccc@ccc
0010 74 74 65 63 68 2e 63 6f 0d 0a ccccc.co..
304030mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 53 75 62 6a 65 63 74 3a 20 3d 3f 55 54 46 2d 38 Subject: =?UTF-8
0010 3f 42 3f 55 32 4e 76 64 48 51 67 56 47 56 6a 61 ?B?U2NvdHQgVGVja
0020 43 42 4d 54 45 4d 36 49 44 45 35 4d 69 34 78 4e CBMTEM6IDE5Mi4xN
0030 6a 67 75 4d 54 45 78 4c 6a 49 7a 4e 53 41 74 49 jguMTExLjIzNSAtI
304030mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 58 2d 50 72 69 6f 72 69 74 79 3a 20 31 0d 0a 58 X-Priority: 1..X
0010 2d 4d 53 4d 61 69 6c 2d 50 72 69 6f 72 69 74 79 -MSMail-Priority
0020 3a 20 48 69 67 68 0d 0a 0d 0a : High....
304030mS SMTP: SMTPServer: Sending body size=72
304030mS SMTP: Sending packet 72 (1), buffers_in_use = 1
304030mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 54 68 65 20 70 68 6f 6e 65 20 74 79 70 65 20 42 The phone type B
0010 31 37 39 20 53 49 50 20 28 69 64 20 38 30 30 31 179 SIP (id 8001
0020 29 20 68 61 73 20 62 65 65 6e 20 70 6c 75 67 67 ) has been plugg
0030 65 64 20 69 6e 20 66 6f 72 20 65 78 74 65 6e 73 ed in for extens
304030mS SMTP: SMTPServer snoozing...
304229mS SMTP: SMTPServer woken up... Session f50d4bf0 Client f4dbd070 State 10 Q Size 1 current_message f4db36c8
304229mS SMTP: SMTPServer: send terminator
304229mS PACKET: ev=35259102 v=Sending data to 192.168.111.214 on port 25 p1=0 p2=0
0000 0d 0a 2e 0d 0a .....
304232mS SMTP: Processing response WAIT state
304232mS SMTP: Read response
304233mS SMTP: Received expected response of 250
304235mS SMTP: SMTPServer: Message accepted
304235mS SMTP: SMTPServer snoozing...

********** SysMonitor v9.0.4.0 build 965 [connected to 192.168.111.235 (Scott Tech LLC)] **********
309236mS SMTP: SMTPServer woken up... Session f50d4bf0 Client f4dbd070 State 10 Q Size 0 current_message 00000000
309236mS SMTP: SMTPServer Closing Connection...
309236mS SMTP: SMTPSender ~SMTPTCPSession... Session f50d4bf0 Client f4dbd070
309236mS SMTP: SMTPServer Connection Closed... Session f50d4bf0 Client 00000000
309236mS SMTP: SMTPServer snoozing...
 
Thank you for that detailed output.
If I get SMTPServer New Email, followed by SMTPServer woken up and then SMTPServer snoozing being the final output, what should I deduce from this?
It does not tell me if there is a problem with authentication or if it that IPO cant reach the SMTPServer.
 
You need a mailserver that allows you to do smtp relay.
For exchange search google to enable it.

Avaya_Red.gif

___________________________________________
It works! Now if only I could remember what I did...

Dain Bramaged (Avaya Search tool )
______________________________________
 
It means the IPOffice went looking for the SMTP server and couldn't get a response from it.
Many IT companies cannot set up a email account for the IP Office, regardless of what information you give them.
Use a gmail account with {companyname}avaya@gmail.com as per faq940-7729.

Must be release 9. Please check if this advice is right your release.

Dulce et decorum pro Avaya mori
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top