Re: [Ddclient-support] E-mail notifications
Brought to you by:
supersandro2000,
wimpunk
From: wimpunk <wi...@us...> - 2016-09-07 06:09:57
|
On 09/06/2016 10:28 AM, si...@ma... wrote: > > Dear all. > > I'm using ddclient (version 3.8.2), OS: Ubuntu 16.04.1 LTS. And my question is about e-mail notifications. > > In ddclient.conf there are two options for mail notification: > # Mail all msgs to root. > mail=root > # Mail failed update msgs to root > mail-failure=root > > First one sends all notifications (both "success" and "warning" messages) , second one only failure messages. > > Unfortunately I receive a lot of warning notifications every day when my PC can't connect to server or something like this. > But generally it doesn't affect IP updating, because daemon is configured to start update request every 300 sec and even it can't connect to the server once it will successfully connect to the server in 5-10 minutes without any issues and finally IP address will be changed. > > Now to avoid a lot of mails I just commented > #mail=root > and able receive only "failure" notifications about real troubles with ddclient. > > But I still want to receive messages about IP change. > > Is it possible to somehow configure ddclient to receive only "success" and "failed" notifications and don't receive "warning" ones? > > Thank you in advance. > I'm sorry but currently there is no way to do this. Feel free to implement it. :-) Kind regards, wimpunk. |