Greetings,
I am trying to complete my monit setup by sending emails through our
external server. Below is what I have in monitrc:
set mailserver 209.236.133.7 port 2525
username "krfsms" password "****"
using tlsv1
The error we get is:
Aug 29 07:43:11 bhubca monit[4061]: Sendmail: error receiving
data from the mailserver '209.236.133.7' -- Resource temporarily
unavailable
Aug 29 07:43:11 bhubca monit[4061]: Aborting event
I know that we are able to connect to the server and send email
because I have a script (
http://thinkinginsoftware.blogspot.com/2012/06/test-email-over-tls-with-pob-recipe.html)
that connects to the server and sends the email. Here is what I get
after running the script:
---
SSL handshake has read 2797 bytes and written 575 bytes
---
New, TLSv1/SSLv3, Cipher is RC4-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : RC4-SHA
Session-ID:
69060000FBF71F4E9781C059D6B3BF22538422559C765F98A69AEA19745CA22A
Session-ID-ctx:
Master-Key:
41B00776A654AB47C7673D4968A63504B958FDB71822699DE0F1A19209AD5200A52AA1ED3BF9D0969AB75D626064D833
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1346242425
Timeout : 300 (sec)
Verify return code: 20 (unable to get local issuer
certificate)
---
250 CHUNKING
ehlo
250-webmail.kaufmanrossin.com Hello [216.176.58.99]
250-SIZE 26624000
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
250-BINARYMIME
250 CHUNKING
auth login
334 VXNlcm5hbWU6
a3Jmc21z
334 UGFzc3dvcmQ6
a3Jmc0AyNTI1
235 2.7.0 Authentication successful
mail from: <address@hidden>
250 2.1.0 Sender OK
rcpt to: <address@hidden>
250 2.1.5 Recipient OK
data
354 Start mail input; end with <CRLF>.<CRLF>
from: address@hidden
to: address@hidden
subject: Testing BHUBCA
Test
--
Any help would be greatly appreciated!
--