Thank you, Wietse
I set it in the master.cf file. The mail is put into the defer queue. And I
also set the line “relay”, It still in the defer queue, Why it not send the
mail to the other mail server?
/etc/postfix/master.cf:
smtp unix - - n - - smtp
-o soft_bounce=yes
-o smtp_fallback_relay=relayusa.example.com
relay unix - - n - - smtp
-o soft_bounce=yes
-o smtp_fallback_relay=relayusa.example.com
2012/6/11 Wietse Venema <[email protected]>
> Feel Zhou:
> > Maybe I do not make it clear. My mail server is in China, But Hotmail
> > server or Gmail server,etc (for example )in Usa maybe reject ip (or ip
> > segment )from china. so ,if my mail server in China be bounced by them, I
> > want to use my other email server in USA to send the mail who is be
> > bounced. What can I setting the mail server in China. Thanks a lot.
>
> /etc/postfix/master.cf:
> smtp unix - - n - - smtp
> -o soft_bounce=yes
> -o smtp_fallback_relay=backuphost.example.com
>
> With this, mail that is rejected by backuphost.example.com will
> stay in the queue until it is too old.
>
> Wietse
>