Re: Sieve runtime error claiming mailbox doesn't exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Patrick


Quoting Patrick Boutilier <boutilpj@xxxxxxxxxxx>:

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


I don't think the hierarchy separator is the problem. Some log outputs use the
internal format e.g. "delivered <messageID> to mailbox: user.jim" but the posted conf
shows he is using "/" as separator.

On December 13, 2019 11:08:54 AM AST, Jim Sculley <Jim.Sculley@xxxxxxxxxxx> 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.


which cyrus version did you use with CentOS7?

For example, if I try to send a simple mail on the local network:

========
[root@buttercup quota]# mail jim@xxxxxxxx
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=<20191206175139.07FBA216825B@xxxxxxxxxxxxx>
Dec  6 12:51:39 buttercup postfix/qmgr[27671]: 07FBA216825B:
from=<root@xxxxxxxx>, size=419, nrcpt=1 (queue active)
Dec  6 12:51:39 buttercup cyrus/lmtp[27814]: sieve runtime error for
jim id <20191206175139.07FBA216825B@xxxxxxxxxxxxx>:
Fileinto (user/jim/System Messages): Mailbox does not exist


Can you post the sieve script. I don't know if the log shows the full path,
but make sure that the fileinto command does not contain the "user/jim" part
as the fileinto is relative to the INBOX of the user.

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

something else is not working correct. Is the configdirectory configured?
Does it exist? Do directory and quotafiles exists?

Dec  6 12:51:39 buttercup cyrus/lmtp[27814]: Delivered:
<20191206175139.07FBA216825B@xxxxxxxxxxxxx> 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=<jim@xxxxxxxx>, 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.




--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail: michael.menge@xxxxxxxxxxxxxxxxxxxx
Wächterstraße 76
72074 Tübingen

----
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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux