sieve stopped working and doveadm mailbox list without -s shows less folders then with
Ralf Becker
rb at egroupware.org
Thu Sep 7 17:42:09 EEST 2017
Dovecot 2.2.31 with mailboxes in mdbox format.
Since a couple of days some mailboxes have the problem, that sieve rules
moving mails to folders stop working and .sieve.log in mailbox shows:
sieve: info: started log at Sep 07 13:57:17.
error:
msgid=<20170907155704.EGroupware.S4yThVJRr12WSiJLpKbK0Bz at somedomain.egroupware.de>:
failed to store into mailbox 'INBOX/Munser': Mailbox doesn't exist:
INBOX/Munser.
When I do a doveadm mailbox list -s -u <user>@<domain> I get all folders
incl. the one mentioned above, while doveadm mailbox list without -s
shows just
user
INBOX
I already tried doveadm force-resync -u <user>@<domain> INBOX, but it
did not change anything.
I also moved the mailbox in filesystem to an other name and tried to
restore it from there, which helped with most broken mailbox problems in
the pre 2.2.31 aftermath, but that failed completly:
/var/dovecot/imap/<domain> # mv <user> <user>.broken
/var/dovecot/imap/<domain> # doveadm force-resync -u <user>@<domain> INBOX
/var/dovecot/imap/<domain> # sudo -u dovecot doveadm -Dv import -u
<user>@<domain> -s mdbox:$(pwd)/<user>.broken/mdbox
INBOX all
Debug: Loading modules from directory: /usr/lib/dovecot
Debug: Module loaded: /usr/lib/dovecot/lib01_acl_plugin.so
Debug: Module loaded: /usr/lib/dovecot/lib10_quota_plugin.so
Debug: Module loaded: /usr/lib/dovecot/lib15_notify_plugin.so
Debug: Module loaded: /usr/lib/dovecot/lib20_mail_log_plugin.so
Debug: Module loaded: /usr/lib/dovecot/lib20_replication_plugin.so
Debug: Loading modules from directory: /usr/lib/dovecot/doveadm
Debug: Module loaded: /usr/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so
Debug: Skipping module doveadm_expire_plugin, because dlopen() failed:
Error relocating
/usr/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so:
expire_set_lookup: symbol not found (this is usually intentional, so
just ignore this message)
Debug: Module loaded: /usr/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so
Debug: Module loaded: /usr/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so
Debug: Skipping module doveadm_fts_plugin, because dlopen() failed:
Error relocating /usr/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so:
fts_backend_rescan: symbol not found (this is usually intentional, so
just ignore this message)
Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen()
failed: Error relocating
/usr/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so:
mail_crypt_box_get_public_key: symbol not found (this is usually
intentional, so just ignore this message)
doveadm(<user>@<domain> 54303): Debug: Added userdb setting:
plugin/master_user=<user>@<domain>
doveadm(<user>@<domain> 54303): Debug: Added userdb setting:
plugin/userdb_acl_groups=admins@<domain>,hts büro@<domain>,hts@<domain>
doveadm(<user>@<domain> 54303): Debug: Added userdb setting:
plugin/userdb_quota_rule=*:bytes=10485760000
doveadm(<user>@<domain>): Debug: Effective uid=90, gid=101,
home=/var/dovecot/imap/<domain>/<user>
doveadm(<user>@<domain>): Debug: Quota root: name=User quota
backend=dict
args=:ns=INBOX/:file:/var/dovecot/imap/<domain>/<user>/dovecot-quota
doveadm(<user>@<domain>): Debug: Quota rule: root=User quota mailbox=*
bytes=107374182400 messages=0
doveadm(<user>@<domain>): Debug: Quota grace: root=User quota
bytes=10737418240 (10%)
doveadm(<user>@<domain>): Debug: dict quota: user=<user>@<domain>,
uri=file:/var/dovecot/imap/<domain>/<user>/dovecot-quota, noenforcing=0
doveadm(<user>@<domain>): Debug: Namespace inboxes: type=private,
prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=no
location=mdbox:~/mdbox
doveadm(<user>@<domain>): Debug: fs:
root=/var/dovecot/imap/<domain>/<user>/mdbox, index=, indexpvt=,
control=, inbox=, alt=
doveadm(<user>@<domain>): Debug: acl: initializing backend with data: vfile
doveadm(<user>@<domain>): Debug: acl: acl username = <user>@<domain>
doveadm(<user>@<domain>): Debug: acl: owner = 0
doveadm(<user>@<domain>): Debug: acl vfile: Global ACLs disabled
doveadm(<user>@<domain>): Debug: Namespace users: type=shared,
prefix=user/%n/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=no
location=mdbox:%h/mdbox:INDEXPVT=~/shared/%u
doveadm(<user>@<domain>): Debug: shared: root=/run/dovecot, index=,
indexpvt=, control=, inbox=, alt=
doveadm(<user>@<domain>): Debug: acl: initializing backend with data: vfile
doveadm(<user>@<domain>): Debug: acl: acl username = <user>@<domain>
doveadm(<user>@<domain>): Debug: acl: owner = 0
doveadm(<user>@<domain>): Debug: acl vfile: Global ACLs disabled
doveadm(<user>@<domain>): Debug: Namespace subs: type=private, prefix=,
sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes
location=mdbox:~/mdbox
doveadm(<user>@<domain>): Debug: fs:
root=/var/dovecot/imap/<domain>/<user>/mdbox, index=, indexpvt=,
control=, inbox=, alt=
doveadm(<user>@<domain>): Debug: acl: initializing backend with data: vfile
doveadm(<user>@<domain>): Debug: acl: acl username = <user>@<domain>
doveadm(<user>@<domain>): Debug: acl: owner = 0
doveadm(<user>@<domain>): Debug: acl vfile: Global ACLs disabled
doveadm(<user>@<domain>): Debug: quota: quota_over_flag check:
quota_over_script unset - skipping
doveadm(<user>@<domain>): user-lookup(<user>@<domain>)Debug: Added
userdb setting: plugin/master_user=<user>@<domain>
doveadm(<user>@<domain>): user-lookup(<user>@<domain>)Debug: Added
userdb setting: plugin/userdb_acl_groups=admins@<domain>,hts
büro@<domain>,hts@<domain>
doveadm(<user>@<domain>): user-lookup(<user>@<domain>)Debug: Added
userdb setting: plugin/userdb_quota_rule=*:bytes=10485760000
doveadm(<user>@<domain>): Debug: Effective uid=90, gid=101,
home=/var/dovecot/imap/<domain>/<user>
doveadm(<user>@<domain>): Debug: Quota root: name=User quota
backend=dict
args=:ns=INBOX/:file:/var/dovecot/imap/<domain>/<user>/dovecot-quota
doveadm(<user>@<domain>): Debug: Quota rule: root=User quota mailbox=*
bytes=107374182400 messages=0
doveadm(<user>@<domain>): Debug: Quota grace: root=User quota
bytes=10737418240 (10%)
doveadm(<user>@<domain>): Debug: dict quota: user=<user>@<domain>,
uri=file:/var/dovecot/imap/<domain>/<user>/dovecot-quota, noenforcing=0
doveadm(<user>@<domain>): Debug: fs:
root=/var/dovecot/imap/<domain>/<user>.broken/mdbox, index=, indexpvt=,
control=, inbox=, alt=
doveadm(<user>@<domain>): Debug: acl: initializing backend with data: vfile
doveadm(<user>@<domain>): Debug: acl: acl username = <user>@<domain>
doveadm(<user>@<domain>): Debug: acl: owner = 0
doveadm(<user>@<domain>): Debug: acl vfile: Global ACLs disabled
doveadm(<user>@<domain>): Error: quota: Unknown namespace: INBOX/
doveadm(<user>@<domain>): Debug: quota: quota_over_flag check:
quota_over_script unset - skipping
doveadm(<user>@<domain>): Debug: acl vfile: file
/var/dovecot/imap/<domain>/<user>.broken/mdbox/mailboxes/INBOX/dbox-Mails/dovecot-acl
not found
doveadm(<user>@<domain>): Debug: acl vfile: file
/var/dovecot/imap/<domain>/<user>.broken/mdbox/mailboxes/dovecot-acl not
found
doveadm(<user>@<domain>): Debug: acl: Mailbox not in dovecot-acl-list:
MailboxA
doveadm(<user>@<domain>): Debug: acl: Mailbox not in dovecot-acl-list:
MailboxB
<skiped many more mailboxes/>
doveadm(<user>@<domain>): Debug: INBOX: Mailbox opened because: import
doveadm(<user>@<domain>): Debug: Namespace : Using permissions from
/var/dovecot/imap/<domain>/<user>/mdbox: mode=0700 gid=default
doveadm(<user>@<domain>): Debug: replication: Replication requested by
'mailbox subscribe', priority=1
doveadm(<user>@<domain>): Debug: INBOX/INBOX: Mailbox opened because: import
doveadm(<user>@<domain>): Debug: acl vfile: file
/var/dovecot/imap/<domain>/<user>/mdbox/mailboxes/INBOX/dbox-Mails/dovecot-acl
not found
doveadm(<user>@<domain>): Debug: acl vfile: file
/var/dovecot/imap/<domain>/<user>/mdbox/mailboxes/dovecot-acl not found
doveadm(<user>@<domain>): Error: Opening INBOX failed: Mailbox doesn't
exist: INBOX/INBOX
doveadm(<user>@<domain>): Error: Syncing mailbox INBOX/INBOX failed:
Opening INBOX failed: Mailbox doesn't exist: INBOX/INBOX
Any ideas what the problem could be and how to fix it?
Or what other information I can supply to help diagnose the problem.
Ralf
--
Ralf Becker
EGroupware GmbH [www.egroupware.org]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 631 31657-0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20170907/8726e262/attachment.sig>
More information about the dovecot
mailing list