localhost在postfix的mydestination
我注意到,网上的许多教程指定了像这样的postfix的mydestinationvariables: mydestination = localhost, localhost.myhostname, myhostname, mydomain1.com, mydomain2.com 注意: myhostname是HELO使用的Postfix名称。 但是,这将允许外部客户端发送电子邮件到用户@本地主机。 当然,只有当user是一个有效的用户名和后缀的限制(如reject_non_fqdn_recipient )不使用。 因为我只想接收邮件mydomain1.com和mydomain2.com我改变了我的服务器上的线路: mydestination = mydomain1.com, mydomain2.com 这适用于外部邮件,甚至是本地邮件,因为只有没有域名的接收者用户名被使用(由于/etc/mailname有正确的域mydomain1.com )。 现在我想知道在localhost中没有localhost等是否会导致任何问题,或者我的configuration是否正常。