cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2249
Views
0
Helpful
13
Replies

LMS 4.0.1 SMTP Problem

tira li
Level 1
Level 1

Hi All,

       Here is the situation:

       I have set the LMS SMTP option and administrator email ID, then tried to send the email about inventory report for testing the lms notification. However, it can't work.

      Using the WireShark to check, i found the message as given below. It seems that SMTP server need to authenticate the lms server, but the lms hasn't the option for email authectication.

      how to do, plz for your advice. Thx in advance.

      SMTP.png QQ截图20121017103531.jpg

13 Replies 13

tira li
Level 1
Level 1

Can anybody help me to fix it?!

Unfortunately, LMS does not support a authenticated SMTP, we need unauthenticated one.

There is a old defect which still isn't fixed # CSCin30857.

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Hi,

LMS doesnt need authetication, if I see your wireshark image, you have not set email account for your LMS.

To set SMTP server and email account go to:

1. Admin>sytem>SMTP Default Server, insert your IP SMTP Server.

    when you klil apply, it will ok.

2. Admin>sytem>Sytem Preferences, insert your email of your domain (i.e LMS@yourdomain.com) and insert IP   

    SMTP Server. when you apply it will failed, because I think there is bug on LMS.

So, find file \CSCOpx\MDC\etc\regdaemon.xml and edit it. Insert your IP SMTP server (i.e SMTP server is 10.10.10.1)

Make sure configuration like I show below:

-

  SMTPServerName

  10.10.10.1

  1

-

 

 

 

-

  SMTPServerName

  10.10.10.1

  10.10.10.1

  System

  1

-

 

 

 

Now on Admin>sytem>System Preference, you can see there is an IP already set for your SMTP Server.

*backup first the regdaemon.xml before you edit it.

the message in your sniffer trace "host denies relay" let me assume that this is a e-mail server side problem; It looks like you mail server is rejecting the mail because it comes from an unknown host that tries to send an email to an outside mail recipient; I assume that you should configure your mail server to accept e-mails from your LMS server.

Hi Budi,

     The setting you offered has been set successfully, and then I also checked the regdaemon.xml file for the SMTP server name, it is right. Try it again, however it couldn't work.

     here are some picture info.

Check the following procedure from the LMS server and see it is successful :

http://technet.microsoft.com/en-us/library/aa995718(v=exchg.65).aspx

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

After you check the above process fom LMS server, share the NMSROOT/log/smtp.log as well.

Probably, it seems your regdaemon.xml is not correct as well. It has duplicate entries and hence may be an issue. Ideally there should be only one, where you have two lines for the same:

regdeamon.jpg

Please take a backup of existing regdaemon.xml and make a change of removin the extra entry. I have attached my local regdaemon.xml for refernce.

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Hi Vinod,

       Adopting your septs and finding the message as given below, then i removed the extra entry, tried to send mail. Of course, it can't work.

       无标题.png

Hi Tira,

Before you doing every SMTP configuration on LMS,  make sure your LMS server can access telnet SMTP server port 25.

If at this step you have failed, you must check if your LMS server has been trusted on SMTP Server.

I have same problem like you before, on my LMS 4.1.

Now I have solve it, by add IP SMTP on regdaemon.xml file.

Hi Budi,

      I have made sure that LMS server can access telnet SMTP server on port 25 and the regdaemon.xml file is fine. However, after telnet the SMTP server, the message is given below. I want to know that how to trust lms server by SMTP server, because the knowledge of server configuration is fresh to me.

     

Thanks and Regards,

There is same error while doing manual telnet whih we see in packet capture. Hence it seems to be a issue with the SMTP server, which needs involvement from your SMTP/exchange admin.

They probably need to make some chnages to Exchange/SMTP server, as your server doesn't seems to be accepting the email you have entered in ciscoworks LMS. Following is the error in smtp.log :

[ Wed Oct 17 10:20:08 CST 2012 ] INFO   [Util : sendMail]  : sendMail()  - Starts

[ Wed Oct 17 10:20:08 CST 2012 ] INFO   [Util : sendMail]  : SMTP Server:218.16.251.134

[ Wed Oct 17 10:20:08 CST 2012 ] INFO   [Util : sendMail]  : Date:Wed, 17 Oct 2012 10:20:08 +0800

[ Wed Oct 17 10:20:08 CST 2012 ] INFO   [Util : sendMail]  : From ID:

[ Wed Oct 17 10:20:08 CST 2012 ] INFO   [Util : sendMail]  : To ID:13751822835@139.com

[ Wed Oct 17 10:20:08 CST 2012 ] INFO   [Util : sendMail]  : Subject:Job Id:1107, Status:Successful, Application:Inventory -Detailed Device Report, Run Type:Once

[ Wed Oct 17 10:20:08 CST 2012 ] ERROR  [Util : sendMail]  : The Mail-To email IDs may not be correct. Please verify.

[ Wed Oct 17 10:20:08 CST 2012 ] ERROR  [Util : sendMail]  : Unknown error in connecting to the SMTP server [218.16.251.134]

[ Wed Oct 17 10:20:08 CST 2012 ] ERROR  [Util : sendMail]  : Exception:  You have entered an invalid mail address. (553 host denies relay (eyou mta))

[ Wed Oct 17 10:20:08 CST 2012 ] ERROR  [Util : sendMail]  : You have entered an invalid mail address. (553 host denies relay (eyou mta))

[ Mon Oct 22 16:31:01 CST 2012 ] INFO   [MailUtility : isMailServerWorking]  : The mail server [218.16.251.134] is responding

Please enter a valid email address on your LMS.

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Tira,

[ Wed Oct 17 10:10:08 CST 2012 ] INFO   [Util : sendMail]  : From ID:

I agree with Vinod, in your SMTP log there is blank information about the sender email.

Can you attach picture of your LMS Admin>sytem>Sytem Preferences?

Sory Tira I am not manage SMTP Server, so I dont know how to trusted any Host from SMTP Server.

Hi Budi,

     Here is the picture and the regdaemon.xml, they are all fine. Maybe have a try to let the customer relieve the restriction of the LMS server  for user authentication to verify this function.

    QQ截图20121025144535.jpg

Thanks and Regards,

Tira

Review Cisco Networking for a $25 gift card