Unable to send SMTP mail

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
MeikiL
Posts: 10
Joined: Sat Jan 24, 2009 4:04 pm

Unable to send SMTP mail

Post by MeikiL »

Dear All,
I'm installing AHM for evaluation - most features work from fine to excellent, however - I did not manage to send SMTP alerts.
Can one of you have a look at the protocol and tell me what I'm doing wrong.
Thank you,
Meiki
N.B. Server names and User/Pwd are xxxx out


[24.01.09 23:45:40] Connecting to xxxxxxxx (POP before SMTP) ...
[24.01.09 23:45:40] < +OK The Microsoft Exchange POP3 service is ready.
[24.01.09 23:45:40] > USER xxxxxxxx
[24.01.09 23:45:40] < +OK
[24.01.09 23:45:40] > PASS xxxxxxxx
[24.01.09 23:45:50] < +OK User successfully logged on.
[24.01.09 23:45:50] Open Done
[24.01.09 23:45:50] > QUIT
[24.01.09 23:45:50] < +OK Microsoft Exchange Server 2007 POP3 server signing off.
[24.01.09 23:45:50] Quit Done

[24.01.09 23:45:50] Connecting to xxxxxxxx (SMTP) ...
[24.01.09 23:45:50] < 220 xxxxxxxx Microsoft ESMTP MAIL Service ready at Sat, 24 Jan 2009 23:45:51 +0200
[24.01.09 23:45:50] > HELO xxxxxxxx
[24.01.09 23:45:50] < 250 xxxxxxxx Hello [10.106.64.58]
[24.01.09 23:45:50] Open Done
[24.01.09 23:45:50] > MAIL FROM:<HostMonitor>
[24.01.09 23:45:50] < 501 5.1.7 Invalid address
[24.01.09 23:45:50] Mail Error #501 (501 5.1.7 Invalid address)

[24.01.09 23:45:50] Trying to use backup SMTP server..

[24.01.09 23:45:50] Connecting to smtp.gmail.com (SMTP) ...
[24.01.09 23:45:50] < 220 mx.google.com ESMTP f31sm21081303fkf.35
[24.01.09 23:45:50] > HELO bprhm01 <==== This is the Computername of my AHM server
[24.01.09 23:45:51] < 250 mx.google.com at your service
[24.01.09 23:45:51] Open Done
[24.01.09 23:45:51] > MAIL FROM:<HostMonitor>
[24.01.09 23:45:51] < 530 5.7.0 Must issue a STARTTLS command first. f31sm21081303fkf.35
[24.01.09 23:45:51] Mail Error #530 (530 5.7.0 Must issue a STARTTLS command first. f31sm21081303fkf.35)
Error: Cannot send e-mail to xxxxxxxx. 530 5.7.0 Must issue a STARTTLS command first. f31sm21081303fkf.35
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

[24.01.09 23:45:50] > MAIL FROM:<HostMonitor>
[24.01.09 23:45:50] < 501 5.1.7 Invalid address
As you may see your mail server does not like this address (HostMonitor). I think your server expects some real address like "admin@xxxx.com". So you need to provide real e-mail address (probably within your domain) when setup action properties.
[24.01.09 23:45:51] < 530 5.7.0 Must issue a STARTTLS command first. f31sm21081303fkf.35
[24.01.09 23:45:51] Mail Error #530 (530 5.7.0 Must issue a STARTTLS command first. f31sm21081303fkf.35)
HostMonitor does not support TLS/SSL option yet.
We have test version of HostMonitor that supports TLS encryption for "Send e-mail" action however this version is not ready for download yet.

Regards
Alex
MeikiL
Posts: 10
Joined: Sat Jan 24, 2009 4:04 pm

Post by MeikiL »

Alex,
you are 120% right !
For our Exchange server I found it out myself in the meantime - but you guy shoot faster - had no time to post my findings when your reply was already posted.
However - smtp.google.com ist still unresolved - but not so important now.
Thank you very much
Meiki
Post Reply