Re: [exim] Retry rule of NDR based on error

Pàgina inicial
Delete this message
Reply to this message
Autor: Todd Lyons
Data:  
A: Thomas Hommers
CC: exim-users@exim.org
Assumpte: Re: [exim] Retry rule of NDR based on error
If the NDR gets a 5xx response (i.e. user doesn't exist, rejected as
spam, etc) exim should then freeze the NDR. Your question is actually
"If I get a temporary error (a 4xx response), how do I force exim to
blackhole or redirect the message to some box I can later inspect?"

I've not done this nor really thought much about it, so I don't have a
solution off the top of my head. I just wanted to let you know that
your issue is slightly differently than you think it is.

...Todd


On Fri, May 9, 2014 at 8:14 PM, Thomas Hommers <thomas.hommers@???> wrote:
> Hi,
>
> my exim server acts as gateway, some email is rejected as spam by the destination server and exim therefore creates a NDS (bounce) message.
> Because a lot of the spam senders won't send with a legit sender address, exim continues trying to send the NDR even tough the destination rejects the email or the recipient does not exist.
>
> I would like to let exim try only ONCE to deliver the NDR if it's because of previous spam rejection.
>
> In my mind i thought of adding a special header to the NDR (like X-SPAM-ERROR:5.7.1) and if this header is set exim will drop the message after delivery error instead of freeze and retry delivery.
>
> How could i achieve this or maybe there is another much easier way?
>
> Thanks for all help,
> Thomas
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/




--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine