5月 142010
 

postfix提示:
warning: do not list domain in BOTH mydestination and virtual_mailbox_domains

根据提示,是说我的mydestination选项和mysql里面的virtual_mailbox_domain出现冲突,2者留其一。

原因:是系统域名与虚拟帐户的域名冲突了,而mydestination会自动根据机器名生成

解决;因此如果虚拟账号里有aaaa.com,那么在mydestination里就要去掉aaaa.com。
另外,也可以将其设为空:postconf -e mydestination=
或者手动编辑一下main.cf,加入mydestination=

4月 062010
 

What domain name to use in outbound mail

The myorigin parameter specifies the domain that appears in mail that is posted on this machine. The default is to use the local machine name, $myhostname, which defaults to the name of the machine. Unless you are running a really small site, you probably want to change that into $mydomain, which defaults to the parent domain of the machine name.

For the sake of consistency between sender and recipient addresses, myorigin also specifies the domain name that is appended to an unqualified recipient address.

Examples (specify only one of the following):

    /etc/postfix/main.cf:
        myorigin = $myhostname (default: send mail as “user@$myhostname”)
        myorigin = $mydomain   (probably desirable: “user@$mydomain”)

What domains to receive mail for

The mydestination parameter specifies what domains this machine will deliver locally, instead of forwarding to another machine. The default is to receive mail for the machine itself. Continue reading »