Access the failing addresses within bounce_message_file in exim

Posted by mkurz on Server Fault See other posts from Server Fault or by mkurz
Published on 2014-06-04T15:09:56Z Indexed on 2014/06/04 15:28 UTC
Read the original article Hit count: 319

Filed under:
|
|

We are running exim version 4.72

I'm using bounce_message_file to customize our bounce messages, like desribed in the documentation

Within this bounce message template I can access various variables like $message_exim_id, etc.

Is there also a way to access the list of the failing addresses (maybe with their error messages) in such a variable (as string, list,... whatever) or in any other way? It does not really matter how and in which format they are, I just want access them within the bounce message template file.
(I am referencing to the failed addresses usually listed automatically after the line "This is a permanent error. The following address(es) failed:")

Thank you very much for your help!

© Server Fault or respective owner

Related posts about emailserver

Related posts about exim