Notification: cannot connect SMTP-Host
bzdega last edited by
i want to use the notification feature but after configuring the SMTP settings, i am not able to sent a test notification. I get this error message in the system log:
php-fpm: /system_advanced_notifications.php: Could not send the message to firstname.lastname@example.org -- Error: could not connect to the host "mail.mydomain.com": ??
But i can ping this hostname from within the pfSense.
I use Port 587 like i do in all other mail clients. Tried other security settings, but they did not works as well.
Is the notification thing working for someone?
muswellhillbilly last edited by
Try ticking 'Enable STARTTLS' in your SMTP settings. What happens then?
doktornotor Banned last edited by
You don't test mailservers with ping.
Gertjan last edited by
test a mailserver from pfSEnse.
SSH into pfSense first - and then:
telnet mail.mydomain.com 25
telnet mail.mydomain.com 587
Be nice and talk to it.
Note that many ISP block the '25' port to any destination EXCEPT their own mail servers.
firewalluser last edited by
An example of telnetting into a mailserver with different codes that might be shown by some mailservers, could also be tried from a lan side machine
As its likely going to be coming from pfsense itself, you might need to create/allow a rule from ThisFirewall to your email server destination on which ever interface your mail server resides on. I only say this because you can see some things like DNS lookups in the fw logs and these are allowed by default, but mail server comms may possibly not be enabled/allowed by default on some/all interfaces from the firewall.