SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
SMTP Authentication Problem
Goto page 1, 2  Next
 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
SMTP Authentication Problem
Author Message
dave



Joined: 16 Jun 2003
Posts: 41

Post SMTP Authentication Problem Reply with quote

I am trying to use SMTP MailSend but get an error saying the Mailserver does not like the sender name. I have the SMTP sender set in the options page and in the MailSend statement. A network trace is shown below because it appears that 24x7 does not respond to the authorization request from the SMTP server. Instead it replies with a Quit command. Any help is appreciated.

SMTP Response: 220 out002.my_smtp_server.net ESMTP server (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) ready Mon, 16 Jun 2003 12:15:08 -0500
SMTP Command: HELO outgoing.my_smtp_server.net
SMTP Response: 250 out002.my_smtp_server.net
SMTP Command: MAIL From:my_valid_address@my_smtp_server.net
SMTP Response: 553 Authentication is required to send mail as my_valid_address@my_smtp_server.net
SMTP Command: QUIT
SMTP Response: 221 out002.my_smtp_server.net ESMTP server closing connection

(Note that in the actual trace the email address is enclosed in gt/lt symbols. Without removing them the address did not display when previewing this post.)

Mon Jun 16, 2003 2:28 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Re: SMTP Authentication Problem Reply with quote

In the Tools/Options menu; General Settings set default email account. This should fix the problem.

: I am trying to use SMTP MailSend but get an error saying the Mailserver does
: not like the sender name. I have the SMTP sender set in the options page
: and in the MailSend statement. A network trace is shown below because it
: appears that 24x7 does not respond to the authorization request from the
: SMTP server. Instead it replies with a Quit command. Any help is
: appreciated.

: SMTP Response: 220 out002.my_smtp_server.net ESMTP server (InterMail
: vM.5.01.05.33 201-253-122-126-133-20030313) ready Mon, 16 Jun 2003
: 12:15:08 -0500
: SMTP Command: HELO outgoing.my_smtp_server.net
: SMTP Response: 250 out002.my_smtp_server.net
: SMTP Command: MAIL From:my_valid_address@my_smtp_server.net
: SMTP Response: 553 Authentication is required to send mail as
: my_valid_address@my_smtp_server.net
: SMTP Command: QUIT
: SMTP Response: 221 out002.my_smtp_server.net ESMTP server closing connection

: (Note that in the actual trace the email address is enclosed in gt/lt
: symbols. Without removing them the address did not display when previewing
: this post.)

Mon Jun 16, 2003 3:40 pm View user's profile Send private message
dave



Joined: 16 Jun 2003
Posts: 41

Post Re: SMTP Authentication Problem Reply with quote

: In the Tools/Options menu; General Settings set default email account. This
: should fix the problem.

Yes, it is set as follows and exhibits the reported problem:

Email Interface: SMTP
Message Encoding: MIME: Quoted-Printable
Message Content Type: text/plain
SMTP (email) server: outgoing.my_smtp_server.net
SMTP sender address: my_valid_address@my_smtp_server.net
SNPP (pager) server: -blank-


Mon Jun 16, 2003 3:48 pm View user's profile Send private message
dave



Joined: 16 Jun 2003
Posts: 41

Post Re: SMTP Authentication Problem Reply with quote

: Yes, it is set as follows and exhibits the reported problem: Email Interface:
: SMTP
: Message Encoding: MIME: Quoted-Printable
: Message Content Type: text/plain
: SMTP (email) server: outgoing.my_smtp_server.net
: SMTP sender address: my_valid_address@my_smtp_server.net
: SNPP (pager) server: -blank-

Just to be clear - from the start the settings have been as reported above and the SMTP validation does not work properly. Thanks in advance for your help.

Mon Jun 16, 2003 6:11 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Re: SMTP Authentication Problem Reply with quote

How do you usually send email. If you use Outlook or some other email client what settings you need to complete in order to be sucesfully authenticated by your email server?

: Just to be clear - from the start the settings have been as reported above
: and the SMTP validation does not work properly. Thanks in advance for your
: help.

Mon Jun 16, 2003 7:52 pm View user's profile Send private message
dave



Joined: 16 Jun 2003
Posts: 41

Post Re: SMTP Authentication Problem Reply with quote

: How do you usually send email. If you use Outlook or some other email client
: what settings you need to complete in order to be sucesfully authenticated
: by your email server?

Outlook Express, with the Outgoing Mail Server requires authentication option selected and within that "use same settings as my incoming mail server." Everything else is per OE's defaults. Server and account names are the same in OE and 24x7.


Tue Jun 17, 2003 10:24 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Re: SMTP Authentication Problem Reply with quote

Do you have to specify password for outgoing emails. If yes, did you enter that password into the job properties?

: Outlook Express, with the Outgoing Mail Server requires authentication option
: selected and within that "use same settings as my incoming mail
: server." Everything else is per OE's defaults. Server and account
: names are the same in OE and 24x7.

Tue Jun 17, 2003 11:43 am View user's profile Send private message
dave



