search for: storage_class

Displaying 8 results from an estimated 8 matches for "storage_class".

2020 May 15
0
Fallback driver after autodection
....000000000 +0100 +++ src/lib-storage/mail-storage.c 2020-05-15 22:35:40.975992000 +0200 @@ -144,6 +144,10 @@ return classes[i]; } } + + if (set->fallback_driver != NULL) + return mail_storage_find_class(set->fallback_driver); + return NULL; } @@ -216,8 +220,10 @@ } storage_class = mail_storage_autodetect(ns, list_set); - if (storage_class != NULL) + if (storage_class != NULL) { + storage_class->v.get_list_settings(ns, list_set); return storage_class; + } (void)mail_user_get_home(ns->user, &home); if (home == NULL || *home == '\0') home = &quot...
2007 Jan 05
2
Dovecot rc15 crash in mbox-sync-update.c
...q = 433948, need_space_seq = 563200, expunged_space = -18024225394221448, space_diff = 2418925581670400, dest_first_mail = 0, first_mail_crlf_expunged = 0, delay_writes = 0} seq = 32386076 offset = 2516850835456 lock_id = 4294967295 ret = 788928 changed = 753960 #8 0x00069f24 in mail_storage_class_register (storage_class=0xb8128) at mail-storage.c:42 No locals. #9 0x00028fe0 in imap_sync_deinit (ctx=0xc09c0) at imap-sync.c:83 status = {messages = 706560, recent = 705536, unseen = 0, uidvalidity = 0, uidnext = 753216, first_unseen_seq = 0, keywords = 0x3e7} #10 0x00021248 in cmd_stat...
2017 Jan 10
0
multiple shared/mail format namespaces (segv identified + patch)
.../lib/dovecot/imap...done. [New LWP 13965] Core was generated by `dovecot/imap'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fbdaa15929a in __strcmp_sse2_unaligned () from /usr/lib/libc.so.6 (gdb) up #1 0x00007fbdaa820c50 in mail_storage_match_class (storage=0xdc5800, storage_class=0x7fbdaab715c0 <shared_storage>, set=0x7fff217d6030) at mail-storage.c:285 285 strcmp(storage->unique_root_dir, (gdb) print storage->unique_root_dir $1 = 0x0 (gdb) So the first argument passed to strcmp() was NULL. The offending part of code is: if ((storage->clas...
2013 Jun 09
1
v2.2.2 (266101990d63) Core Dump
...l_storage_create_full (ns=ns at entry=0x12673f0, driver=<optimized out>, driver at entry=0x7f305d7263a4 "raw", data=<optimized out>, flags=flags at entry=0, storage_r=storage_r at entry=0x7fff92c0d318, error_r=error_r at entry=0x7fff92c0d338) at mail-storage.c:397 storage_class = 0x7f305d95a560 storage = 0x126cb50 list = 0x1271800 list_set = {layout = 0x125b050 "none", root_dir = 0x125b048 "", index_dir = 0x0, index_pvt_dir = 0x0, control_dir = 0x0, alt_dir = 0x0, inbox_path = 0x0, subscription_fname = 0x7f305d72310d...
2009 Mar 24
2
Dbox Upgrade Problem With MAILBOXDIR
...80b1f12 in mail_storage_create (ns=0x9405900, driver=0x93fc030 "dbox", data=0xafe34e33 "/home/USER/Mail", user=0xafe34830 "USER", flags=MAIL_STORAGE_FLAG_NO_AUTODETECTION, lock_method=FILE_LOCK_METHOD_FCNTL, error_r=0xafe33304) at mail-storage.c:224 storage_class = (struct mail_storage *) 0x8128be0 storage = (struct mail_storage *) 0x9405d08 classes = (struct mail_storage * const *) 0xafe332a0 home = 0xa8007ff4 "|?\024" value = 0x2 <Address 0x2 out of bounds> i = 0 count = 1 #3 0x080b0815 in mail_namespaces_init (pool=0x94058e8,...
2017 Jan 10
2
[PATCH] mail-storage.c: check against NULL address in strcmp() invocation
...lib-storage/mail-storage.c b/src/lib-storage/mail-storage.c index 1d9b1bf..3d9f5dc 100644 --- a/src/lib-storage/mail-storage.c +++ b/src/lib-storage/mail-storage.c @@ -282,7 +282,7 @@ mail_storage_match_class(struct mail_storage *storage, return FALSE; if ((storage->class_flags & MAIL_STORAGE_CLASS_FLAG_UNIQUE_ROOT) != 0 && - strcmp(storage->unique_root_dir, + strcmp((storage->unique_root_dir != NULL ? storage->unique_root_dir : ""), (set->root_dir != NULL ? set->root_dir : "")) != 0) return FALSE; -- 2.1.3
2017 Jan 09
2
multiple shared/mail format namespaces
On January 2, 2017 at 5:58 PM Michal Soltys <soltys at ziu.info> wrote: >> >> >> Hi, >> >> Are configurations (with separate formats per namespace) - such as ... >> >> namespace { >> type = shared >> list = children >> inbox = no >> separator = / >> subscriptions = no >> prefix = shared1/%%n/
2013 Jul 17
1
pop3c migration?
Hi, I'm running dsync migrations using imapc and the source IMAP server is just too slow. It has taken 8 hours to migrate a mailbox with 47,000 messages. It seems most of the mailboxes are never accessed with IMAP, so it would be just as good to migrate them via POP3 which should work faster in my case. Is this actually meant to work? doveadm -D -o pop3c_user=xxxxxx at example.com -o