Fourhundred Thecat:
> > On 2023-02-27 15:08, Wietse Venema wrote:
> > Fourhundred Thecat:
> >>
> >> The problem is, postfix does not seem to distinguish between IP having
> >> no DNS record, and my DNS server being temporarily unavailable.
> >
> > Actually it does. 450 means temporary error.
>
> thank you, but I only see "450 4.7.25", regardless whether ip has no DNS
> record, or DNS server is not reachable.
>
> What configuration setting do I need to change, to see different error
> codes?
This is the default value:
unknown_client_reject_code = 450
If you change that to 550, then Postfix will reply with 550
for "does not exist" type errors.
There are several unknown_mumble_reject_code settings that default
to 450, and changing that would be a breaking change.
Wietse