AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题 / 1508082
Accepted
Jim S.
Jim S.
Asked: 2019-12-07 12:17:41 +0800 CST2019-12-07 12:17:41 +0800 CST 2019-12-07 12:17:41 +0800 CST

Cyrus Sieve 运行时错误声称邮箱不存在

  • 772

我最近在备份我的 CentOS 7 系统后安装了 CentOS 8,并且在尝试让 cyrus-imapd 备份和运行时似乎搞砸了一些事情。邮件已正确传递,但筛子邮件过滤器抱怨各种邮箱不存在,因此无法正确归档邮件。例如,如果我在本地网络上发送消息:

[root@buttercup quota]# mail [email protected]
Subject: Test Message
Test
.
EOT

邮件日志将显示:

Dec  6 12:51:39 buttercup postfix/pickup[27670]: 07FBA216825B: uid=0 from=<root>
Dec  6 12:51:39 buttercup postfix/cleanup[27810]: 07FBA216825B: message-id=<[email protected]>
Dec  6 12:51:39 buttercup postfix/qmgr[27671]: 07FBA216825B: from=<[email protected]>, size=419, nrcpt=1 (queue active)
Dec  6 12:51:39 buttercup cyrus/lmtp[27814]: sieve runtime error for jim id <[email protected]>: Fileinto (user/jim/System Messages): Mailbox does not exist
Dec  6 12:51:39 buttercup cyrus/lmtp[27814]: LOSTQUOTA: unable to record change of 697 bytes and 1 messages in quota user.jim: Quota root does not exist
Dec  6 12:51:39 buttercup cyrus/lmtp[27814]: Delivered: <[email protected]> to mailbox: user.jim
Dec  6 12:51:39 buttercup cyrus/lmtp[27814]: USAGE jim user: 0.012321 sys: 0.005097
Dec  6 12:51:39 buttercup postfix/lmtp[27813]: 07FBA216825B: to=<[email protected]>, relay=localhost[127.0.0.1]:24, delay=0.27, delays=0.03/0.01/0.03/0.2, dsn=2.1.5, status=sent (250 2.1.5 Ok SESSIONID=<cyrus-27814-1575654699-2-7475442468148307411>)
Dec  6 12:51:39 buttercup postfix/qmgr[27671]: 07FBA216825B: removed

邮箱确实存在,如 cyradm 所示:

buttercup.home.lan> lm user/jim/System\ Messages
user/jim/System Messages (\HasNoChildren)

在安装 CentOS 8 之前,这一切都运行良好。相关的(我认为) imapd.conf 条目:

defaultpartition: default
partition-default: /data/spool/imap
sievedir: /var/lib/imap/sieve
virtdomains: off
unixhierarchysep: yes

假脱机目录如下所示:

[root@buttercup jim]# ls -l /data/spool/imap/j/user/jim
-rw-------. 1 cyrus mail    336 Nov 30 17:57  cyrus.annotations
-rw-------. 1 cyrus mail 373712 Dec  6 13:01  cyrus.cache
-rw-------. 1 cyrus mail    189 Apr 19  2013  cyrus.header
-rw-------. 1 cyrus mail  23424 Dec  6 13:01  cyrus.index
-rw-------. 1 cyrus mail    112 Nov 26 05:31  cyrus.squat
drwx------. 2 cyrus mail  20480 Nov 30 17:57 'System Messages'

我已经用尽了我的故障排除技巧,所以在我深入研究 cyrus/sieve 源代码以尝试确定发生了什么之前,我希望这里有人能认识到问题或看到我犯的一个简单错误。

imap centos-8
  • 1 1 个回答
  • 565 Views

1 个回答

  • Voted
  1. Best Answer
    Jim S.
    2019-12-15T17:17:08+08:002019-12-15T17:17:08+08:00

    cyrus-imapd 邮件列表中的某个人提供了答案。我的筛子脚本中的 fileinto 操作包括user/jim,但它应该与用户收件箱相关,因此不需要user/jim 。一旦我从每条规则中删除它们,一切都很好。

    • 0

相关问题

  • centos8 上不再有“ident”命令?

  • 如何在本机邮件客户端 Outlook 和 Apple Mail 中使用 G-Suite 的共享邮箱(群组)作为发件人地址?

  • 将 Microsoft Outlook 仅链接到 SMTP 服务器而不是 IMAP/POP

  • 为什么 Thunderbird 不会完全删除电子邮件?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    Windows 10 服务称为 AarSvc_70f961。它是什么,我该如何禁用它?

    • 2 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Marko Smith

    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] 证书验证失败:无法获取本地颁发者证书 (_ssl.c:1056)

    • 4 个回答
  • Marko Smith

    我如何知道 Windows 安装在哪个驱动器上?

    • 6 个回答
  • Martin Hope
    Albin 支持结束后如何激活 WindowsXP? 2019-11-18 03:50:17 +0800 CST
  • Martin Hope
    fixer1234 “HTTPS Everywhere”仍然相关吗? 2019-10-27 18:06:25 +0800 CST
  • Martin Hope
    Kagaratsch Windows 10 删除大量小文件的速度非常慢。有什么办法可以加快速度吗? 2019-09-23 06:05:43 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    Inter Sys Ctrl+C 和 Ctrl+V 是如何工作的? 2019-05-15 02:51:21 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve