monit-general
[Top][All Lists]
Advanced

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

RE: Problem using gmail as mail server


From: Simpson, Matt
Subject: RE: Problem using gmail as mail server
Date: Fri, 3 Feb 2012 15:40:14 +0000

Forgot to mention that I am indeed able to send via localhost; problem is, I can’t send it past the internal network.

 

Matt Simpson

iAO SI&T Engineer

Atlanta, GA

NDS Ltd

Changing the way people are entertained and informed

email address@hidden
web www.nds.com
twitter www.twitter.com/nds_group

 

From: address@hidden [mailto:address@hidden On Behalf Of Martin Pala
Sent: Thursday, February 02, 2012 7:14 PM
To: This is the general mailing list for monit
Subject: Re: Problem using gmail as mail server

 

Can you connect to the smtp.gmail.com:587 manually from that machine? (for example using netcat or telnet)

 

You mentioned that you use postfix install as your MTA … you can then switch monit to use your postfix instead of gmail:

 

    set mailserver 127.0.0.1

 

Regards,

Martin

 

 

On Feb 3, 2012, at 12:43 AM, Simpson, Matt wrote:



Good afternoon, everyone.

 

I am running a fresh postfix install as my MTA on my local Ubuntu 11.10 machine, and I’m using Monit.  I set the following parameters in /etc/monit/monitrc:

 

set mailserver smtp.gmail.com port 587 username “<my username>” password “<my password>” using tlsv1 with timeout 30 seconds

 

however, in monit.log, this is the response:

 

[EST Feb  2 18:38:10] error            : Cannot open a connection to the mailserver ‘smtp.gmail.com:587’ – Transport endpoint is not connected

 

Thanks,

 

Matt Simpson

 

 


This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the address@hidden and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

 


reply via email to

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