![Ubuntu 20.04 Server spamassassin/spamd“内部错误,响应中显示 python 回溯。”没有其他信息。如何调试和修复?](https://linux22.com/image/784320/Ubuntu%2020.04%20Server%20spamassassin%2Fspamd%E2%80%9C%E5%86%85%E9%83%A8%E9%94%99%E8%AF%AF%EF%BC%8C%E5%93%8D%E5%BA%94%E4%B8%AD%E6%98%BE%E7%A4%BA%20python%20%E5%9B%9E%E6%BA%AF%E3%80%82%E2%80%9D%E6%B2%A1%E6%9C%89%E5%85%B6%E4%BB%96%E4%BF%A1%E6%81%AF%E3%80%82%E5%A6%82%E4%BD%95%E8%B0%83%E8%AF%95%E5%92%8C%E4%BF%AE%E5%A4%8D%EF%BC%9F.png)
在 Ubuntu 服务器 20.04 上,我正在运行 spammassassin/spamd、postfix/dovecot。在我的邮件日志中,/var/log/mail.log
我收到一条 spamd
内部错误,响应中显示 Python 回溯
错误如下图所示:
Mar 2 12:28:52 mail spamd[26377]: spamd: connection from 127.0.0.1 [127.0.0.1]:34916 to port 783, fd 5
Mar 2 12:28:52 mail spamd[26377]: spamd: using default config for user123: /var/vmail///spamassassin/user_prefs
Mar 2 12:28:52 mail spamd[26377]: spamd: processing message <01000186a3958131-57b1229e-ca0a-482f-845d-4753d517817c-000000@email.amazonses.com> for user123:2000
Mar 2 12:28:53 mail spamd[26378]: internal error, python traceback seen in response
Mar 2 12:28:53 mail spamd[26378]: spamd: clean message (-96.9/5.0) for user123:2000 in 3.9 seconds, 22020 bytes.
日志中没有关于该错误的其他信息。这个错误是什么意思?我该如何诊断、调试和修复它,让它不再出现?