Keld Jørn Simonsen wrote:
Jul 14 00:11:58 rap postfix/smtpd[1054]: NOQUEUE: reject: RCPT from rap.rap.dk[127.0.0.1]: 450 4.1.8 
<jets...@server30.reverya.com>: Sender address rejected: Domain not found; 
from=<jets...@server30.reverya.com> to=<k...@localhost> proto=ESMTP helo=<rap.rap.dk> 
Jul 14 00:11:58 rap postfix/smtpd[1054]: > rap.rap.dk[127.0.0.1]: 450
4.1.8 <jets...@server30.reverya.com>: Sender address rejected: Domain not found


host server30.reverya.com gives:
Host server30.reverya.com not found: 2(SERVFAIL)

So this would probably never resolve, but fail with a 450 error.
I would like to discard it. I hade 3 mails like that earlier today, with a nonresolvable domain, and they will keep lying in my IMAP box till I do special things to delete tem.
Is there a way to disambiguate between DNS timeouts and DNS errors,
and discard the latter?

No.

Probably the best choice for you is to add SpamAssassin and let it decide which mail to discard.

I suppose you could use a sufficiently flexible postfix policy service - maybe postfwd - to discard mail with DNS SERVFAIL. I also expect that will eventually bite you in the buttocks.


  -- Noel Jones

Reply via email to