mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
add information so Envelope From
is properly set (#3081)
This commit is contained in:
parent
1c8a160621
commit
632012aead
|
@ -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' )
|
||||||
|
|
Loading…
Reference in a new issue