Skip to content

Commit a2e818d

Browse files
rhansenindrajitr
authored andcommitted
fixup! add mail-from option
refine usage wording
1 parent 8030a46 commit a2e818d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ddclient.conf.in

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ daemon=300 # check every 300 seconds
2525
syslog=yes # log update msgs to syslog
2626
mail=root # mail all msgs to root
2727
mail-failure=root # mail failed update msgs to root
28-
# mail-from=root # send mail from root, by default unset and handled by system sendmail
28+
# mail-from=root # set the email "From:" header to "root". If
29+
# unset (the default) or empty, the from address
30+
# depends on your system's default behavior.
2931
pid=@runstatedir@/ddclient.pid # record PID in file.
3032
# postscript=script # run script after updating. The new IP is
3133
# added as argument.

ddclient.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ my @opt = (
14281428
["max-warn", "=i", "--max-warn=<max> : log at most <max> warning messages for undefined IP address"],
14291429
["mail", "=s", "--mail=<address> : e-mail messages to <address>"],
14301430
["mail-failure", "=s", "--mail-failure=<addr> : e-mail messages for failed updates to <addr>"],
1431-
["mail-from", "=s", "--mail-from=<addr> : send status e-mail messages from <addr>"],
1431+
["mail-from", "=s", '--mail-from=<addr> : set the "From:" header in e-mail messages to <addr> if non-empty'],
14321432
["exec", "!", "--{no}exec : do {not} execute; just show what would be done"],
14331433
["debug", "!", "--{no}debug : print {no} debugging information"],
14341434
["verbose", "!", "--{no}verbose : print {no} verbose information"],

0 commit comments

Comments
 (0)