| | SysAdmin and Management Managing and monitoring OTM / G-Log and other administrative activities. |  | | 
July 3rd, 2008, 09:36
| | Junior Member | | Join Date: Mar 2008 Location: Dortmund,Germany
Posts: 20
Thanks: 7
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0 | | | How to debug SMTP communication? Hi folks,
I currently have trouble with sending email. An agent is performing the NotifyContact action with a method of EMAIL. From the log file, everything looks fine, the agent performs, another action after NotifyContact also runs, so it should be perfect.
Nothing reaches the SMPT server, though.
I can reach the SMTP server from the OTM machine (verified the telnet way), I changed to another SMTP server (via setting glog.mail.smtp.host in glog.properties). The info page in OTM shows that these correct properties are used.
The target address specified in the contact used in the agent is correct (checked a million times and even created a new contact just to be sure).
Simply, OTM does not send the mail, but from the log files, everything claims to be fine.
Is there any way to trace the SMTP sending part in OTM? I set glog.mail.debug=true in glog.properties, but I do not see a difference, i.e. the log files I find on the machine look exactly as before.
I did restart OTM each time a changed a property in glog.properties.
Any ideas?
Thanks a lot,
Sven | 
July 3rd, 2008, 10:26
| | Junior Member | | Join Date: Mar 2008 Location: Dortmund,Germany
Posts: 20
Thanks: 7
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0 | | | Re: How to debug SMTP communication? Update: I installed wireshark on the server machine and sniffed for any communication on port 25.
OTM does not even try to reach the SMTP server, although the agent log file says the action ran successfully.
Is there any place to simply test the mail function, comparable with the various "send interface transmission" menu choices?
Thanks,
Sven | 
July 3rd, 2008, 13:53
| | Senior Member and Blogger | | Join Date: Nov 2007 Location: Drexel Hill, PA
Posts: 215
Thanks: 0
Thanked 31 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1 | | | Re: How to debug SMTP communication? Well you can send a test email out via the QA servlet:
Open a Web browser to your OTM instance and tag the following to the end: /GC3/glog.webserver.processcontrol.ProcessServlet?userL evel=qa
You will see a bunch of options to the left, select the one that says email. Fill out the to, from and a subject and send the message.
Just so you know, this servlet is not supported by Oracle so you won't be able to get any documentation or information about it.
__________________ MavenWire Hosting Admin
The Oracle OTM / G-Log GC3 Experts Offering Incubator and Production OTM instances www.mavenwire.com | | The Following User Says Thank You to nick.polites For This Useful Post: | | 
July 4th, 2008, 09:12
| | Member | | Join Date: Mar 2007 Location: Italy
Posts: 30
Thanks: 4
Thanked 5 Times in 5 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0 | | | Re: How to debug SMTP communication? Hello svenhaul
a part techical reason related to configuration and SMTP server, that for sure could be a reason , I suggest to check, especially if U use an agent to permorm this action, if , in the moment that U send e-mail, information are STILL populated in OTM, because I had in the past a similar problem and I broke my brain looking for technincal stuff, but at the end , becuase I used NOTIFY INVOLVED PARTY action, I discovered that INVOLVED PARTIES CONTACT was'n populate when I use it, becauce was an another agent that populated these Involved party stuff.
Regards | | The Following User Says Thank You to Stefano For This Useful Post: | | 
August 12th, 2008, 10:43
| | Member | | Join Date: Nov 2007 Location: Chennai, India
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1 | | | Re: How to debug SMTP communication? Nick,
I have tried that servlet to send a test mail, since i have newly configured a exchange server in the glog.properties.
The thing is i couldn't find any email option listed in the menus.
Kindly advice....we are running on 5.5CU4. I have attached the screenshots of the menus.
Regds--
Arun | 
August 12th, 2008, 10:58
| | Junior Member | | Join Date: Mar 2008 Location: Dortmund,Germany
Posts: 20
Thanks: 7
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0 | | | Re: How to debug SMTP communication? Arun,
you probably forgot to append the user level parameter to the servlet URL. You get the full menu only with that parameter: /GC3/glog.webserver.processcontrol.ProcessServlet?userLevel=qa The menu choice is under "Notify / E-Mail" then.
Regards,
Sven | | The Following User Says Thank You to svenhaul For This Useful Post: | arunk (August 12th, 2008) | 
August 12th, 2008, 11:13
| | Member | | Join Date: Nov 2007 Location: Chennai, India
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1 | | | Re: How to debug SMTP communication? Sven,
Thanks...i had missed out the user level.
Is it necessary that i should mention the same from address in the test mail, which i had configured in the glog.workflow.notify.advisor.email in properties file.
Iam not successful with sending test mails.
Since i could see in the administration guide it says, the glog.workflow.notify.advisor.email is the parameter that defines the email address that email and fax notifications will appear to come from.
Regds--
Arun | 
August 12th, 2008, 11:17
| | Senior Member and Blogger | | Join Date: Nov 2007 Location: Drexel Hill, PA
Posts: 215
Thanks: 0
Thanked 31 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1 | | | Re: How to debug SMTP communication? No you can use any email address.
__________________ MavenWire Hosting Admin
The Oracle OTM / G-Log GC3 Experts Offering Incubator and Production OTM instances www.mavenwire.com | 
August 12th, 2008, 11:30
| | Junior Member | | Join Date: Mar 2008 Location: Dortmund,Germany
Posts: 20
Thanks: 7
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0 | | | Re: How to debug SMTP communication? Arun,
you should check if OTM tries to send the email now. Either check the logs of your Exchange server, or have a look at the network communication.
The latter helped me a lot. To do this, install wireshark ( www.wireshark.org) on your OTM machine and have it filter for SMTP communication. Then you can see what OTM tries to do.
A side note: The email address you use for trying should be valid on your exchange box. Many email servers allow only outgoing mail from known users. You might also need exchange configuration to allow your OTM box to send mail via SMTP. | 
August 12th, 2008, 11:53
| | Member | | Join Date: Nov 2007 Location: Chennai, India
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1 | | | Re: How to debug SMTP communication? Sven,
I had made changes to the glog.mail.smtp.host and glog.workflow.notify.advisor.email in the glog.properties file and let you know the results once the server restart is done.
Regds--
Arun |  | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | |