add information so Envelope From is properly set (#3081)

This commit is contained in:
Georg Lauterbach 2023-02-18 16:21:51 +01:00 committed by GitHub
parent 1c8a160621
commit 632012aead
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1089,6 +1089,7 @@ function _setup_logwatch
{ {
echo 'LogFile = /var/log/mail/freshclam.log' >>/etc/logwatch/conf/logfiles/clam-update.conf echo 'LogFile = /var/log/mail/freshclam.log' >>/etc/logwatch/conf/logfiles/clam-update.conf
echo "MailFrom = ${LOGWATCH_SENDER}" >>/etc/logwatch/conf/logwatch.conf echo "MailFrom = ${LOGWATCH_SENDER}" >>/etc/logwatch/conf/logwatch.conf
echo "Mailer = \"sendmail -t -f ${LOGWATCH_SENDER}\"" >>/etc/logwatch/conf/logwatch.conf
case "${LOGWATCH_INTERVAL}" in case "${LOGWATCH_INTERVAL}" in
( 'daily' | 'weekly' ) ( 'daily' | 'weekly' )