monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Monit send email not working


From: sukbir singh
Subject: RE: Monit send email not working
Date: Thu, 17 May 2012 02:07:36 +0800

Dear Martin,
                 Yes I know about the coma option ready and been to the link given earlier. The problem I just dont get to pass the email from the mail server or for that any case any other email server except for gmail. What could be the problem? Any best solution to this? 

Regards,
Shai.


From: address@hidden
Subject: Re: Monit send email not working
Date: Wed, 16 May 2012 20:04:25 +0200
To: address@hidden

You can set more mail servers with the "set mailserver" statement by separating them with coma, see more details in the manual:

You can also set event queue - in the case that the delivery will fail, the alert will be retried later:

Regards,
Martin


On May 16, 2012, at 6:59 PM, sukbir singh wrote:

Dear Martin,
                 Yes I will go with gmail as my first option. Because I saw monit have the option to set other email mail servers. I have tried the EHLO commands below is what I see

250-AUTH LOGIN
250 -SIZE 20480000
250-HELP
250 AUTH=LOGIN

This was done based on telnet to port 1000. If I use the second mail server as backup and in case my first one fails(gmail) then how about the from email settings in monit will still be my gmail is it? Thank you.

Regards,
Shai.


From: address@hidden
Subject: Re: Monit send email not working
Date: Wed, 16 May 2012 08:41:27 +0200
To: address@hidden

Shai,

are you sure your mail server listens on port 1000? Are you sure it supports SSL?

What you'll get back if you do this:

telnet <you mailserver> 1000

If you'll get the SMTP server response, you can try "EHLO <hostname>" to get the list of supported features.

If you have problem with your mail server - what is the reason to not use the Gmail when you tried to configure it and it works for you?

Regards,
Martin


On May 16, 2012, at 6:23 AM, sukbir singh wrote:

Dear Martin,
                 In addition to that I have tried monit validate I get this.

Sendmail error: 504 PLAIN authentication is not permitted by this server.
Aborting event

By adding using sslV2 then I get this
monit: Error setting cipher list 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH' (no valid ciphers)Cannot open a connection to the mailserver 'mail.******.com:1000' -- Operation now in progress
No mail servers are available
Aborting event

Using sslV3 I get 
monit: Openssl engine error: error:1408F10B:SSL routines:func(143):reason(267)
Cannot open a connection to the mailserver 'mail.****.com:1000' -- Success
No mail servers are available
Aborting event

Using tlsv1 I get
Sendmail error: 503 Bad sequence of commands
Aborting event

What could be the problem I tried all combination even with port 25 still could not get it through.

Regards,
Shai.


From: address@hidden
Subject: Re: Monit send email not working
Date: Tue, 15 May 2012 19:59:46 +0200
To: address@hidden

Hello Sukbir,

please can you provide your current configuration which doesn't work? You mentioned the Gmail worked, the problem is with your other mail server now. How your "set mailserver" looks like?

Regards,
Martin


On May 15, 2012, at 7:29 PM, sukbir singh wrote:

Dear Martin,
                 Is there any solution regarding my other mail server which are still not able to send the alert emails? Thank you.


From: address@hidden
Subject: Re: Monit send email not working
Date: Mon, 14 May 2012 09:17:53 +0200
To: address@hidden

You need to enable TLS with gmail mail servers:

set mailserver smtp.gmail.com port 587 
        username "MYUSER" password "MYPASSWORD"
        using tlsv1

Regards,
Martin


On May 14, 2012, at 6:40 AM, sukbir singh wrote:

Dear Martin,
                 If I use gmail I get this error.

Sendmail: error receiving data from the mailserver 'smtp.gmail.com' -- Resource temporarily unavailable

Then if I use another different mail server I get this error
Sendmail error: 504 PLAIN authentication is not permitted by this server.

I think some thing is wrong on my configuration because it could not be all the mail servers are having problem right?

Regards,
Shai.



From: address@hidden
Subject: Re: Monit send email not working
Date: Sun, 13 May 2012 21:33:03 +0200
To: address@hidden

Hi,

as the error message suggest, the problem is with the sender address, which is rejected by your mail server.

To fix it, you can override it this way (replace the "address@hidden" with your address):

--8<--
set mail-format { from: address@hidden }
--8<--

Regards,
Martin



On May 13, 2012, at 6:27 PM, sukbir singh wrote:

Dear All,
            I am monitoring a java application which listen on port 8000. This is how I have set the rule

check process commServer8000 with pidfile /var/run/wrapper.commServer8000.pid # check your app pid
 if failed port 8000    # if you want to check your app that listen on port 9000
    then alert

Must I put the 8000 and the HTTP?

If I remove the HTTP it works fine but my email sending is having problem below are some of the error I keep getting

 monit validate
'commServer8000' process is not running
Sendmail error: 550-Verification failed for <address@hidden>
Aborting event
monit: Start or stop method not defined -- process commServer8000


monit validate
'commServer8000' process is not running
Sendmail error: 535 Incorrect authentication data
Aborting event
monit: Start or stop method not defined -- process commServer8000

I have set my mail server as this SET MAILSERVER mail.***.com PORT 26 USERNAME "user1" PASSWORD "passwd". What are my mistakes here? Thank you.


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

reply via email to

[Prev in Thread] Current Thread [Next in Thread]