Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» General Questions» Email notifications with gmail, on 2.0.1
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Email notifications with gmail, on 2.0.1  (Read 858 times)
0 Members and 1 Guest are viewing this topic.
bdaniel7
Newbie
*
Offline Offline

Posts: 12


View Profile
« on: April 02, 2012, 01:58:37 pm »

Hello,

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 xxxxx@gmail.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 xxxx@gmail.com -- 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?

Daniel
Logged
bdaniel7
Newbie
*
Offline Offline

Posts: 12


View Profile
« Reply #1 on: April 03, 2012, 01:35:32 am »

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.
Logged
ptt
Hero Member
*****
Offline Offline

Posts: 736


View Profile
« Reply #2 on: April 03, 2012, 04:50:01 pm »

Check the attached IMG:
Logged
bdaniel7
Newbie
*
Offline Offline

Posts: 12


View Profile
« Reply #3 on: April 04, 2012, 12:38:28 am »

Yeah, port 465 fixed the problem.

Thank you.
Logged
rvsvenkat
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #4 on: May 17, 2012, 10:05:34 am »

Hello,

I could get only the test messages but not the alerts. Can anyone help me in this regard.

regards
Venkat
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.027 seconds with 19 queries.