Monit support "AUTH PLAIN", whereas your mail server supports according to the EHLO output from previous email just the "AUTH LOGIN" (which is different mechanism). You need to either enable the AUTH PLAIN on the mail server or use different one, which supports it (for example Gmail).
Regards, Martin On Aug 29, 2012, at 8:36 PM, Jose Amoros <[email protected]> wrote: > Martin, > > I updated the timeout to 30 seconds and received a different error: > > Aug 29 09:07:14 bhubca monit[4061]: Sendmail error: 504 5.7.4 Unrecognized > authentication type > > Cheers > > > On 08/29/2012 02:30 PM, Martin Pala wrote: >> Hello, >> >> the error is sent if the mail server didn't response. The default timeout is >> 5 seconds - you can try to increase it using the "timeout" option: >> >> --8<-- >> >> username "krfsms" password "****" >> using tlsv1 >> timeout 30 seconds >> --8<-- >> >> If it won't help, please get the network trace. >> >> Regards, >> Martin >> >> >> >> On Aug 29, 2012, at 6:17 PM, Jose Amoros <[email protected]> wrote: >> >>> Greetings, >>> >>> I am trying to complete my monit setup by sending emails through our >>> external server. Below is what I have in monitrc: >>> >>> >>> 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 >>> 250-SIZE 26624000 >>> 250-PIPELINING >>> 250-DSN >>> 250-ENHANCEDSTATUSCODES >>> 250-AUTH LOGIN >>> 250-8BITMIME >>> 250-BINARYMIME >>> 250 CHUNKING >>> mail from: <[email protected]> >>> 250 2.1.0 Sender OK >>> rcpt to: <[email protected]> >>> 250 2.1.5 Recipient OK >>> data >>> 354 Start mail input; end with <CRLF>.<CRLF> >>> from: [email protected] >>> to: [email protected] >>> subject: Testing BHUBCA >>> Test >>> >>> -- >>> Any help would be greatly appreciated! >>> -- >>> To unsubscribe: >>> https://lists.nongnu.org/mailman/listinfo/monit-general >> >> >> >> -- >> To unsubscribe: >> https://lists.nongnu.org/mailman/listinfo/monit-general > > -- > Any tax advice given in this email is an informal opinion based on the > information contained in this email. As such, the advice is not intended or > written to be used for the purpose of avoiding tax penalties and it cannot be > used for that purpose. We are available to prepare a more formal, written > tax opinion at your request. > > Jose Amoros > > Kaufman Rossin Fund Services, LLC > 2699 South Bayshore Drive | 9th Floor | Miami | FL | 33133 > [email protected] | www.krfs.com > 305.857.6121 Direct | 305.857.6842. Main | 786.470.2364 Fax > > This communication was sent from Kaufman Rossin Fund Services, LLC and > contains information that may be confidential or privileged. The information > is solely intended for the use of the addressee. If you are not the intended > recipient, be advised that any disclosure, copy, distribution, or use of the > contents of this communication is prohibited. If you have received this > communication in error, please immediately notify the sender by telephone or > by electronic mail. > > This message and related attachments are intended to be an informal means of > communication and should not be relied upon, other than for discussion > purposes, unless accompanied by a report or letter executed by authorized > representatives of the company. > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
