Postfix:邮件在本地交付,但我想要relayhost交付
我在example.net工作:-),我的团队的服务器名为tardis.example.net 。 发送给我们的邮件必须先通过我们公司的内部中继主机。 尽pipe邮件正确传递到我们的服务器,但收件人地址将从以下位置重写: [email protected] 至: [email protected] 因此,我们的默认Postfix(2.6.6)configuration拒绝传递消息: Nov 27 15:49:23 tardis postfix/qmgr[10564]: B6CC73FA22: from=<[email protected]>, size=3953, nrcpt=1 (queue active) Nov 27 15:49:24 tardis postfix/smtp[10580]: B6CC73FA22: to=<[email protected]>, orig_to=<[email protected]>, relay=outbound.example.net[172.30.113.194]:25, delay=0.71, delays=0.47/0.01/0.14/0.1, dsn=5.1.1, status=bounced (host outbound.example.net[172.30.113.194] said: 550 5.1.1 <[email protected]>… User unknown (in reply to RCPT TO command)) 我的解决scheme是从这改变main.cf: myhostname = tardis.example.net mydomain = example.net mydestination = […]