mirror of
https://github.com/tomav/docker-mailserver
synced 2025-09-04 00:05:21 +00:00
add information so Envelope From
is properly set (#3081)
This commit is contained in:
@@ -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' )
|
||||||
|
Reference in New Issue
Block a user