You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-17 07:49:53 +02: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