所以我运行Debian 6,并已安装和configuration后缀…问题是后缀启动正常时,我开始与:
sudo service postfix start
但如果我重新启动服务器,它不会。 我检查了日志,这是它给出的错误:
Jun 10 06:18:51 VPS postfix[1567]: fatal: the postfix command must not run as a set-uid process
我怎样才能解决这个问题?
当我做:
update-rc.d postfix start 20 2 3 4 5
我得到这个输出:
update-rc.d: using dependency based boot sequencing update-rc.d: warning: postfix stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6) insserv: can not symlink(../init.d/vzquota, ../rc0.d/S03vzquota): File exists insserv: can not symlink(../init.d/vzquota, ../rc1.d/S03vzquota): File exists insserv: can not symlink(../init.d/vzquota, ../rc2.d/S03vzquota): File exists insserv: can not symlink(../init.d/vzquota, ../rc3.d/S03vzquota): File exists insserv: can not symlink(../init.d/vzquota, ../rc4.d/S03vzquota): File exists insserv: can not symlink(../init.d/vzquota, ../rc5.d/S03vzquota): File exists insserv: can not symlink(../init.d/vzquota, ../rc6.d/S03vzquota): File exists
Postfix / sendmail不能由root和/或set-uid位启用。
http://www.gti.net/mirrors/postfix/faq.html#nosuid
Postfix应该由专用用户拥有。
我想你应该完全重新安装postfix,可能还有其他的configuration问题。
尝试
apt-get --purge remove postfix
要么
aptitude remove postfix*
然后按照这篇文章以正确的方式安装它。
如果在启动时没有启动的问题尝试configuration服务,如下所示:
update-rc.d postfix start 20 2 3 4 5