search for: mailbox_alloc

Displaying 20 results from an estimated 22 matches for "mailbox_alloc".

2012 Mar 06
3
bug uni_utf8_str_is_valid(vname)
...a, We are expiriencing issues with dovecot 2.1.1 on Linux with weird filenames in home directory of username. We are using mbox IMAP folders, with no special changes (mail_location = mbox:~/:INBOX=%h/.mailbox). Mar 6 13:37:17 machine dovecot: imap(username): Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion failed: (uni_utf8_str_is_valid(vname)) Mar 6 13:37:17 machine dovecot: imap(username): Error: Raw backtrace: /opt/dovecot-2.1.1/lib/dovecot/libdovecot.so.0 [0x2ba41cb79450] -> /opt/dovecot-2.1.1/lib/dovecot/libdovecot.so.0 [0x2ba41cb794a6] -> /opt/dovecot-2.1.1/lib/dovecot/libdov...
2012 Jan 25
4
Crash on mail folder delete
...5fe9f5ff5a] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0x47287) [0x7f5fea214287] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0x6c71) [0x7f5fe8b9cc71] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0x6d47) [0x7f5fe8b9cd47] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(acl_mailbox_allocated+0x9e) [0x7f5fe8ba061e] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(hook_mailbox_allocated+0x62) [0x7f5fea2085b2] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_alloc+0xb2) [0x7f5fea2073d2] -> dovecot/imap [dmiller at amfes.com 192.168.0.91 delete](cmd_delete+0x72...
2010 Nov 26
1
Mailbox Delete
...ething in this function, like delete something else.... static void emexis_antispam_mailbox_delete(struct mail_namespace *namespaces, const char *name) { struct mail_namespace *ns; struct mailbox *box; ns = mail_namespace_find(namespaces, &name); if (ns != NULL){ box = mailbox_alloc(ns->list, name, 0); if (mailbox_delete(box) < 0) { struct mail_storage *storage = mailbox_get_storage(box); i_error("Can't delete mailbox %s: %s", name,mail_storage_get_last_error(storage, NULL)); } if (mailbox_...
2011 Dec 04
0
Core Dump upon IMAP Login with latest HG (2.1) c067025026ed
...by pid=31013 uid=0 code=kill) [ GDB Backtrace] #0 0x00007fa68d36f978 in mailbox_settings_find (user=0x22162f0, vname=0x21ec318 "INBOX") at mail-storage.c:610 box_set__foreach_end = <value optimized out> box_set = <value optimized out> #1 0x00007fa68d371003 in mailbox_alloc (list=<value optimized out>, vname=0x21ec318 "INBOX", flags=MAILBOX_FLAG_DROP_RECENT) at mail-storage.c:643 _data_stack_cur_id = 4 new_list = 0x22149b0 storage = 0x221b760 box = 0x222a9f0 __FUNCTION__ = "mailbox_alloc" #2 0x000000000040d...
2012 Aug 24
3
quota: ignore deleted messages (?)
Hi! I am currently in the process of preparing a migration of our old Courier-based IMAP/POP server setup to a Dovecot-based one. During this process I came across the following problem with the difference Courier and Dovecot handle deleted messages and mail quota. Quote from http://www.courier-mta.org/imap/README.maildirquota.html: ,---- | The default application configuration that uses this
2020 Oct 31
3
v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed)
On 10/18/20 10:28 PM, Aki Tuomi wrote: >> doveadm(myuser at example.com): Panic: file mail-storage.c: line 2112 (mailbox_get_open_status): assertion failed: (box->opened) ... > I can reproduce your problem with the `fts lookup` command. Luckily it's equivalent to running `doveadm search`. I'll open a bug about this. Can you provide any status on the bug/fix? Thanks.
2023 Feb 15
1
crash when trying to upgrade from 2.0.x to 2.3.x
...bol5846 + 33 frame #6: 0x0000000011378ceb libdovecot.so.0`i_panic + 187 frame #7: 0x000000001136a514 libdovecot.so.0`array_idx_modifiable_i + 100 frame #8: 0x0000000012054a78 lib20_fts_plugin.so`fts_user_autoindex_exclude + 72 frame #9: 0x0000000012051b3b lib20_fts_plugin.so`fts_mailbox_allocated + 267 frame #10: 0x000000001113ad0b libdovecot-storage.so.0`hook_mailbox_allocated + 155 frame #11: 0x0000000011134491 libdovecot-storage.so.0`mailbox_alloc + 449 frame #12: 0x0000000001044311 imap`cmd_select_full + 353 frame #13: 0x000000000104cd92 imap`command_exec + 178...
2012 Jan 11
2
(no subject)
...by only hooking the places I need to, filtering out as many false positives as I can without introducing massive complexity, and only pinging the UDP server when it's most likely to notice a change in the state of that user's voicemail server. It seems to me that I need to at least capture mailbox_allocated from the mail_storage hooks, for a couple reasons: 1. The state of the voicemail folder could be changed because the entire folder is created, destroyed, or renamed. 2. I want to only do further checks when I'm sure I'm looking at the voicemail...
2015 Jan 04
0
[PATCH] LAYOUT=imapdir is broken in v2.2
...e upgrading a dovecot install from 1.2.15 (squeeze) to 2.2.13 (jessie). This upstream commit author Timo Sirainen <tss at iki.fi> Thu Jan 20 20:59:07 2011 +0200 (2011-01-20) changeset 12586 a2780b694b2d parent 12585 b748c622e896 child 12587 c3a258ee96c4 lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes. All storage_name <-> vname conversions now go through the same two mailbox_list methods. This has many benefits, such as: * listescape plugin is now much simpler and bugfree * allows changing lib-storage API to...
2012 May 26
1
Crash on force-resync if / is given as mailbox name
...x7f1250b797ca] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7f1250b798b2] -> /usr/lib/dovecot/libdovecot.so.0(+0x13e4a) [0x7f1250b52e4a] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x364a7) [0x7f12512384a7] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_storage_mailbox_alloc+0x13c) [0x7f125124a89c] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_mailbox_alloc+0x9a) [0x7f1251258eaa] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_alloc+0x5d) [0x7f125122c8bd] -> doveadm() [0x40a1fb] -> doveadm() [0x40a2c2] -> doveadm() [0x40a753] -> doveadm(dovead...
2020 Oct 31
0
v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed) [proposed patch]
...tch/src/plugins/fts/doveadm-fts.c --- dovecot-2.3.11.3-orig/src/plugins/fts/doveadm-fts.c??? 2020-08-12 14:20:41.000000000 +0200 +++ dovecot-2.3.11.3-patch/src/plugins/fts/doveadm-fts.c??? 2020-10-31 17:52:09.019388695 +0100 @@ -47,6 +47,14 @@ ???? i_array_init(&result.scores, 16); ? ???? box = mailbox_alloc(info->ns->list, info->vname, 0); +??? mailbox_set_reason(box,"fts search"); +??? if (mailbox_open(box) < 0) { +??? ??? i_error("Couldn't open mailbox: %s", +??? ??? ??? mailbox_get_last_internal_error(box, NULL)); +??? ??? doveadm_mail_failed_error(ctx, MAIL_ERRO...
2013 Aug 01
1
[PATCH] quota-status: allow different action for messages that are too large (over maximum quota)
...user *user, uoff_t mail_size, const char **error_r, bool *too_large) { struct quota_user *quser = QUOTA_USER_CONTEXT(user); struct mail_namespace *ns; struct mailbox *box; struct quota_transaction_context *ctx; - bool too_large; int ret; if (quser == NULL) { @@ -64,7 +63,7 @@ box = mailbox_alloc(ns->list, "INBOX", 0); ctx = quota_transaction_begin(box); - ret = quota_test_alloc(ctx, I_MAX(1, mail_size), &too_large); + ret = quota_test_alloc(ctx, I_MAX(1, mail_size), too_large); quota_transaction_rollback(&ctx); mailbox_free(&box); @@ -82,6 +81,7 @@ stru...
2019 Aug 02
2
Panic: Module context expire_mail_user_module missing (Debian 10)
....0(+0xdb13b) [0x7fd14ea7713b] -> /usr/lib/dovecot/libdovecot.so.0 (+0xdb1d1) [0x7fd14ea771d1] -> /usr/lib/dovecot/libdovecot.so.0(+0x4a001) [0x7fd14e9e6001] -> /usr/lib/dovecot/modules/lib20_expire_plugin.so(+0x23b2) [0x7fd14e7953b2] -> /usr/lib/dovecot/libdovecot-storage.so.0 (hook_mailbox_allocated+0x89) [0x7fd14eb89409] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_alloc+0xda) [0x7fd14eb84c5a] -> dovecot/pop3(client_init_mailbox+0x58) [0x55781fb5fba8] -> dovecot/pop3(+0x5645) [0x55781fb5e645] -> dovecot/pop3(+0x5882) [0x55781fb5e882] -> /usr/lib/dovecot/libdove...
2010 Jul 11
3
Crash while accessing mdbox folders
Hi, I've converted some accounts with "dsync mirror maildir:~/Maildir". It seemed to work, but when I access the folders via IMAP I get the following error: Jul 11 09:41:59 shrike dovecot: imap(matze): Debug: acl vfile: file /home/matze/mdbox/mailboxes/Telefon/dbox-Mails/dovecot-acl not found Jul 11 09:41:59 shrike dovecot: imap(matze): Panic: file mailbox-list-fs.c: line 150
2021 Dec 07
3
Dovecot v2.3.17.1 Released
We are happy to announce 2.3.17.1 patch release of Dovecot. This contains some fixes for issues found after 2.3.17 release. https://dovecot.org/releases/2.3/dovecot-2.3.17.1.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.17.1.tar.gz.sig Binary packages in https://repo.dovecot.org/ Docker images in https://hub.docker.com/r/dovecot/dovecot Aki Tuomi Open-Xchange oy -- - dsync: Add back
2021 Dec 07
3
Dovecot v2.3.17.1 Released
We are happy to announce 2.3.17.1 patch release of Dovecot. This contains some fixes for issues found after 2.3.17 release. https://dovecot.org/releases/2.3/dovecot-2.3.17.1.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.17.1.tar.gz.sig Binary packages in https://repo.dovecot.org/ Docker images in https://hub.docker.com/r/dovecot/dovecot Aki Tuomi Open-Xchange oy -- - dsync: Add back
2016 Apr 12
2
fts-lucene with virtual folders
Hi, It looks like I've found something strange. It looks like dovecot updates fts-lucene index every time I'm opening virtual folder that contains FTS query: indexer-worker(dion): Warning: fts-lucene: Settings have changed, rebuilding index for mailbox dovecot-virtual is pretty simple: archive/INBOX BODY "test" first of all, I'm trying to perform FTS in archive/INBOX
2010 Feb 20
1
v2.0.beta3 released
...s visible to developers are: - dovecot-config file changed. if your external plugin uses this file, you need to change it to use the new format. - added dovecot.m4 file that can be used by external plugins' configure script to get Dovecot settings. This was mainly done by Dennis Schridde. - mailbox_alloc() no longer has stream parameter, instead there's mailbox_open_stream() - mailbox_close() renamed to mailbox_free(). added a different mailbox_close(), which only closes opened mailbox, but doesn't free it. - mailbox_delete(), mailbox_rename() APIs changed - notify plugin's delete/re...
2010 Feb 20
1
v2.0.beta3 released
...s visible to developers are: - dovecot-config file changed. if your external plugin uses this file, you need to change it to use the new format. - added dovecot.m4 file that can be used by external plugins' configure script to get Dovecot settings. This was mainly done by Dennis Schridde. - mailbox_alloc() no longer has stream parameter, instead there's mailbox_open_stream() - mailbox_close() renamed to mailbox_free(). added a different mailbox_close(), which only closes opened mailbox, but doesn't free it. - mailbox_delete(), mailbox_rename() APIs changed - notify plugin's delete/re...
2010 Feb 23
0
dovecot 2.0_b3 autocreate plugin bug.
...min = 0 __PRETTY_FUNCTION__ = "expire_rule_find" #1 0xb7b325d2 in expire_rule_find_min_secs (env=0xb7ec2360, name=0x808afa0 "Drafts", altmove_r=0xbfbd5ccb) at expire-env.c:168 secs1 = 134776268 secs2 = <value optimized out> #2 0xb7b32c3d in expire_mailbox_allocate_init (box=0x808ae28) at expire-plugin.c:259 No locals. #3 expire_mailbox_allocated (box=0x808ae28) at expire-plugin.c:279 euser = 0x80885e0 #4 0xb7f4e6be in hook_mailbox_allocated (box=0x808ae28) at mail-storage-hooks.c:180 hooks = 0x80885cc #5 0xb7f4d0ef in mailbox_alloc (lis...