I used sudo mailinabox
to change my server’s domain from box.example.com
to mail.example.com
. Everything seems to be functioning as expected, except that email notifications for undelivered mail (eg, " Undelivered Mail Returned to Sender"), come from MAILER-DAEMON@box.example.com
instead of MAILER-DAEMON@mail.example.com
How to I fix the sender address for mailer-daemon?