1、变更用户的邮件地址并提示
在/etc/postfix/main.cf中增加:
relocated_maps=/etc/postfix/relocated
#vi /etc/postfix/relocated
#postmap /etc/postfix/relocated
内网提示:
外网的用户发送邮件进来的时候会得到一个退信,内容如下:
(163的退信部分摘录!!)
-----------
发送的信件被对方服务器拒绝。
-------------
(QQ邮箱的退信部分摘录)
退信原因
收件人邮件地址(
xm_dengwh@bestcheer.com)不存在,邮件无法送达。
host mx3.bestcheer.com[59.61.86.2] said: 550 5.1.6 : Recipient address rejected:
User has moved to shamdeng@163.com (in reply to RCPT TO command)</XM_DENGWH@BESTCHEER.COM>
本文出自 “邓卫华” 博客,请务必保留此出处http://dengweihua1.blog.51cto.com/134932/332676
relocated_maps=/etc/postfix/relocated