On Thu, Jan 08, 2009 at 11:26:57AM +0800, tony liu wrote:
> Hello,
> 
> When my customers send mails with nonsexist domain(sometimes maybe typo
> error, EX. u...@hotmail.org ), these mails will be rejected and in queue for
> a long time(normally 5 days), Is  there a way  for postfix to remove these
> mails immediately or just send a bounce mails to the sender? 


You can just refuse them: put "reject_unknown_recipient_domain" in your
smtpd_recipient_restrictions -- assuming the typo domain has no A nor MX
record, your example hotmail.org however does have an A record thus the
mail will be accepted and delivery attempted as usual.

RCPT TO: <t...@hotmail.comm>
450 4.1.2 <t...@hotmail.comm>: Recipient address rejected: Domain not found

        Geert

Reply via email to