Postfix 和 Dovecot - SMTP 上无加密

Postfix 和 Dovecot - SMTP 上无加密

目前我正在开发自己的邮件服务器,但目前我无法正确启动 SMTP。
我使用 Dovecot 和 postfix。
当我尝试将我的服务器添加到我的邮件客户端时,它告诉我:

传出:SMTP(我的服务器地址):587,无 SSL,身份验证:普通密码

我不知道为什么我会得到这个结果,因为我以为我已经设置好了一切。

我到今天为止还没有使用过 Postfix,所以我不知道缺少了什么或者出了什么问题。

系统:全新 Debian 10 x64,
安装了 postfix、dovecot-core、dovecot-imapd 和 dovecot-pop3d。

这是我的 postfix main.cf:https://pastebin.com/S17jWDQd
这是我的 postfix master.cf:https://pastebin.com/W0nynZG6
这是我的 dovecot.conf:https://pastebin.com/tMD90Znn

这些内容大部分都是从 iRedMail 安装中复制而来的,所以我认为我在复制和修改以供自己使用时遗漏了一些东西。

这是我的邮件日志:

root@bgrsld-mail0:~# tail /var/log/mail.info
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: warning: unsupported dictionary type: pcre (/usr/lib/postfix/postfix-pcre.so: No such file or directory)
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: error: unsupported dictionary type: pcre
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: connect from unknown[192.168.2.110]
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: warning: pcre:/etc/postfix/command_filter.pcre is unavailable. unsupported dictionary type: pcre
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: warning: pcre:/etc/postfix/command_filter.pcre lookup error for "EHLO we-guess.mozilla.org"
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: NOQUEUE: reject: CONNECT from unknown[192.168.2.110]: 421 4.3.0 bgrsld-mail0.intern.bdevgw.de Server local data error
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: disconnect from unknown[192.168.2.110] commands=0/0
Jul 17 17:56:27 bgrsld-mail0 postfix/anvil[7456]: statistics: max connection rate 1/60s for (submission:192.168.2.110) at Jul 17 17:53:07
Jul 17 17:56:27 bgrsld-mail0 postfix/anvil[7456]: statistics: max connection count 1 for (submission:192.168.2.110) at Jul 17 17:53:07
Jul 17 17:56:27 bgrsld-mail0 postfix/anvil[7456]: statistics: max cache size 1 at Jul 17 17:53:07
root@bgrsld-mail0:~# tail /var/log/mail.err
Jul 17 17:33:46 bgrsld-mail0 postfix/submission/smtpd[7335]: error: unsupported dictionary type: pcre
Jul 17 17:36:31 bgrsld-mail0 postfix/submission/smtpd[7444]: error: unsupported dictionary type: pcre
Jul 17 17:36:31 bgrsld-mail0 postfix/submission/smtpd[7444]: error: unsupported dictionary type: pcre
Jul 17 17:36:31 bgrsld-mail0 postfix/submission/smtpd[7444]: error: unsupported dictionary type: pcre
Jul 17 17:36:31 bgrsld-mail0 postfix/submission/smtpd[7451]: error: unsupported dictionary type: pcre
Jul 17 17:36:31 bgrsld-mail0 postfix/submission/smtpd[7451]: error: unsupported dictionary type: pcre
Jul 17 17:36:31 bgrsld-mail0 postfix/submission/smtpd[7451]: error: unsupported dictionary type: pcre
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: error: unsupported dictionary type: pcre
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: error: unsupported dictionary type: pcre
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: error: unsupported dictionary type: pcre
root@bgrsld-mail0:~# tail /var/log/mail.warn
Jul 17 17:36:31 bgrsld-mail0 postfix/submission/smtpd[7451]: warning: pcre:/etc/postfix/command_filter.pcre lookup error for "EHLO we-guess.mozilla.org"
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: warning: unsupported dictionary type: pcre (/usr/lib/postfix/postfix-pcre.so: No such file or directory)
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: error: unsupported dictionary type: pcre
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: warning: unsupported dictionary type: pcre (/usr/lib/postfix/postfix-pcre.so: No such file or directory)
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: error: unsupported dictionary type: pcre
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: warning: unsupported dictionary type: pcre (/usr/lib/postfix/postfix-pcre.so: No such file or directory)
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: error: unsupported dictionary type: pcre
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: warning: pcre:/etc/postfix/command_filter.pcre is unavailable. unsupported dictionary type: pcre
Jul 17 17:53:07 bgrsld-mail0 postfix/submission/smtpd[7454]: warning: pcre:/etc/postfix/command_filter.pcre lookup error for "EHLO we-guess.mozilla.org"

答案1

修复此错误最明显的方法是安装postfix-pcre提供该功能的软件包。然后 Mozilla 自动检测应该能够与 Postfix 通信。

相关内容