Re: [exim] [n@@b question] delete email if 550 error

Top Page
Delete this message
Reply to this message
Author: Kjetil Torgrim Homme
Date:  
To: mailing
CC: exim-users
Subject: Re: [exim] [n@@b question] delete email if 550 error
On Tue, 2007-02-13 at 09:29 -0800, mailing@??? wrote:
> An outgoing SMTP connection goes like this:
>
> MAIL FROM: me@???
> 250 OK
> RCPT TO: foo@???
> 250 Accepted
> DATA
> 354 Enter message, ending with "." on a line by itself
> *** obfuscate ***
> .
> 550 This message scored 998.8 spam points.
> QUIT
>
>
> If I _CAN_ detect the message attached to the 550 error, no need to do the
> primary MX's job twice.
> My problem is how to write the code. I'm not familiar with the language
> used by Exim.


you want to do a recipient callout, and make a decision based on the
text of the callout response. this is not possible today, see

http://www.exim.org/bugzilla/show_bug.cgi?id=339

IMHO your use case is much more convincing than the one given in the
wishlist entry :-)

--
Kjetil T.