On Thu, Jan 8, 2009 at 12:26 AM, tony liu <tony....@easeye.com.cn> 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?
>
>
> Tony.
>

# main.cf
transport_maps = hash:/etc/postfix/transport

# /etc/postfix/transport (samples)
hatmail.com     error:typo error
holmail.com     error:typo error
homail.com      error:typo error
hotamail.com    error:typo error

# postmap /etc/postfix/transport

To apply in queue messages:

# postsuper -r ALL

You can to reduce maximal queue lifetime;

# postconf -e maximal_queue_lifetime=1d
# postfix reload

-- 
Reinaldo de Carvalho
http://korreio.sf.net (Now available in English)
http://python-cyrus.sf.net

Reply via email to