Missing IMAP folders after upgrading from 2.3.17 to 2.3.21.1
Hi,
I have upgraded from 2.3.17 to 2.3.21.1. mail_location = maildir
Now in some mailboxes are IMAP folder in subdir of INBOX missing. When I do a 'ls -la' in filesystem, I see the subfolder like other folder with identical owner an permissions. But when I do doveadm mailbox list -u [user] the IMAP folder is not displayed.
So I have deleted all files in /opt/dovecot/[hash]/[user] because I use INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX The restart dovecot and re-login the Imap client. All IMAP folders are rebuilt but the same folders like before are still missing.
Any ideas please?
thanks, Frank
doveconf -n # 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.21.1 (49005e73) # OS: Linux 5.15.149-1-pve x86_64 AlmaLinux release 8.10 (Cerulean Leopard) # Hostname: *** auth_verbose = yes disable_plaintext_auth = no doveadm_password = # hidden, use -P to show it first_valid_uid = 1000 imap_id_send = lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes lmtp_save_to_detail_mailbox = yes log_path = /var/log/dovecot.log login_greeting = IMAP ready. mail_fsync = always mail_full_filesystem_access = yes mail_gid = 1000 mail_home = /srv/mail/mail_storage2/%d/%n mail_location = maildir:~/mail:VOLATILEDIR=/dev/shm/dovecot/%2.256Nu/%u:INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX mail_plugins = " notify replication" mail_privileged_group = vpostfix mail_uid = 1000 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vacation-seconds mbox_write_locks = fcntl mmap_disable = yes namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Spam { auto = subscribe special_use = \Junk } mailbox Trash { special_use = \Trash } prefix = } passdb { args = scheme=CRYPT username_format=%u /etc/dovecot/users driver = passwd-file } plugin { recipient_delimiter = + replication_full_sync_interval = 1 hour sieve = file:~/sieve;active=~/.dovecot.sieve sieve_before = /etc/dovecot/spam-global.sieve sieve_extensions = +vacation-seconds sieve_vacation_default_period = 1d sieve_vacation_max_period = 30d sieve_vacation_min_period = 0 sieve_vacation_use_original_recipient = yes } postmaster_address = ***** protocols = imap pop3 lmtp sieve service aggregator { fifo_listener replication-notify-fifo { mode = 0666 user = vpostfix } unix_listener replication-notify { mode = 0666 user = vpostfix } } service auth { inet_listener { address = 192.168.130.192 port = 3659 } unix_listener /var/spool/postfix/private/auth { group = vpostfix mode = 0666 user = vpostfix } unix_listener auth-userdb { group = vpostfix mode = 0600 user = vpostfix } } service config { unix_listener config { user = vpostfix } } service doveadm { inet_listener { port = 4711 } user = vpostfix } service imap-login { process_min_avail = 1 service_count = 1 } service lmtp { inet_listener lmtp { address = 192.168.130.192 port = 24 } } service managesieve-login { inet_listener sieve { port = 4190 } } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0666 user = vpostfix } } ssl_alt_cert =
Have done a *doveadm -D force-resync -u username@tld.de '*'* In the debug log, the missing mailbox was not listed. It seems, that dovecot did not see this directory in the filesystem. How can I debug deeper into this problem?
Thanks, Frank
Am 21.10.2024 um 14:50 schrieb Frank Kirschner via dovecot:
Hi,
I have upgraded from 2.3.17 to 2.3.21.1. mail_location = maildir
Now in some mailboxes are IMAP folder in subdir of INBOX missing. When I do a 'ls -la' in filesystem, I see the subfolder like other folder with identical owner an permissions. But when I do doveadm mailbox list -u [user] the IMAP folder is not displayed.
So I have deleted all files in /opt/dovecot/[hash]/[user] because I use INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX The restart dovecot and re-login the Imap client. All IMAP folders are rebuilt but the same folders like before are still missing.
Any ideas please?
thanks, Frank
doveconf -n # 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.21.1 (49005e73) # OS: Linux 5.15.149-1-pve x86_64 AlmaLinux release 8.10 (Cerulean Leopard) # Hostname: *** auth_verbose = yes disable_plaintext_auth = no doveadm_password = # hidden, use -P to show it first_valid_uid = 1000 imap_id_send = lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes lmtp_save_to_detail_mailbox = yes log_path = /var/log/dovecot.log login_greeting = IMAP ready. mail_fsync = always mail_full_filesystem_access = yes mail_gid = 1000 mail_home = /srv/mail/mail_storage2/%d/%n mail_location = maildir:~/mail:VOLATILEDIR=/dev/shm/dovecot/%2.256Nu/%u:INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX mail_plugins = " notify replication" mail_privileged_group = vpostfix mail_uid = 1000 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vacation-seconds mbox_write_locks = fcntl mmap_disable = yes namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Spam { auto = subscribe special_use = \Junk } mailbox Trash { special_use = \Trash } prefix = } passdb { args = scheme=CRYPT username_format=%u /etc/dovecot/users driver = passwd-file } plugin { recipient_delimiter = + replication_full_sync_interval = 1 hour sieve = file:~/sieve;active=~/.dovecot.sieve sieve_before = /etc/dovecot/spam-global.sieve sieve_extensions = +vacation-seconds sieve_vacation_default_period = 1d sieve_vacation_max_period = 30d sieve_vacation_min_period = 0 sieve_vacation_use_original_recipient = yes } postmaster_address = ***** protocols = imap pop3 lmtp sieve service aggregator { fifo_listener replication-notify-fifo { mode = 0666 user = vpostfix } unix_listener replication-notify { mode = 0666 user = vpostfix } } service auth { inet_listener { address = 192.168.130.192 port = 3659 } unix_listener /var/spool/postfix/private/auth { group = vpostfix mode = 0666 user = vpostfix } unix_listener auth-userdb { group = vpostfix mode = 0600 user = vpostfix } } service config { unix_listener config { user = vpostfix } } service doveadm { inet_listener { port = 4711 } user = vpostfix } service imap-login { process_min_avail = 1 service_count = 1 } service lmtp { inet_listener lmtp { address = 192.168.130.192 port = 24 } } service managesieve-login { inet_listener sieve { port = 4190 } } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0666 user = vpostfix } } ssl_alt_cert =
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Does the missing folder have
cur, new, tmp
subdirectories?
Aki
On 22/10/2024 10:44 EEST Frank Kirschner via dovecot dovecot@dovecot.org wrote:
Have done a *doveadm -D force-resync -u username@tld.de '*'* In the debug log, the missing mailbox was not listed. It seems, that dovecot did not see this directory in the filesystem. How can I debug deeper into this problem?
Thanks, Frank
Am 21.10.2024 um 14:50 schrieb Frank Kirschner via dovecot:
Hi,
I have upgraded from 2.3.17 to 2.3.21.1. mail_location = maildir
Now in some mailboxes are IMAP folder in subdir of INBOX missing. When I do a 'ls -la' in filesystem, I see the subfolder like other folder with identical owner an permissions. But when I do doveadm mailbox list -u [user] the IMAP folder is not displayed.
So I have deleted all files in /opt/dovecot/[hash]/[user] because I use INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX The restart dovecot and re-login the Imap client. All IMAP folders are rebuilt but the same folders like before are still missing.
Any ideas please?
thanks, Frank
doveconf -n # 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.21.1 (49005e73) # OS: Linux 5.15.149-1-pve x86_64 AlmaLinux release 8.10 (Cerulean Leopard) # Hostname: *** auth_verbose = yes disable_plaintext_auth = no doveadm_password = # hidden, use -P to show it first_valid_uid = 1000 imap_id_send = lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes lmtp_save_to_detail_mailbox = yes log_path = /var/log/dovecot.log login_greeting = IMAP ready. mail_fsync = always mail_full_filesystem_access = yes mail_gid = 1000 mail_home = /srv/mail/mail_storage2/%d/%n mail_location = maildir:~/mail:VOLATILEDIR=/dev/shm/dovecot/%2.256Nu/%u:INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX mail_plugins = " notify replication" mail_privileged_group = vpostfix mail_uid = 1000 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vacation-seconds mbox_write_locks = fcntl mmap_disable = yes namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Spam { auto = subscribe special_use = \Junk } mailbox Trash { special_use = \Trash } prefix = } passdb { args = scheme=CRYPT username_format=%u /etc/dovecot/users driver = passwd-file } plugin { recipient_delimiter = + replication_full_sync_interval = 1 hour sieve = file:~/sieve;active=~/.dovecot.sieve sieve_before = /etc/dovecot/spam-global.sieve sieve_extensions = +vacation-seconds sieve_vacation_default_period = 1d sieve_vacation_max_period = 30d sieve_vacation_min_period = 0 sieve_vacation_use_original_recipient = yes } postmaster_address = ***** protocols = imap pop3 lmtp sieve service aggregator { fifo_listener replication-notify-fifo { mode = 0666 user = vpostfix } unix_listener replication-notify { mode = 0666 user = vpostfix } } service auth { inet_listener { address = 192.168.130.192 port = 3659 } unix_listener /var/spool/postfix/private/auth { group = vpostfix mode = 0666 user = vpostfix } unix_listener auth-userdb { group = vpostfix mode = 0600 user = vpostfix } } service config { unix_listener config { user = vpostfix } } service doveadm { inet_listener { port = 4711 } user = vpostfix } service imap-login { process_min_avail = 1 service_count = 1 } service lmtp { inet_listener lmtp { address = 192.168.130.192 port = 24 } } service managesieve-login { inet_listener sieve { port = 4190 } } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0666 user = vpostfix } } ssl_alt_cert =
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
yes:
# ls -la .INBOX.KUNDEN.Stay\ Sick\ Records/ total 56 drwxrwxrwx 5 vpostfix vpostfix 8 Oct 18 13:30 . drwxrwxrwx 62 vpostfix vpostfix 67 Oct 22 09:55 .. drwxrwxrwx 2 vpostfix vpostfix 32 Oct 15 14:40 cur -rwxrwxrwx 1 vpostfix vpostfix 13 Jun 23 2023 dovecot-keywords -rwxrwxrwx 1 vpostfix vpostfix 2250 Oct 15 14:40 dovecot-uidlist -rwxrwxrwx 1 vpostfix vpostfix 0 Jun 5 2023 maildirfolder drwxrwxrwx 2 vpostfix vpostfix 2 Jun 5 2023 new drwxrwxrwx 2 vpostfix vpostfix 2 Oct 15 14:40 tmp
Am 22.10.2024 um 09:47 schrieb Aki Tuomi via dovecot:
Does the missing folder have
cur, new, tmp
subdirectories?
Aki
On 22/10/2024 10:44 EEST Frank Kirschner via dovecotdovecot@dovecot.org wrote:
Have done a *doveadm -D force-resync -uusername@tld.de '*'* In the debug log, the missing mailbox was not listed. It seems, that dovecot did not see this directory in the filesystem. How can I debug deeper into this problem?
Thanks, Frank
Am 21.10.2024 um 14:50 schrieb Frank Kirschner via dovecot:
Hi,
I have upgraded from 2.3.17 to 2.3.21.1. mail_location = maildir
Now in some mailboxes are IMAP folder in subdir of INBOX missing. When I do a 'ls -la' in filesystem, I see the subfolder like other folder with identical owner an permissions. But when I do doveadm mailbox list -u [user] the IMAP folder is not displayed.
So I have deleted all files in /opt/dovecot/[hash]/[user] because I use INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX The restart dovecot and re-login the Imap client. All IMAP folders are rebuilt but the same folders like before are still missing.
Any ideas please?
thanks, Frank
doveconf -n # 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.21.1 (49005e73) # OS: Linux 5.15.149-1-pve x86_64 AlmaLinux release 8.10 (Cerulean Leopard) # Hostname: *** auth_verbose = yes disable_plaintext_auth = no doveadm_password = # hidden, use -P to show it first_valid_uid = 1000 imap_id_send = lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes lmtp_save_to_detail_mailbox = yes log_path = /var/log/dovecot.log login_greeting = IMAP ready. mail_fsync = always mail_full_filesystem_access = yes mail_gid = 1000 mail_home = /srv/mail/mail_storage2/%d/%n mail_location = maildir:~/mail:VOLATILEDIR=/dev/shm/dovecot/%2.256Nu/%u:INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX mail_plugins = " notify replication" mail_privileged_group = vpostfix mail_uid = 1000 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vacation-seconds mbox_write_locks = fcntl mmap_disable = yes namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Spam { auto = subscribe special_use = \Junk } mailbox Trash { special_use = \Trash } prefix = } passdb { args = scheme=CRYPT username_format=%u /etc/dovecot/users driver = passwd-file } plugin { recipient_delimiter = + replication_full_sync_interval = 1 hour sieve =file:~/sieve;active=~/.dovecot.sieve sieve_before = /etc/dovecot/spam-global.sieve sieve_extensions = +vacation-seconds sieve_vacation_default_period = 1d sieve_vacation_max_period = 30d sieve_vacation_min_period = 0 sieve_vacation_use_original_recipient = yes } postmaster_address = ***** protocols = imap pop3 lmtp sieve service aggregator { fifo_listener replication-notify-fifo { mode = 0666 user = vpostfix } unix_listener replication-notify { mode = 0666 user = vpostfix } } service auth { inet_listener { address = 192.168.130.192 port = 3659 } unix_listener /var/spool/postfix/private/auth { group = vpostfix mode = 0666 user = vpostfix } unix_listener auth-userdb { group = vpostfix mode = 0600 user = vpostfix } } service config { unix_listener config { user = vpostfix } } service doveadm { inet_listener { port = 4711 } user = vpostfix } service imap-login { process_min_avail = 1 service_count = 1 } service lmtp { inet_listener lmtp { address = 192.168.130.192 port = 24 } } service managesieve-login { inet_listener sieve { port = 4190 } } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0666 user = vpostfix } } ssl_alt_cert =
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
Have tried an import from filesystem: # doveadm -D import -u user@tld.de maildir:/srv/mail/mail_storage2/tld.de/user/mail/.INBOX.KUNDEN.Stay\ Sick\ Records/ "" all Debug: Loading modules from directory: /usr/lib64/dovecot/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/lib64/dovecot/doveadm/lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Oct 23 08:04:32 Debug: Loading modules from directory: /usr/lib64/dovecot Oct 23 08:04:32 Debug: Module loaded: /usr/lib64/dovecot/lib15_notify_plugin.so Oct 23 08:04:32 Debug: Loading modules from directory: /usr/lib64/dovecot/doveadm Oct 23 08:04:32 Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Oct 23 08:04:32 Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message) Oct 23 08:04:32 Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Oct 23 08:04:32 Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Oct 23 08:04:32 Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: auth-master: userdb lookup(user@tld.de): Started userdb lookup Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: auth-master: conn unix:/run/dovecot/auth-userdb: Connecting Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: auth-master: conn unix:/run/dovecot/auth-userdb (pid=706824,uid=0): Client connected (fd=9) Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: auth-master: userdb lookup(user@tld.de): auth USER input: user@tld.de Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: auth-master: userdb lookup(user@tld.de): Finished userdb lookup (username=user@tld.de ) Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: Added userdb setting: plugin/=yes Oct 23 08:04:32 doveadm(user@tld.de): Debug: Effective uid=1000, gid=1000, home=/srv/mail/mail_storage2/tld.de/user Oct 23 08:04:32 doveadm(user@tld.de): Debug: open(/proc/self/io) failed: Permission denied Oct 23 08:04:32 doveadm(user@tld.de): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/mail:VOLATILEDIR=/dev/shm/dovecot/5e/user@tld.de:INDEX=/opt/dovecot/5e/user@tld.de:ITERINDEX Oct 23 08:04:32 doveadm(user@tld.de): Debug: maildir++: root=/srv/mail/mail_storage2/tld.de/user/mail, index=/opt/dovecot/5e/user@tld.de, indexpvt=, control=, inbox=/srv/mail/mail_storage2/tld.de/user/mail, alt= Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: auth-master: userdb lookup(user@tld.de): Started userdb lookup Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: auth-master: userdb lookup(user@tld.de): auth USER input: user@tld.de Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: auth-master: userdb lookup(user@tld.de): Finished userdb lookup (username=user@tld.de ) Oct 23 08:04:32 doveadm(user@tld.de)<925799><>: Debug: Added userdb setting: plugin/=yes Oct 23 08:04:32 doveadm(user@tld.de): Debug: Effective uid=1000, gid=1000, home=/srv/mail/mail_storage2/tld.de/user Oct 23 08:04:32 doveadm(user@tld.de): Debug: open(/proc/self/io) failed: Permission denied Oct 23 08:04:32 doveadm(user@tld.de): Debug: maildir++: root=/srv/mail/mail_storage2/tld.de/user/mail/.INBOX.KUNDEN.Stay Sick Records, index=, indexpvt=, control=, inbox=/srv/mail/mail_storage2/tld.de/user/mail/.INBOX.KUNDEN.Stay Sick Records, alt= Oct 23 08:04:32 doveadm(user@tld.de): Debug: Mailbox INBOX: Mailbox opened Oct 23 08:04:32 doveadm(user@tld.de): Debug: Namespace : Using permissions from /opt/dovecot/5e/user@tld.de: mode=0700 gid=default Oct 23 08:04:32 doveadm(user@tld.de): Debug: Mailbox INBOX: Mailbox opened Oct 23 08:04:32 doveadm(user@tld.de): Debug: import: box=INBOX uid=33 Oct 23 08:04:32 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 33: Opened mail because: copying Oct 23 08:04:32 doveadm(user@tld.de): Debug: import: box=INBOX uid=34 Oct 23 08:04:32 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 34: Opened mail because: copying Oct 23 08:04:32 doveadm(user@tld.de): Debug: import: box=INBOX uid=35 Oct 23 08:04:32 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 35: Opened mail because: copying Oct 23 08:04:32 doveadm(user@tld.de): Debug: import: box=INBOX uid=36 Oct 23 08:04:32 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 36: Opened mail because: copying Oct 23 08:04:32 doveadm(user@tld.de): Debug: import: box=INBOX uid=37 Oct 23 08:04:32 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 37: Opened mail because: copying Oct 23 08:04:32 doveadm(user@tld.de): Debug: import: box=INBOX uid=38 Oct 23 08:04:32 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 38: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=39 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 39: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=40 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 40: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=41 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 41: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=42 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 42: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=43 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 43: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=44 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 44: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=45 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 45: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=46 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 46: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=47 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 47: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=48 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 48: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=49 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 49: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=50 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 50: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=51 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 51: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=52 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 52: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=53 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 53: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=54 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 54: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=55 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 55: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=56 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 56: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=57 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 57: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=58 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 58: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=59 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 59: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=60 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 60: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=61 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 61: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: import: box=INBOX uid=62 Oct 23 08:04:33 doveadm(user@tld.de): Debug: Mailbox INBOX: UID 62: Opened mail because: copying Oct 23 08:04:33 doveadm(user@tld.de): Debug: User session is finished Oct 23 08:04:33 doveadm(user@tld.de): Debug: User session is finished Oct 23 08:04:33 doveadm(user@tld.de): Debug: auth-master: conn unix:/run/dovecot/auth-userdb (pid=706824,uid=0): Disconnected: Connection closed (fd=9) So far, so good, after this I have done a " doveadm -D force-resync -u user@tld.de '*' " but a IMAP folder will not be published: # doveadm -D mailbox list -u user@tld.de Debug: Loading modules from directory: /usr/lib64/dovecot/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/lib64/dovecot/doveadm/lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Oct 23 08:10:33 Debug: Loading modules from directory: /usr/lib64/dovecot Oct 23 08:10:33 Debug: Module loaded: /usr/lib64/dovecot/lib15_notify_plugin.so Oct 23 08:10:33 Debug: Loading modules from directory: /usr/lib64/dovecot/doveadm Oct 23 08:10:33 Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Oct 23 08:10:33 Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message) Oct 23 08:10:33 Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Oct 23 08:10:33 Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Oct 23 08:10:33 Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Oct 23 08:10:33 doveadm(user@tld.de)<926753><>: Debug: auth-master: userdb lookup(user@tld.de): Started userdb lookup Oct 23 08:10:33 doveadm(user@tld.de)<926753><>: Debug: auth-master: conn unix:/run/dovecot/auth-userdb: Connecting Oct 23 08:10:33 doveadm(user@tld.de)<926753><>: Debug: auth-master: conn unix:/run/dovecot/auth-userdb (pid=706824,uid=0): Client connected (fd=9) Oct 23 08:10:33 doveadm(user@tld.de)<926753><>: Debug: auth-master: userdb lookup(user@tld.de): auth USER input: user@tld.de Oct 23 08:10:33 doveadm(user@tld.de)<926753><>: Debug: auth-master: userdb lookup(user@tld.de): Finished userdb lookup (username=user@tld.de ) Oct 23 08:10:33 doveadm(user@tld.de)<926753><>: Debug: Added userdb setting: plugin/=yes Oct 23 08:10:33 doveadm(user@tld.de): Debug: Effective uid=1000, gid=1000, home=/srv/mail/mail_storage2/tld.de/user Oct 23 08:10:33 doveadm(user@tld.de): Debug: open(/proc/self/io) failed: Permission denied Oct 23 08:10:33 doveadm(user@tld.de): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/mail:VOLATILEDIR=/dev/shm/dovecot/5e/user@tld.de:INDEX=/opt/dovecot/5e/user@tld.de:ITERINDEX Oct 23 08:10:33 doveadm(user@tld.de): Debug: maildir++: root=/srv/mail/mail_storage2/tld.de/user/mail, index=/opt/dovecot/5e/user@tld.de, indexpvt=, control=, inbox=/srv/mail/mail_storage2/tld.de/user/mail, alt= Oct 23 08:10:33 doveadm(user@tld.de): Debug: User session is finished Drafts Templates Spam Sent Archives Trash Trash.Ma*** Trash.Je*** Trash.Cu*** Trash.Fr*** INBOX.Infos INBOX.Infos.Ro*** INBOX.Infos.PE*** INBOX.Infos.VO*** INBOX.Infos.TO*** INBOX.Infos.GL*** INBOX.Infos.Ce*** INBOX.Infos.UR*** INBOX.Infos.Eu*** INBOX.Infos.DH*** INBOX.Infos.RO*** INBOX.Infos.SC*** INBOX.Infos.Tr*** INBOX.KUNDEN INBOX.KUNDEN.Th*** INBOX.KUNDEN.AN*** INBOX.KUNDEN.So*** INBOX.KUNDEN.Ro*** INBOX.KUNDEN.So*** INBOX.KUNDEN.DJ*** INBOX.KUNDEN.Se*** INBOX.KUNDEN.Ca*** INBOX.KUNDEN.On*** INBOX.KUNDEN.An*** INBOX.KUNDEN.Cu*** INBOX.KUNDEN.CS*** INBOX.KUNDEN.Ju*** INBOX.KUNDEN.SO*** INBOX.KUNDEN.Ca*** INBOX.KUNDEN.Ca***.Ni*** INBOX.KUNDEN.Na*** INBOX.KUNDEN.Os*** INBOX.KUNDEN.Cl*** INBOX.KUNDEN.Du*** INBOX.KUNDEN.Fl*** INBOX.KUNDEN.ZY*** INBOX.KUNDEN.___ARCHIV 2024___ INBOX.KUNDEN.___ARCHIV 2024___.Cu*** INBOX.KUNDEN.___ARCHIV 2024___.Du*** INBOX.KUNDEN.___ARCHIV 2024___.Je*** INBOX.KUNDEN.___ARCHIV 2024___.Ot*** INBOX.KUNDEN.___ARCHIV 2024___.Ro*** INBOX.KUNDEN.___ARCHIV 2024___.Fr*** INBOX.KUNDEN.___ARCHIV 2024___.Ma*** INBOX.KUNDEN.Se*** INBOX Oct 23 08:10:33 doveadm(user@tld.de): Debug: auth-master: conn unix:/run/dovecot/auth-userdb (pid=706824,uid=0): Disconnected: Connection closed (fd=9) I have no Ideas, what the problem could be. There are a lot of folders in filesystem, which are not presented by IMAP folder listing. Am 22.10.2024 um 10:00 schrieb Frank Kirschner via dovecot:
yes:
# ls -la .INBOX.KUNDEN.Stay\ Sick\ Records/ total 56 drwxrwxrwx 5 vpostfix vpostfix 8 Oct 18 13:30 . drwxrwxrwx 62 vpostfix vpostfix 67 Oct 22 09:55 .. drwxrwxrwx 2 vpostfix vpostfix 32 Oct 15 14:40 cur -rwxrwxrwx 1 vpostfix vpostfix 13 Jun 23 2023 dovecot-keywords -rwxrwxrwx 1 vpostfix vpostfix 2250 Oct 15 14:40 dovecot-uidlist -rwxrwxrwx 1 vpostfix vpostfix 0 Jun 5 2023 maildirfolder drwxrwxrwx 2 vpostfix vpostfix 2 Jun 5 2023 new drwxrwxrwx 2 vpostfix vpostfix 2 Oct 15 14:40 tmp
Am 22.10.2024 um 09:47 schrieb Aki Tuomi via dovecot:
Does the missing folder have
cur, new, tmp
subdirectories?
Aki
On 22/10/2024 10:44 EEST Frank Kirschner via dovecot
wrote: Have done a *doveadm -D force-resync -uusername@tld.de '*'* In the debug log, the missing mailbox was not listed. It seems, that dovecot did not see this directory in the filesystem. How can I debug deeper into this problem?
Thanks, Frank
Am 21.10.2024 um 14:50 schrieb Frank Kirschner via dovecot:
Hi,
I have upgraded from 2.3.17 to 2.3.21.1. mail_location = maildir
Now in some mailboxes are IMAP folder in subdir of INBOX missing. When I do a 'ls -la' in filesystem, I see the subfolder like other folder with identical owner an permissions. But when I do doveadm mailbox list -u [user] the IMAP folder is not displayed.
So I have deleted all files in /opt/dovecot/[hash]/[user] because I use INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX The restart dovecot and re-login the Imap client. All IMAP folders are rebuilt but the same folders like before are still missing.
Any ideas please?
thanks, Frank
doveconf -n # 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.21.1 (49005e73) # OS: Linux 5.15.149-1-pve x86_64 AlmaLinux release 8.10 (Cerulean Leopard) # Hostname: *** auth_verbose = yes disable_plaintext_auth = no doveadm_password = # hidden, use -P to show it first_valid_uid = 1000 imap_id_send = lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes lmtp_save_to_detail_mailbox = yes log_path = /var/log/dovecot.log login_greeting = IMAP ready. mail_fsync = always mail_full_filesystem_access = yes mail_gid = 1000 mail_home = /srv/mail/mail_storage2/%d/%n mail_location = maildir:~/mail:VOLATILEDIR=/dev/shm/dovecot/%2.256Nu/%u:INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX
mail_plugins = " notify replication" mail_privileged_group = vpostfix mail_uid = 1000 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vacation-seconds mbox_write_locks = fcntl mmap_disable = yes namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Spam { auto = subscribe special_use = \Junk } mailbox Trash { special_use = \Trash } prefix = } passdb { args = scheme=CRYPT username_format=%u /etc/dovecot/users driver = passwd-file } plugin { recipient_delimiter = + replication_full_sync_interval = 1 hour sieve =file:~/sieve;active=~/.dovecot.sieve sieve_before = /etc/dovecot/spam-global.sieve sieve_extensions = +vacation-seconds sieve_vacation_default_period = 1d sieve_vacation_max_period = 30d sieve_vacation_min_period = 0 sieve_vacation_use_original_recipient = yes } postmaster_address = ***** protocols = imap pop3 lmtp sieve service aggregator { fifo_listener replication-notify-fifo { mode = 0666 user = vpostfix } unix_listener replication-notify { mode = 0666 user = vpostfix } } service auth { inet_listener { address = 192.168.130.192 port = 3659 } unix_listener /var/spool/postfix/private/auth { group = vpostfix mode = 0666 user = vpostfix } unix_listener auth-userdb { group = vpostfix mode = 0600 user = vpostfix } } service config { unix_listener config { user = vpostfix } } service doveadm { inet_listener { port = 4711 } user = vpostfix } service imap-login { process_min_avail = 1 service_count = 1 } service lmtp { inet_listener lmtp { address = 192.168.130.192 port = 24 } } service managesieve-login { inet_listener sieve { port = 4190 } } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0666 user = vpostfix } } ssl_alt_cert =
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
On 21. Oct 2024, at 15.50, Frank Kirschner via dovecot dovecot@dovecot.org wrote:
Hi,
I have upgraded from 2.3.17 to 2.3.21.1. mail_location = maildir
Now in some mailboxes are IMAP folder in subdir of INBOX missing. When I do a 'ls -la' in filesystem, I see the subfolder like other folder with identical owner an permissions. But when I do doveadm mailbox list -u [user] the IMAP folder is not displayed.
So I have deleted all files in /opt/dovecot/[hash]/[user] because I use INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX The restart dovecot and re-login the Imap client. All IMAP folders are rebuilt but the same folders like before are still missing.
ITERINDEX lists the IMAP folders using the directories that exist in INDEX path. If you delete the index directories, it shouldn't be showing you any IMAP folders. Does the problem go away simply removing the ITERINDEX, or why are you using it?
participants (3)
-
Aki Tuomi
-
Frank Kirschner
-
Timo Sirainen