This will change the "From" header of emails sent by fcron.
esac
])
-MAILDISPLAYNAME=""
+dnl Set a non-empty value to use a RFC5322-compliant "From" email header,
+dnl or set to empty string to keep the previous non RFC5322-compliant one.
+MAILDISPLAYNAME="Fcron Daemon"
AC_MSG_CHECKING([mail display name])
AC_MSG_RESULT([$MAILDISPLAYNAME])
AC_SUBST([MAILDISPLAYNAME])
<listitem>
<para>
Display name for the "From: " header of mails sent
- by us. N.B. &fcron has been following Vixie cron's
+ by us. Note that in the past, &fcron was following Vixie cron's
default email header format which is not fully
compliant with RFC 5322 (see <ulink
url="https://github.com/yo8192/fcron/issues/15">Issue
- #15 </ulink>). During this transition phase, to
- achieve full RFC compliance, you may set a display
- name. Leaving it empty will preserve the old
- behavior.
+ #15 </ulink>). fcron will revert to this old behaviour when
+ this option is set to an empty string.
</para>
</listitem>
</varlistentry>
# Location of the default editor for "fcrontab -e"
editor = @@FCRON_EDITOR@
-# Display name for the "From: " header of mails sent by us. Default is
-# unset/empty, which keeps the "From: " header as it was before this feature
-# was added -- not RFC5322-compliant, though.
-# The default will soon be the sane RFC5322-compliant:
-#
-# maildisplayname = Fcron Daemon
+# Display name for the "From: " header of emails sent by fcron.
+# Set to a non-empty string to make fcron use a RFC5322-compliant "From",
+# or to an empty string to keep the "From" header to the non-RFC5322-compliant
+# value we had before this feature was added.
#
# Please read fcron.conf(5) before setting it!
maildisplayname = @@MAILDISPLAYNAME@