Graeme Fowler wrote: > 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 > > >
Thanks Graeme, I'll give that a try. But it would be really nice if the actual message from the callout were returned in a variable so that I could test it. I've asked the customer to change it to 550 but it's not happening. -- ## List details at http://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/