Halassy Zolt??n:
> Hello!
>
> I am using Address verification now with ~90% success (using it over a
> year now).
>
> The only flaw i didn't find a solution yet is the following:
>
> When a server rejects an e-mail address with 5xx, mine rejects it only
> with 4xx. But! I would like to reject them with 4xx if the foreign
> server sends 4xx, or unreachable, DNS failures etc... Is this possible?
>
> Example:
>
> NOQUEUE: reject: RCPT from example.com[1.2.3.4]: 450 4.1.7
> <[email protected]>: Sender address rejected: undeliverable address:
> host example.com[1.2.3.4] said:
> 551 5.1.1 user does not exist (in reply to RCPT TO command);
> from=<[email protected]> to=<[email protected]> proto=ESMTP
> helo=<example.com>
>
> I would like to answer 550 instead of 450 in this case, but 4xx any
> other case.
man 5 postconf
reject_unverified_recipient
Reject the request when mail to the RCPT TO address is known to
bounce, or when the recipient address destination is not reach-
able. Address verification information is managed by the ver-
ify(8) server; see the ADDRESS_VERIFICATION_README file for
details.
The unverified_recipient_reject_code parameter specifies the
numerical response code when an address is known to bounce
(default: 450, change into 550 when you are confident that it is
safe to do so).
[... more text deleted...]