SMTP E-Mail notifications
-
Why isn't there a simple test button to test that the SMTP E-Mail notifications are configured alright?
-
If I click on 'save' in the smtp area, I can see in the logs it tried to send me an email. I can't seem to get it to work, but it does try.
-
indeed. But I can't get it to work with gmail smtp.
-
gmail use ssl smtp
-
-
I dont think so… check with packet capture to get any debug output.
-
you should see someting like this in system log
php: /system_advanced_notifications.php: Could not send the message email.adress@gmail.com – Error: 530 5.7.0 Must issue a STARTTLS command first. h20sm7434523qck.24
-
There is another thread about this
http://forum.pfsense.org/index.php/topic,31580.0.htmlI am sending to my gmail address just fine, if your open on 25 you should be able to send to any mail server out there directly vs having to auth to one. See other thread.
But what I did find trying to auth to one is that it does not seem to be sending any auth information at all. I have not bothered to look deeper into the issue, since I just send directly to gmail server for notification to my gmail address. So Im good - but if your trying to bounce off a smtp server to send to a different one that requires auth, I don't think its even sending it all.
BTW to test you can just php command in diagnostics.
file_notice("test","test");
-
https://rcs.pfsense.org/projects/pfsense/repos/axscode-pfs/commits/2d74f1cf28a734fe1880dce7638bc1cbab558ab8
this will allow to use tls/ssl support for mail server like gmail and yahoo on port 465, i hope it will be reviewed and added.
-
https://rcs.pfsense.org/projects/pfsense/repos/axscode-pfs/commits/2d74f1cf28a734fe1880dce7638bc1cbab558ab8
this will allow to use tls/ssl support for mail server like gmail and yahoo on port 465, i hope it will be reviewed and added.
Did you submit a merge request for that? Or tell anyone else about it? We don't generally look at user repository commits at random.