On Wed, Jan 21, 2009 at 06:36:31PM +0100, G?bor L?n?rt wrote:

> I have a got a stupid problem. We have some customers saying they can't and
> don't want to reconfigure their mail servers even if Planet-X hits Earth and
> that would help to avoid it :) And their MTAs always responds with:
> 
> 450 <u...@domain>: Recipient address rejected: User
>    unknown in local recipient table (in reply to RCPT TO command))
> 
> if there is an invalid, non existing mail address there. However they argues
> that they would like us not to try to deliver mails again and again. It's
> also a problem for us because of many mails waiting in the queue. They want
> us to handle this situation somehow.
> 
> Is it possible with postfix to parse the response of the remote MTA somehow,
> and modify the meaning of the SMTP code (to some 5xx or so) based on the
> text after the SMTP error code? I think just looking for "450" is not enough
> because there are other responses as well with this error code. I can't find
> anything like this in postfix (and to be honest, I can understand that it's
> not a normal request) though. Maybe I need another software, like some kind
> of SMTP proxy or whatever to do that? Any ideas?
> 
> I know it's a really stupid idea (the normal and logical solution would be
> to ask them to reply with 5xx not with 4xx in this case), but it's on a
> separated network, so there will be no problems on Internet in general, it's
> a controlled and closed environment.

Sorry, without an enhanced status code after the 450, you really don't
have anything to work with. The most plausible feature in this space is
"selective soft_bounce" where some, but not all, enhanced status codes
are downgraded to 4.X.X. Features to upgrade 4XX to 5XX are too broken
to contemplate IMNSHO.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to