From a2e818d6d311ce671bbfbfe230341cb8274e0e6b Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Thu, 19 Dec 2024 19:30:05 -0500 Subject: [PATCH] fixup! add mail-from option refine usage wording --- ddclient.conf.in | 4 +++- ddclient.in | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ddclient.conf.in b/ddclient.conf.in index fc89163..62a7ee9 100644 --- a/ddclient.conf.in +++ b/ddclient.conf.in @@ -25,7 +25,9 @@ daemon=300 # check every 300 seconds syslog=yes # log update msgs to syslog mail=root # mail all msgs to root mail-failure=root # mail failed update msgs to root -# mail-from=root # send mail from root, by default unset and handled by system sendmail +# mail-from=root # set the email "From:" header to "root". If + # unset (the default) or empty, the from address + # depends on your system's default behavior. pid=@runstatedir@/ddclient.pid # record PID in file. # postscript=script # run script after updating. The new IP is # added as argument. diff --git a/ddclient.in b/ddclient.in index 3def280..07524c3 100755 --- a/ddclient.in +++ b/ddclient.in @@ -1428,7 +1428,7 @@ my @opt = ( ["max-warn", "=i", "--max-warn= : log at most warning messages for undefined IP address"], ["mail", "=s", "--mail=
: e-mail messages to
"], ["mail-failure", "=s", "--mail-failure= : e-mail messages for failed updates to "], - ["mail-from", "=s", "--mail-from= : send status e-mail messages from "], + ["mail-from", "=s", '--mail-from= : set the "From:" header in e-mail messages to if non-empty'], ["exec", "!", "--{no}exec : do {not} execute; just show what would be done"], ["debug", "!", "--{no}debug : print {no} debugging information"], ["verbose", "!", "--{no}verbose : print {no} verbose information"],