Re: [exim] Need to generate a "reject" message with correct …

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: exim-users
Subject: Re: [exim] Need to generate a "reject" message with correct headers
Kenevel wrote:
>
> verp_smtp:
> driver = smtp
> max_rcpt = 1
> return_path = ${if match
> {$return_path}{\N^rewrite-.*?@???$\N}\


See the documentation for the return_path transport option: "Note: If a
delivery error is detected locally, including the case when a remote
server rejects a message at SMTP time, the bounce message is not sent to
the value of this option, but to the previously set errors address
(which defaults to the incoming sender address)."
http://exim.org/exim-html-4.60/doc/html/spec.html/ch24.html

You should set the VERP return path in your verp_outbound_router using
errors_to, instead of using return_path on the verp_smtp transport.

Philip, should the docs in chapter 44.3 be changed to suggest this?

- Marc