search for: control_dir

Displaying 11 results from an estimated 11 matches for "control_dir".

2018 Oct 05
1
VOLATILEDIR not really used?
...works. But could you: 1) Add it to github as merge request 2) MAILBOX_LIST_PATH_TYPE_VOLATILEDIR might be useful, but it's kind of a separate change of its own. To simplify, in Maildir code you could have box->list->set->volatile_dir != NULL ? box->list->set->volatile_dir : control_dir. That way it's falling back to control_dir like the previous code when VOLATILEDIR wasn't set. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181005/095a355d/attachment.html>
2004 Apr 26
1
Setting "default_mail_env" Why is index->mailbox_path empty?
...ction) { i_assert(function != NULL); i_error("index->mailbox_path: %%%s%%", index->mailbox_path); i_error("index->dir: %%%s%%", index->dir); i_error("index->filepath: %%%s%%", index->filepath); i_error("index->control_dir: %%%s%%", index->control_dir); index_set_error(index, "%s failed with mbox file %s: %m", function, index->mailbox_path); return FALSE; } This generates the following output. It seems clear that the initial reading of mbox is read correctly because index->dir and other...
2018 Oct 05
2
VOLATILEDIR not really used?
On 2018-10-05 11:35, Timo Sirainen wrote: > On 4 Oct 2018, at 17.13, Tom Sommer <mail at tomsommer.dk> wrote: >> >> >> On 2018-10-04 15:55, Timo Sirainen wrote: >>> On 4 Oct 2018, at 14.39, Tom Sommer <mail at tomsommer.dk> wrote: >> >>>> Is this correct, and if so are there any plans to move dotlocks etc. >>>> to this
2007 Jan 23
1
dovecot-acl file location in rc18
Hi, I'm trying to use ACL with dovecot rc18 but I don't understand where to store per-mailbox dovecot-acl file. In dovecot.conf I have mail_location = maildir:/var/vmail/%u/ and I do not use namespaces. I have some "testuser" maildir with subdir ".test". When I put dovecot-acl file to the .test directory I get this error in my log file: Error: IMAP(testuser):
2009 Dec 14
2
4 crashes, dovecot 1.2.8, with backtrace
...x9e7ec18) at maildir-uidlist.c:1242 i = 3 seq = 4 view = 0x9e9a648 hdr = 0x9e982b8 rec = 0x0 __PRETTY_FUNCTION__ = "maildir_uidlist_records_drop_expunges" #7 maildir_uidlist_recreate (uidlist=0x9e7ec18) at maildir-uidlist.c:1274 control_dir = <value optimized out> temp_path = <value optimized out> st = {st_dev = 4, __pad1 = 34944, __st_ino = 0, st_mode = 3218056160, st_nlink = 166312736, st_uid = 36, st_gid = 166307928, st_rdev = 13252593345643914360, __pad2 = 45756, st_size...
2013 Jun 09
1
v2.2.2 (266101990d63) Core Dump
...x7fff92c0d318, 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 "subscriptions", maildir_name = 0x7f305d71e70b "", mailbox_dir_name = 0x7f305d71e70b "", escape_char = 0 '\000', broken_char = 0 '\000', utf8 = false, alt_...
2016 Dec 20
1
Latest Dovecot v2.2.devel (9bc8d9b) crashes on login and lmtp
...r_r=error_r at entry=0x7ffdcadea1a0) at mail-storage.c:395 storage = 0x7f917a5c5930 list = 0x7f917a5c3ca0 list_set = {layout = 0x7f91781083c6 "fs", root_dir = 0x7f917a52e100 "/var/vmail/domains/leuxner.net/tlx/mdbox", index_dir = 0x0, index_pvt_dir = 0x0, control_dir = 0x0, alt_dir = 0x0, inbox_path = 0x0, subscription_fname = 0x7f917810f234 "subscriptions", list_index_fname = 0x7f917810925e "dovecot.list.index", maildir_name = 0x7f917810bc17 "dbox-Mails", mailbox_dir_name = 0x7f917810c301 "mailboxes",...
2009 Mar 24
2
Dbox Upgrade Problem With MAILBOXDIR
...ons" debug = false #1 0x08093615 in dbox_create (_storage=0x9405d08, data=0xafe34e33 "/home/USER/Mail", error_r=0xafe33304) at dbox-storage.c:103 storage = (struct dbox_storage *) 0x9405d08 list_set = {root_dir = 0x93fc038 "/home/USER/Mail", index_dir = 0x0, control_dir = 0x0, inbox_path = 0x0, subscription_fname = 0x810fd7c "subscriptions", maildir_name = 0x810fd8d "dbox-Mails", mailbox_dir_name = 0x0, mail_storage_flags = 0x0, lock_method = 0x0} st = {st_dev = 12674028786447048160, __pad1 = 61096, __st_ino = 155213040, st_mode =...
2017 Jan 10
2
[PATCH] mail-storage.c: check against NULL address in strcmp() invocation
Configurations with multiple shared namespaces can trigger a bug where the first argument of strcmp() invocation is NULL. This patch adds an explicit check, analogously to how the second argument is sanitized. --- src/lib-storage/mail-storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib-storage/mail-storage.c b/src/lib-storage/mail-storage.c index
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
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...ion { + URLAUTH_KEYS_GET, // get the key for a mailbox + URLAUTH_KEYS_SET, // set a new random key for a mailbox + URLAUTH_KEYS_DELETE // delete the key for a mailbox +}; + +// get the path to the access keys table +static const char *urlauth_keys_path(struct mail_storage *storage) +{ + const char *control_dir = + mail_storage_get_mailbox_control_dir(storage, ""); + return t_strconcat(control_dir, "/"URLAUTH_KEYS_FILENAME, NULL); + +} + +// read the access keys into the hash table +static struct hash_table *urlauth_keys_read(pool_t pool, int fd) +{ + struct hash_table *keys; + struc...