服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

Postfix不会自动为传入的邮件创buildMaildir

我正在尝试设置一个邮件服务器,我使用了Postfix + dovecot + MySQL来完成大量的教程,但是没有一个是防错的,而且我总是被一个错误卡住,所以我决定configuration邮件服务器一步一步由我自己,到目前为止,我已经安装了Postfix和ViMbAdmin作为我的后缀pipe理界面,我设法与Postfix链接数据库,一切都很好,但一个! Postfix不会自动为传入的邮件创buildMaildir。 以下是传入电子邮件的示例mail.log输出: postfix/smtpd[22086]: connect from mail-lf0-f45.google.com[209.85.215.45] postfix/smtpd[22086]: C92B461E5B: client=mail-lf0-f45.google.com[209.85.215.45] postfix/cleanup[22090]: C92B461E5B: message-id=<[email protected]> postfix/qmgr[21732]: C92B461E5B: from=<[email protected]>, size=4535, nrcpt=1 (queue active) postfix/virtual[22080]: C92B461E5B: to=<[email protected]>, orig_to=<[email protected]>, relay=virtual, delay=0.13, delays=0.13/0/0/0, dsn=4.2.0, status=deferred (delivery failed to mailbox /var/mail/vhosts/XXX.net/BLAH-RCVR/mail: unable to create lock file /var/mail/vhosts/XXX.net/BLAH-RCVR/mail.lock: No such file or directory) postfix/smtpd[22086]: disconnect from mail-lf0-f45.google.com[209.85.215.45] 如果我手动创build/var/mail/vhosts/XXX.net/BLAH-RCVR/目录,一切都会好起来的。 我想要应用程序自动创build目录,所以我不必为每个添加到系统的用户创build它! […]