Domain for mailer-daemon email address did not update after changing host name

I used sudo mailinabox to change my server’s domain from to Everything seems to be functioning as expected, except that email notifications for undelivered mail (eg, " Undelivered Mail Returned to Sender"), come from instead of

How to I fix the sender address for mailer-daemon?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.