How to change "sender:" field in the header of Logwatch emails

listed in answer

How to change "sender:" field in the header of Logwatch emails
0 votes, 0.00 avg. rating (0% score)

ANSWER:

Arrived here via google with the same problem.

Adding the “-f user” option to sendmail in /usr/share/logwatch/default.conf/logwatch.conf had no effect.

Turns out logwatch.pl processes /usr/share/logwatch/dist.conf/logwatch.conf after /usr/share/logwatch/default.conf/logwatch.conf.

Edit or remove the MailFrom = root override in /usr/share/logwatch/dist.conf/logwatch.conf for it to work.

by drgrog from http://serverfault.com/questions/381382