Re: [exim] Fake Reject vs. Discard

Top Page
Delete this message
Reply to this message
Author: Ted Cooper
Date:  
To: exim-users
Subject: Re: [exim] Fake Reject vs. Discard
Marc Perkel wrote:
>
> Ted Cooper wrote:
>> Marc Perkel wrote:
>>
>>> Suppose I set control to fakereject and then later I do a discard on the
>>> same message. Is it discarded or fake rejected? It appears from the docs
>>> that fakereject only applies if the messages is accepted but just wanted
>>> to verify this is so if anyone knows.
>>>
>> Setting fakereject will cause exim to behave just like a normal delivery
>> except that the "550-Your message has .." message is returned. If you
>> discard all the recipients either individually at RCPT TO:, or all
>> together at MAIL FROM: or DATA, then the delivery will not happen and
>> all you'll get it a log line. The sender does get the "550-Your message
>> .." and not a 220.
>>
>>
>>
>
> What I'm asking is if you do a fakereject in one ACL and then later do a
> discard, what will it do? The discard tells it to cleanly eat the
> message. The fakereject sats to pretend to bounce it. I was wondering
> which command wins.


I answered that didn't I?

"If you discard all the recipients either individually at RCPT TO:, or
all together at MAIL FROM: or DATA, then the delivery will not happen
and all you'll get it a log line. The sender does get the "550-Your
message .." and not a 220."

ie. They both win. Yes, you get a fake reject message, but no you don't
get a delivery if all recipients are discarded.

This took me 10 seconds to experimentally check and answer.

--
The Exim Manual
http://www.exim.org/docs.html
http://www.exim.org/exim-html-current/doc/html/spec_html/index.html