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: [email protected]
> Subject: Re: Monit send email not working
> Date: Sun, 13 May 2012 21:33:03 +0200
> To: [email protected]
>
> 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 "[email protected]"
> with your address):
>
> --8<--
> set mail-format { from: [email protected] }
> --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 <monit@localhost>
> 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