Keld Jørn Simonsen wrote:
Is there a way to disambiguate between DNS timeouts and DNS errors, and discard the latter?
Not inside postfix. You could use a sufficiently flexible policy server for this absurd action.
I did have in main.cf: unknown_address_reject_code = 550
... which will always be changed to a 450 in case of a temporary error. SERVFAIL is a temporary error.
Now I also have: reject_tempfail_action = discard
This feature requires postfix 2.6 or later. And it's absurd to discard mail that tempfails for some reason. This will bite you badly.
I now have 6 of such email in my IMAP folder. I noticed anther thing: another of my domain not found emails really times out. sys...@doremo.jp - And then I don't understand why this is
That domain appears to work reliably here, maybe you have a firewall issue.
Any ideas on how to get rid of the 450 code, or other actions?
Stop trying to reject this mail with postfix and let SpamAssassin handle it. The mail has already been accepted by your IMAP server, rejecting it just creates backscatter.
-- Noel Jones