Fix Logwatch emails on Zimbra hosts
We’ve had an issue for a while where Logwatch emails are not getting through properly in Zimbra with Zimbra complaining about relay issues. While our migration to Zimbra will be the subject of another, much longer post, our last remaining issue looks to be finally resolved. Here’s what we found.
The solution was relatively simple:[zimbra@zimbra ~]$ zmprov mcf zimbraMtaMyDestination 'localhost zimbra.subaquatic.net'
That allowed us to use the /etc/aliases file and forward logwatch emails destined for root to our mailbox of choice.