Re: [exim] Question about forward recipient verify callouts

Top Page
Delete this message
Reply to this message
Author: Graeme Fowler
Date:  
To: exim-users
Subject: Re: [exim] Question about forward recipient verify callouts
On Thu, 2008-02-21 at 13:24 -0800, Marc Perkel wrote:
> I have an unusual situation. I have a customer that I'm spam filtering
> for.


First things first: educate the customer as to why what they are is
wrong. Simply put, they should 5xx the invalid recipients, not 450 them.

> Their server however for some strange reason returns a 450 instead of
> 550 for non-existent users. Text is "User unknown in local recipient
> table". I'm trying to figure out how to capture and test that response
> so I can properly reject this mail rather that retrying for a long time.


Can I introduce you to

http://www.exim.org/exim-html-current/doc/html/spec_html/ch32.html#SECID161

???

You know the domains you're handling, so you could create a retry rule for

customer.domain rcpt_450 F,1m,1m

[not tested]. Care should be taken not to be too over-zealous with this
sort of thing, since there are myriad reasons why your customer's MTA
returns a 450 - many of which may be unrelated to the issue at hand.

Graeme