EEM action mail : but the smtp server need AUTH LOGIN

event manager applet ciscoemailEEM
 event none
 action 1.0 mail
server x.x.x.x
to "xxxxx@xxx.com"
from "xxxxxx@xxx.com"
cc "xxxxxxxx@xxx.com"
subject "EEM email"
body "can you receive"

 

R1#event manager run ciscoemailEEM

R1#
*Jan 17 16:35:17.623: smtp_read 220 163.com Anti-spam GT for Coremail

System (16
3com[20090903])

*Jan 17 16:35:17.623: smtp_write HELO R1.R1

*Jan 17 16:35:17.635: smtp_read 250 OK

*Jan 17 16:35:17.635: smtp_write MAIL FROM:<xxxx@xxx.com>

*Jan 17 16:35:17.651: smtp_read 553 authentication is

required,smtp3,DdGowKCbCSH
Gy1JLABu3AA--.35568S2 1263717318

----------------------------------how to solve this ?

It seems the cisco IOS for "action mail " dont  insert the "AUTH LOGIN" which let you to type in your username/password .

It directly insert "MAIL FROM" after "HELO",but the email server I used need  authentication.

 

 

 

Comments


  • Copy fram command reference:

    Use the action mail command when an event occurs about which you want to send an e-mail message, such as informing an administrator about the event.

    In EEM 3.0 for Cisco IOS Release 12.4(22)T, the server-address argument includes an optional username and password along with the fully qualified domain name of the e-mail server to be used to forward the e-mail. The e-mail server name can be in any one of the following template formats:

    imageusername:password@host

    imageusername@host

    imagehost

     

    So with the release shown this should be possible

    jon

  • o~ thank you very much .

     

    I will try it with the new IOS.

     

Sign In or Register to comment.