Re: Sieve runtime error claiming mailbox doesn't exist

Patrick Boutilier <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
At first glance it looks like you need to change your sieve rules to use . as the mailbox separator. Something like:

user.jim.System Messages

On December 13, 2019 11:08:54 AM AST, Jim Sculley <[email protected]> wrote:
>Hello.  I'm a new member of this list but a long time user of
>cyrus-imapd with postfix on my little home network.
>
>
>I recently replaced CentOS 7 with CentOS 8 (CentOS Linux release
>8.0.1905) on my  server which had been running 
>cyrus-imapd with sieve for years without problems.  I thought I had
>gotten everything set up properly on the new system 
>(cyrus-imapd  3.0.7-15.el8_0.1 with cyrus-sasl 2.1.27-0.3rc7.el8 and
>postfix 2:3.3.1-8.el8) but sieve is not moving 
>messages into the correct folders.
>
>For example, if I try to send a simple mail on the local network:
>
>========
>[root@buttercup quota]# mail [email protected]
>Subject: Test Message
>Test
>.
>EOT
>========
>
>
>The mail log will show:
>
>=========================
>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
>=========================
>
>So, sieve is running, and sees the rule in the script, but fails. This
>behavior is seen with all my rules, none of which 
>are doing anything more than a fileinto based on sender addresses or
>message subjects.
>
>The mailbox does exist, as seen with cyradm:
>
>============================
>buttercup.home.lan> lm user/jim/System\ Messages
>user/jim/System Messages (\HasNoChildren)
>============================
>
>
>This was all working fine before the CentOS 8 install. The relevant (I
>think) imapd.conf entries:
>
>
>==========================
>defaultpartition: default
>partition-default: /data/spool/imap
>sievedir: /var/lib/imap/sieve
>virtdomains: off
>unixhierarchysep: yes
>===========================
>
>The spool directory looks like this:
>
>===========================
>[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'
>===========================
>
>I'm not sure if I have some sort of configuration error or if this is
>an actual bug. I would appreciate any assistance.
>
>
>Thanks,
>
>Jim Sculley
>
>
>
>
>----
>Cyrus Home Page: http://www.cyrusimap.org/
>List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>To Unsubscribe:
>https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.