How to set Logwatch sender address? #2360
Labels
kind/question
Someone asked a question - feel free to answer
meta/help wanted
The OP requests help from others - chime in! :D
meta/needs triage
This issue / PR needs checks and verification from maintainers
priority/low
Milestone
Subject
I would like some feedback concerning a use case.
Description
By default, when enabling logwatch and pflogsumm reports, pflogsumm sender address is "mailserver-report@
hostname
.domainname
" and logwatch sender address is "root@hostname
.domainname
". Now I'd like to change both to be sent from "whatever@domainname
" but couldn't find out how.I tried various environment variables, but none actually changes the sender e-mail address for the logwatch report ...
REPORT_SENDER
: sets sender for pflogsumm only, not logwatchPOSTMASTER_ADDRESS
: sets recipient addresses (for pflogsumm and logwatch) only, not senderPFLOGSUMM_SENDER
: sets sender for pflogsumm only, as documented (and expected)LOGWATCH_SENDER
: undocumented and obviously not working (but I wanted to be sure)So is there a way to set the sender address for logwatch as well?
The text was updated successfully, but these errors were encountered: