I'm not able to telnet to smtp.gmail.com 587; I get a "connection refused".
I anticipate this since all indications suggest gmail drops connections it 
feels are insecure or unsafe.


Matt Simpson

iAO SI&T Engineer
Atlanta, GA

NDS Ltd

Changing the way people are entertained and informed
email [email protected]<mailto:[email protected]>
web www.nds.com
twitter www.twitter.com/nds_group<http://www.twitter.com/nds_group>

From: [email protected] 
[mailto:[email protected]] 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<http://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 
[email protected]<mailto:[email protected]> 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<http://www.nds.com>
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

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

Reply via email to