I cannot find where can I set the mailer-daemon address for bouncy mail, now it is set to Mailer-Daemon@mydomain1.com and I would like to change it to Mailer-Daemon@mydomain2.com, but looking into all exim files I did not find it.
Asked
Active
Viewed 1,150 times
2 Answers
2
In your conf file you should just find/add bounce_sender_authentication
and set like:
bounce_sender_authentication = mailer-daemon@mydomain2.com
Example on exim github page - line 15: https://github.com/Exim/exim/blob/master/test/confs/3412

Jakob
- 3,493
- 4
- 26
- 42
-
I tried to add this line in a main section configuration file but it doesn't work for me.... – Tobia May 09 '16 at 06:35
-
Where shoud I put this command in a multi-file configuration? – Tobia May 13 '16 at 07:10
0
The option you need is dsn_from
:
dsn_from = Mail Delivery System <Mailer-Daemon@$qualify_domain>
See https://www.exim.org/exim-html-current/doc/html/spec_html/ch-main_configuration.html

Igor Lidin
- 16