|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.
iAO SI&T Engineer
Changing the way people are entertained and informed
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
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
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.
|[Prev in Thread]||Current Thread||[Next in Thread]|