Joined: 16 Jun 2003
Posts: 41

Post Re: SMTP Authentication Problem Reply with quote

: Do you have to specify password for outgoing emails. If yes, did you enter
: that password into the job properties?

A password is required. It is entered in the MailSend command within my script. Is there another place in job properties where I should enter it?

Tue Jun 17, 2003 11:53 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Re: SMTP Authentication Problem Reply with quote

No this is the only place.

Do regular email notification actions work or it is just the MailSend command that does not work?

As a workaround can you switch to using MAPI interface instead of SMTP?

: A password is required. It is entered in the MailSend command within my
: script. Is there another place in job properties where I should enter it?

Tue Jun 17, 2003 2:13 pm View user's profile Send private message
dave



Joined: 16 Jun 2003
Posts: 41

Post Re: SMTP Authentication Problem Reply with quote

: No this is the only place.

: Do regular email notification actions work or it is just the MailSend command
: that does not work?

: As a workaround can you switch to using MAPI interface instead of SMTP?

Just tried email notifications and got the same result. I could use MAPI but that server requires SSL connections. Is this supported in 24x7?

Did you have a look at the trace in my first post? It looks like 24x7 does not even try to authenticate, it just responds QUIT. Could I be missing a dll or something? I've traced Outlook Express authenticating to the same server and it looks quite different. By the way, the authentication method used is PLAIN.

Tue Jun 17, 2003 2:26 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Re: SMTP Authentication Problem Reply with quote

24x7 does not currently support SMTP over SSL. I guess this is the reason why the authentication fails.

Please use MAPI interface.

: Just tried email notifications and got the same result. I could use MAPI but
: that server requires SSL connections. Is this supported in 24x7?

: Did you have a look at the trace in my first post? It looks like 24x7 does
: not even try to authenticate, it just responds QUIT. Could I be missing a
: dll or something? I've traced Outlook Express authenticating to the same
: server and it looks quite different. By the way, the authentication method
: used is PLAIN.

Tue Jun 17, 2003 4:56 pm View user's profile Send private message
dave



Joined: 16 Jun 2003
Posts: 41

Post Re: SMTP Authentication Problem Reply with quote

: 24x7 does not currently support SMTP over SSL. I guess this is the reason why
: the authentication fails.

: Please use MAPI interface.

You mis-read my post. It is the MAPI server that requires SSL -- that's why I have not even tried to connect to it.

The SMTP server connection is clear text.

Tue Jun 17, 2003 6:11 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Re: SMTP Authentication Problem Reply with quote

I am totally confused now. What is SMTP server software make and version?

: You mis-read my post. It is the MAPI server that requires SSL -- that's why I
: have not even tried to connect to it.

: The SMTP server connection is clear text.

Wed Jun 18, 2003 12:31 pm View user's profile Send private message
dave



Joined: 16 Jun 2003
Posts: 41

Post Re: SMTP Authentication Problem Reply with quote

: I am totally confused now. What is SMTP server software make and version?

Please have a look at my first post in this thread. The trace shows the handshake between 24x7 and the SMTP server. The server is InterMail vM.5.01.05.33 201-253-122-126-133-20030313. The connection is cleartext and NOT SSL.

I mentioned MAPI only because you suggested it as a workaround, however because the MAPI server requires SSL connections it is not an alternative in this case with 24x7.

Using the same account information as configured in 24x7, Outlook Express authenticates with the SMTP server with no problems where 24x7 will not. I can post a trace of the OE handshake if it will help you.

Wed Jun 18, 2003 1:24 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Re: SMTP Authentication Problem Reply with quote

OK, here we are.

After 24x7 send "MAIL from" command it exptects to get response code 250 meaning that the command was accepted. If it does not that response something is wrong and it quits.
What you did NOT tell me is that in the job log and in the job trace you get "The mail server doesn't like the sender name, have you set your mail address correctly?" error message meaning that your SMTP server does not accept the specified email address.

That's it about SMTP.

Now about MAPI. As long as you can send email from Outlook you can use 24x7 to control Outlook and send emails. This is what MAPI for. You can use your MAPI enabled email client to send emails from other programs. From 24x7 point of view it does not matter how your email client is setup, whether it uses SSL or not. 24x7 "talks" to MAPI client, which in your case is MS Outlook and the client in turn "talks" to your email server. What client does for this "talking" is irrelevant from 24x7 point of view.

: Please have a look at my first post in this thread. The trace shows the
: handshake between 24x7 and the SMTP server. The server is InterMail
: vM.5.01.05.33 201-253-122-126-133-20030313. The connection is cleartext
: and NOT SSL.

: I mentioned MAPI only because you suggested it as a workaround, however
: because the MAPI server requires SSL connections it is not an alternative
: in this case with 24x7.

: Using the same account information as configured in 24x7, Outlook Express
: authenticates with the SMTP server with no problems where 24x7 will not. I
: can post a trace of the OE handshake if it will help you.

Thu Jun 19, 2003 9:29 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.