如果我定义`my_domain`,postfix不会扩展邮件别名
我有在CentOS 6.3上运行的postfix v2.6.6,主机名为priest.ocsl.local(私有,内部域),有一些别名 supportpeople: [email protected], [email protected], [email protected] requests: "|/opt/rt4/bin/rt-mailgate –queue 'general' –action correspond –url http://localhost/", supportpeople help: "|/opt/rt4/bin/rt-mailgate –queue 'help' –action correspond –url http://localhost/", supportpeople 如果我使用默认的configuration离开postfix,那么别名会被正确parsing/正如我所期望的那样,所以传入[email protected]的邮件将通过rt-mailgate mailgate命令传送,并且被传递(通过ocsl.co.uk(一个可公开parsing的域名)的邮件服务器)发送到[email protected],user2等。 当我在/etc/postfix/main.cf定义mydomain = ocsl.co.uk时( mydomain = ocsl.co.uk传出邮件的目的,例如[email protected]),问题就出现了。 当我这样做,后缀继续正确运行pipe道命令,但它不再扩展嵌套的别名,我期望:而不是试图传递给[email protected],user2等,它试图发送到supportpeople @ ocsl.co.uk,上游邮件服务器上不存在,并生成NDR。 postconf -n用于非工作configuration(工作configuration只有“mydomain”这一行才有区别。 alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = […]