How do I change the email address that Munin alerts are sending from?
Solution 1:
So, I figured out the solution. I had to change my email setup in /etc/munin/munin.conf from:
contacts me # may be unnecessary and cause warnings
contact.me.command mail -s "Munin notification ${var:host}" [email protected]
contact.me.always_send warning critical
to:
contacts me # may be unnecessary and cause warnings
contact.me.command mailx -r [email protected] -s "Munin notification ${var:host}" [email protected]
contact.me.always_send warning critical
So, basically, just had to use "mailx" instead of "mail" and also preface the subject of the email with "-r [email protected]"