Hi ,
I am using monit version 5.5 on fedora 8. It sent alerts to my gmail successfully. I aimed it send alerts to my yahoo as well as gmail. But it could not .
Bellow I mentioned some details .
---------------------------------------------------------------------------------
UNAME Output:
---------------------------------------------------------------------------------
Linux SA 2.6.34.1 #64 SMP Mon Feb 27 16:24:03 EDT 2012 i686 i686 i386 GNU/Linux
---------------------------------------------------------------------------------
Yahoo smtp server configurations are :
---------------------------------------------------------------------------------
set mailserver
smtp.mail.yahoo.com port 587
username "myUser" password "myPass"
using tlsv1
set alert
address@hidden on { resource }
---------------------------------------------------------------------------------
Debug Output:
---------------------------------------------------------------------------------
Resource limit succeeded notification is sent to
address@hiddenSendmail error: 500 5.5.1 Invalid command
------------------------------------------------------
>> telnet
smtp.mail.yahoo.com 587
------------------------------------------------------
Trying 98.138.105.21...
Connected to
smtp.mail.yahoo.com.
Escape character is '^]'.
220
smtp.mail.yahoo.com ESMTP ready
ehlo this.is.len
250-smtp.mail.yahoo.com250-PIPELINING
250-SIZE 41697280
250-8 BITMIME
250 AUTH PLAIN LOGIN XYMCOOKIE
Connection closed by foreign host.
-------------------------------------------------------
>> telnet
smtp.googlemail.com 587
-------------------------------------------------------
Trying 173.194.66.16...
Connected to
smtp.googlemail.com.
Escape character is '^]'.
220
mx.google.com ESMTP s19sm22726510wik.11 - gsmtp
ehlo this.is.len
250-mx.google.com at your service, [95.82.38.214]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS250 ENHANCEDSTATUSCODES
quit
-------------------------------------------------------------------------
I tried an other port with following configurations.
-------------------------------------------------------------------------
set mailserver
smtp.mail.yahoo.com port 465
username "myUser" password "myPass"
using tlsv1
set alert
address@hidden on { resource }
-----------------------------------------------------------------------
I run it at debug mode and the outputs are:
-----------------------------------------------------------------------
Resource limit succeeded notification is sent to
address@hidden
Sendmail: error receiving data from the mailserver '
smtp.mail.yahoo.com' -- Resource temporarily unavailable
----------------------------------------------------
>> telnet
smtp.mail.yahoo.com 465
----------------------------------------------------
Trying 98.139.211.125...
Connected to
smtp.mail.yahoo.com.
Escape character is '^]'.
ehlo this.is.len
Connection closed by foreign host.
----------------------------------------------------
>> telnet
smtp.googlemail.com 465
----------------------------------------------------
Trying 173.194.66.16...
Connected to
smtp.googlemail.com.
Escape character is '^]'.
ehlo this.is.len
Connection closed by foreign host.