[Dovecot] bug in dsync
Hi, I'm trying to convert mailboxes from mbox zu mdbox. The following command was performed:
dsync mirror -u tsdauche mbox:~/.NCmail/Drafts dsync(tsdauche): Fatal: execvp(-u) failed: No such file or directory dsync(tsdauche): Panic: file dsync-worker-local.c: line 185 (dsync_drop_extra_namespaces): assertion failed: (ns != NULL) [1] Abort trap (core dumped) dsync mirror -u tsdauche mbox:~/.NCmail/Drafts
I also tried other combinations with dsync, but they all fail... :( I'm sending the core file and the conf output with this mail. Hope you can find out whats the problem, thanks a lot! Tobi
Dr. Nagler & Company GmbH Hauptstraße 9 92253 Schnaittenbach
Tel : 09622-7197-38 Fax : 09622-7197-50 Handy: 0160-5348073 Web : http://www.nagler-company.com E-Mail : tobias.daucher@nagler-company.com
Amberg HRB 2845 Gerichtsstand Amberg Steuernummer 201/118/51809 USt.-ID-Nummer DE 813066264 Geschäftsführer: Dr. Martin Nagler
dovecot.conf
# 2.0.3: /usr/local/etc/dovecot/dovecot.conf # OS: NetBSD 5.0.2 amd64 auth_cache_size = 10485760 auth_cache_ttl = 36000 s auth_mechanisms = plain login auth_socket_path = /var/run/dovecot/auth-userdb auth_verbose = yes base_dir = /var/run/dovecot/ debug_log_path = /var/tmp/dovecot-debug-log default_internal_user = open-xchange default_login_user = open-xchange deliver_log_format = msgid=%m: %$ From = %f Size = %p disable_plaintext_auth = no dotlock_use_excl = yes hostname = s051 info_log_path = syslog lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * mail_plugin_dir = /usr/lib/dovecot mdbox_rotate_size = 209715200 namespace { hidden = yes inbox = no list = yes location = mdbox:%h/.NCmailmd prefix = NCmailmd/ separator = / subscriptions = yes type = private } namespace { hidden = yes inbox = yes list = children location = mdbox:/var/mail/%u prefix = _INBOX_/ separator = / subscriptions = yes type = private } namespace { hidden = yes inbox = no list = yes location = mbox:%h/.NCmailmd/ARCHIV prefix = ARCHIV/ separator = / subscriptions = yes type = private } namespace { hidden = yes inbox = no list = children location = mdbox:%h/.NONEXISTENT no_storage_autocreate = yes no_storage_autodetect = yes prefix = NONEXISTENT/ separator = / subscriptions = yes type = private } passdb { driver = passwd } postmaster_address = postmaster@nagler-company.com protocols = imap quota_full_tempfail = yes sendmail_path = /usr/pkg/libexec/sendmail/sendmail service auth-worker { user = root } service auth { unix_listener auth-userdb { group = mode = 0666 user = } user = $default_internal_user } service imap-login { process_min_avail = 1 service_count = 0 vsz_limit = 67108864 } service imap { process_limit = 1024 vsz_limit = 268435456 } ssl = no userdb { driver = passwd } verbose_proctitle = yes protocol imap { imap_client_workarounds = delay-newmail imap_idle_notify_interval = 120 s imap_logout_format = bytes=%i/%o imap_max_line_length = 65536 mail_max_userip_connections = 0 mail_plugins = }
On Wed, 2010-10-13 at 07:55 +0200, Tobias Daucher wrote:
Hi, I'm trying to convert mailboxes from mbox zu mdbox. The following command was performed:
dsync mirror -u tsdauche mbox:~/.NCmail/Drafts
dsync -u tsdauche mirror mbox:~/.NCmail/Drafts
dsync(tsdauche): Panic: file dsync-worker-local.c: line 185 (dsync_drop_extra_namespaces): assertion failed: (ns != NULL) [1] Abort trap (core dumped) dsync mirror -u tsdauche
This is strange though.
Anyway, with your config I get an error instead of the above crash:
dsync(tss): Fatal: All your namespaces have a location setting. It should be empty (default mail_location) in the namespace to be converted.
Am 14.10.2010 18:33, schrieb Timo Sirainen:
On Wed, 2010-10-13 at 07:55 +0200, Tobias Daucher wrote:
Hi, I'm trying to convert mailboxes from mbox zu mdbox. The following command was performed:
dsync mirror -u tsdauche mbox:~/.NCmail/Drafts
dsync -u tsdauche mirror mbox:~/.NCmail/Drafts
dsync(tsdauche): Panic: file dsync-worker-local.c: line 185 (dsync_drop_extra_namespaces): assertion failed: (ns != NULL) [1] Abort trap (core dumped) dsync mirror -u tsdauche
This is strange though.
Anyway, with your config I get an error instead of the above crash:
dsync(tss): Fatal: All your namespaces have a location setting. It should be empty (default mail_location) in the namespace to be converted.
I tried this right now... i commented out the location from one namespace... put you line to the shell... exactly the same error... thanks but this was not the fault...
--
Dr. Nagler & Company GmbH Hauptstraße 9 92253 Schnaittenbach
Tel : 09622-7197-38 Fax : 09622-7197-50 Handy: 0160-5348073 Web : http://www.nagler-company.com E-Mail : tobias.daucher@nagler-company.com
Amberg HRB 2845 Gerichtsstand Amberg Steuernummer 201/118/51809 USt.-ID-Nummer DE 813066264 Geschäftsführer: Dr. Martin Nagler
participants (2)
-
Timo Sirainen
-
Tobias Daucher