Email notifications with gmail, on 2.0.1
I'm running 2.0.1-RELEASE and I'm trying to set up the email notifications using gmail.
I'm using my Google Apps account as follows
Email server: smtp.gmail.com
Smtp port: 587
Enable SSL/TLS: yes
When I save the configuration I don't get any test message and in the logs I see the following:
Apr 2 21:43:48 filterdns: host_dns: failed looking up "gmai": hostname nor servname provided, or not known
Apr 2 21:39:25 php: /system_advanced_notifications.php: Could not send the message to email@example.com – Error: could not connect to the host "smtp.gmail.com": ??
I checked several times the configuration because I don't understand why "gmai" is ever used and what "filterdns" is.
And filterdns: host_dns: failed looking up "gmai": hostname nor servname provided, or not known occurs several times in the log.
I tried also to use smtp port 25, no ssl but I get
php: /system_advanced_notifications.php: Could not send the message to firstname.lastname@example.org -- Error: 530 5.7.0 Must issue a STARTTLS command first. e6sm36009869wix.8
I tried also the solution from here: http://forum.pfsense.org/index.php/topic,31580.0.html but with no luck.
Any ideas why it doesn't work?
The strange thing is that in my home network, behind the firewall, I have an application which successfully sends email notifications, using the same gmail settings.
Check the attached IMG:
Yeah, port 465 fixed the problem.
I could get only the test messages but not the alerts. Can anyone help me in this regard.