配置Postfix和Dovecot邮件服务器

有一句话要说在前头:“Linux配置速成,从入门到跳楼一步走”

很绝望,我去Google了一圈,都没有找到解决方法,还是我自己乱**试出来的。

我不想说话,只是默默的贴上配置。

依次遇到的错误:“Mail content denied”“dovecot: auth: Fatal: No passdbs specified in configuration file. PLAIN mechanism needs one”“ dovecot: imap-login: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs)”“dovecot: imap(root): Error: Invalid settings in userdb: userdb returned 0 as uid”“dovecot: imap(root): Error: Invalid user settings. Refer to server log for more information.”“error: open database /etc/postfix/vmaps.txt.db: No such file or directory”“postfix/trivial-rewrite[13636]: error: open file /etc/postfix/vhosts.txt: No such file or directory”“Temporary lookup failure”

特别是下面这几个,弄了几百年才弄好:

“fatal: no SASL authentication mechanisms”“ warning: SASL: Connect to private/auth failed: No such file or directory”“Recipient address rejected: User unknown in local recipient table”“Relay access denied”

 

 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注