Hei,

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.

thanks in advance,

-- 
- Gábor

Reply via email to