notifications via SMTP - every 10 seconds
-
Hey,
I have a router with Pfsense 2.6.0
At the beginning, during the configuration, I set notifications via SMTP.
Everything worked fine.
A few days ago I changed ISP and now I have a dynamic IP address.
I have set up Dynamic DNS (No-IP Free) so that I can access through the domain even after changing the IP address.
Unfortunately, now Pfsense sends me an email every 10 seconds with information about the DDNS:
Log:
Jan 8 22:22:24 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:22:34 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:22:44 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:22:54 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:23:05 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:23:15 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:23:25 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:23:35 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:23:45 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:23:56 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:24:06 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:24:16 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:24:26 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:24:36 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:24:47 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:24:57 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:25:07 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:25:18 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:25:28 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:25:38 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:25:48 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK Jan 8 22:25:58 pfSense php[24604]: notify_monitor.php: Message sent to myemail@mydomain.com OK
Email content:
Notifications in this message: 1 ================================ 14:33:23 DynDNS updated IP Address on WAN (igb0) to xxx.xxx.xxx.xxx
Even when I disable SMTP notifications, Pfsense still sends this email.
What can I do to stop Pfsense from sending emails at all or not to send me an email about DDNS every 10 seconds?
-
@osalj Normally it's once a month unless the IP changes. Is your WAN going down maybe? Though, 10 seconds seems awfully specific.
-
@osalj said in notifications via SMTP - every 10 seconds:
What can I do to stop Pfsense from sending emails at all or not to send me an email about DDNS every 10 seconds?
When a message is send, it's paced in file, the message queue, and a "smtp mail send" process is created that reads the file, sends the message, and passes on to the next one if there are still messages to send. If non, the queue is deleted, the process stops.
I guess this is your issue : the message file (on disk) isn't emptied, the "smtp mail send" keep on sending the message.[22.05-RELEASE][admin@pfSense.local.net]/var/db: ls -al noti*.* -rw-r--r-- 1 root wheel 131 Jan 7 01:01 notices_lastmsg.txt -rw-r--r-- 1 root wheel 41 Jan 7 01:02 notifyqueue.messages
Do you have these two files ?
What is their date time stamp ?
Content ?And empty queue file (notifyqueue.messages) should contain :
a:1:{s:5:"mails";a:1:{s:4:"item";a:0:{}}}