Hi Todd,

thanks for your comment.

Actually that was not what i meant, my question should be: How do i make exim 
droping an email (NDR) on 5xx error instead of freezing and retry?

regards
Thomas

On Todd Lyons <[email protected]>, May 11, 2014 1:51 AM wrote:
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 <[email protected]> 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
-- 
## 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/

Reply via email to