search for: mail_index

Displaying 20 results from an estimated 21 matches for "mail_index".

2020 Apr 17
1
setup sdbox per user with userdb
Hi welcome I want to set some virtual users with sdbox mail_location so I return in password_query and user_query extra field mail which contains sdbox:/var/mail/example.com/user:INDEX=/var/mail_indexes/example.com/user:ALT=/var/mail_altstorage/example.com/user and then when i send email to user at example.com I see all sdbox dirs created but when i login with thunderbird IMAP - Maildir structure is always created with an empty INBOX I tried to override namespace inbox with mail AS "names...
2020 Aug 13
1
2.3.11.3 mail_cache_open_or_create_path called with null path
...f %s format is called with a null pointer. It is tripped in lmtp/lda deliveries with 2.3.11.3: lmtp: vfprintf %s NULL in "Cache %s: " dovecot-lda: vfprintf %s NULL in "Cache %s: " src/lib-index/mail-cache.c: .. 557 struct mail_cache * 558 mail_cache_open_or_create_path(struct mail_index *index, const char *path) 559 { .. 565 cache->filepath = i_strdup(path); .. 572 event_set_append_log_prefix(cache->event, 573 t_strdup_printf("Cache %s: ", cache->filepath); .. Seems something is wrong to have this function called with no cache pa...
2010 Jul 20
1
imap core dumping on signal 10
...mbols from /platform/sun4v/lib/libc_psr.so.1...done. Loaded symbols for /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 Core was generated by `imap'. Program terminated with signal 10, Bus error. #0 0x000aa19c in mail_index_map (index=0x489, type=0) at /usr/local/src/dovecot/dovecot-1.2.12/src/lib-index//mail-index-map.c:502 502 map->hdr = *hdr; (gdb) bt full #0 0x000aa19c in mail_index_map (index=0x489, type=0) at /usr/local/src/dovecot/dovecot-1.2.12/src/lib-index//mail-index-map.c:502...
2007 Jul 11
3
ssh tunneling and maildir
Hello everyone, please keep my CC'd, I'm not on the list. I've been using dovecot happily via an ssh tunnel. My mutt is configured to use IMAP, and the tunnel is as follows in my muttrc: set tunnel="ssh -q mymailhost 'MBOX_LOCKS=fcntl MAIL=/home/jlbec/mail /usr/libexec/dovecot/imap'" It should be pretty obvious that this logs into mymailhost as me (via SSH
2009 Mar 24
1
Making changes to dovecot log levels
...writing these to monitor. I wanted to run a few changes by you for this, just to make sure these won't cause problems somewhere else. And to send this to the list, in case anyone else wants to make similar changes in the future. In the file src/lib-index/mail-index.c: duplicate the function mail_index_set_error to mail_index_set_warning and call this function in /src/lib-index/mail_cache.c instead int mail_index_set_error(struct mail_index *index, const char *fmt, ...) { va_list va; i_free(index->error); if (fmt == NULL) index->error = NULL;...
2013 May 31
1
Configuration advice needed.
...h_cache_size = 10 M auth_mechanisms = plain login auth_verbose = yes default_client_limit = 1500 default_process_limit = 500 default_vsz_limit = 1 G disable_plaintext_auth = no dotlock_use_excl = no lock_method = dotlock mail_fsync = always mail_gid = vmail mail_location = maildir:%h/Maildir:INDEX=/mail_index%h mail_nfs_index = yes mail_nfs_storage = yes mail_plugins = " stats" mail_uid = vmail mmap_disable = yes namespace { inbox = yes location = prefix = INBOX. separator = . } passdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { stats_ref...
2010 Oct 10
1
Dovecot 2.0 lock upgrade assertion failure
Hi! I've now seen this assertion failure from lmtp (most frequent), pop3 (next frequent), and imap (rarely). It didn't start happening until the number of accounts on the server was increased into the 10k-25k range. It happens when index->file_lock is a read lock and mail_index_lock is called asking for a write lock. Dovecot 2.x dies at the assertion on line 62 of mail-index-lock.c If that assertion were removed, it would likely die at the assertion on line 80. Looking at the mail-index-lock.c from dovecot 1.2.15, it looks like the 1.2 series would enter the else case...
2007 Jun 07
1
User unknown in local recipient table? Dovecot LDA/Postfix
...bexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: Dovecot ready. verbose_proctitle: yes first_valid_uid: 102 mail_extra_groups: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u:INDEX=/var/mail_indexes/%d/%n mail_debug: yes maildir_copy_with_hardlinks: yes mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /us...
2007 Mar 05
1
new crashes: is the index/mail cache endian neutral?
...P/dovecot.index.log: start_offset (61 44) > file size (1768) dovecot: Mar 01 09:20:44 Warning: IMAP(foobar): fscking index file /home/foobar/ Mail/imapd-indices/Mail/.imap/NDMP/dovecot.index dovecot: Mar 01 09:20:44 Error: child 111112 (imap) killed with signal 11 -dp #0 0x0809eaa1 in mail_index_lock_exclusive (index=0x8117c70, lock_id_r=0x8047490) at mail-index-lock.c:326 ret = 0 __PRETTY_FUNCTION__ = "mail_index_lock_exclusive" #1 0x0809e15e in mail_index_fsck (index=0x8117c70) at mail-index-fsck.c:169 error = 0x80e9498 "" lock_id...
2003 Apr 21
0
Patch for zero content-length
...ue Apr 15 09:04:02 2003 --- mbox-index.h Sun Apr 20 11:42:12 2003 *************** *** 19,24 **** --- 19,25 ---- struct istream *input; uoff_t content_length; int set_read_limit; + unsigned int content_length_good:1; }; int mbox_set_syscall_error(struct mail_index *index, const char *function); *** mbox-index.c.orig Mon Mar 24 05:52:44 2003 --- mbox-index.c Sun Apr 20 12:41:16 2003 *************** *** 264,277 **** start_offset = ctx->input->v_offset; i_stream_set_read_limit(ctx->input, 0); !...
2004 Apr 26
1
Setting "default_mail_env" Why is index->mailbox_path empty?
...mbox:~/mail:INBOX=:/var/spool/mail/%u I now getting: Apr 26 15:55:32 jedrik imap(mclay): open() failed with mbox file : No such file or directory I tracked down where the error message is getting generated and added some more printing: In mbox-index.c I added: int mbox_set_syscall_error(struct mail_index *index, const char *function) { 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);...
2019 Mar 28
0
Panic: file mail-transaction-log-file.c: line 105 (mail_transaction_log_file_free): assertion failed: (!file->locked)
...ovecot.index.cache)? They shouldn't contain anything sensitive (only >> message flags). > > Tested with the index files you sent. It gets fixed automatically in my > tests. > > The backtrace shows that after fsck it fails to write the fixed index to > the disk, because?mail_index_write() fails for some reason. Except > there's no error logged about it, which is rather weird. Do you still > have the lmtp core? Could you do: > > fr 9 > p *log.index (gdb) f 9 #9 0x00007f25fc9e709d in mail_transaction_log_move_to_memory (log=0x55e3e2b81eb0) at mail-transac...
2005 Mar 24
3
quota issue POP3
Hi Just u/g to RH FC3 from RH8.0 which seemed to work fine with quotas. I have quotas for usernames set up as /home/domain/domainX/username/ for web space 50MB say 48MB used so 2MB free and /var/mail/spool/username for email. 100MB (60MB used so 40MB is available). /var/mail/username is symbolic linked via to spool/mail under /var dovecot seems to be using the quota for /home/.. and sees
2008 Sep 09
1
1.1.3: imap crashes with SIGSEGV
...dovecot/imap'. Program terminated with signal 11, Segmentation fault. [New process 11830] #0 array_idx_modifiable_i (array=0x87e34b4, idx=0) at array.c:11 11 if (pos >= array->buffer->used) { #0 array_idx_modifiable_i (array=0x87e34b4, idx=0) at array.c:11 pos = 0 #1 0x080c4c28 in mail_index_sync_ext_reset (ctx=0xbfe14740, u=0xbfe146b0) at mail-index-sync-ext.c:518 map = (struct mail_index_map *) 0x87e3428 ext_hdr = <value optimized out> ext = <value optimized out> #2 0x080b6a69 in mail_index_sync_record (ctx=0xbfe14740, hdr=0x87e2f70, data=0x87e3a60) at mail-i...
2019 Mar 27
2
Panic: file mail-transaction-log-file.c: line 105 (mail_transaction_log_file_free): assertion failed: (!file->locked)
...and dovecot.index.log files (without dovecot.index.cache)? They shouldn't contain anything sensitive (only message flags). Tested with the index files you sent. It gets fixed automatically in my tests. The backtrace shows that after fsck it fails to write the fixed index to the disk, because mail_index_write() fails for some reason. Except there's no error logged about it, which is rather weird. Do you still have the lmtp core? Could you do: fr 9 p *log.index -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachmen...
2003 Apr 16
1
pop3 coredump
...;callbacks->notify_no(&ibox->box, 265 "Couldn't use index files", 266 storage->callback_context); 267 } 268 } (gdb) p index $1 = (struct mail_index *) 0x808c200 (gdb) p *index $2 = {open = 0x8054590 <maildir_index_open>, free = 0x8054abc <maildir_index_free>, set_lock = 0x805c874 <mail_index_set_lock>, try_lock = 0x805c88c <mail_index_try_lock>, set_lock_notify_callback = 0x805c8a4 <mail_index_set_lock_no...
2014 Oct 20
1
2.2.14 Panic in sync_expunge_range()
...ine %d (%s): assertion failed: (%s)") at failures.c:152 ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0} args = 0x8047424 ".????" #7 0xfef31e5f in sync_expunge_range (ctx=0x8047600, seqs=0x80474d8) at ../../src/lib/array.h:197 map = (struct mail_index_map *) 0x80c5d90 range = (const struct seq_range *) 0x8093430 i = 134509780 count = 0 dest_seq1 = 562 prev_seq2 = 562 orig_rec_count = 4277606968 __FUNCTION__ = "sync_expunge_range" #8 0xfef32d65 in mail_index_sync_record_real (ctx=0x8047600, hdr=0x80b5d28, data=0x80b5df8) at...
2005 Apr 27
0
Assertion Failures in Current CVS version
...tached a few assertion errors in imap. Any fixes or advice on where to look are appreciated. This is with the CVS version, current as of April 27. Todd Burroughs -------------- next part -------------- dovecot: Apr 27 00:00:45 Error: 5714 IMAP(chairman): file mail-index-transaction.c: line 808 (mail_index_update_ext): assertion failed: (seq > 0 && (seq <= mail_index_view_get_messages_count(t->view) || seq <= t->last_new_seq)) dovecot: Apr 27 00:00:46 Error: child 5714 (imap) killed with signal 6 (gdb) bt full #0 0xffffe410 in ?? () No symbol table info available. #1 0xbfff...
2003 Nov 22
3
New index / mailbox API
...file and rename()d over. This means that we can have tons of sessions reading and writing to same shared index file and no session can block others from reading or writing. Currently yoou could easily block changes for a very long time with eg. FETCH 1:* BODY.PEEK[] and reading it 1 bytes/sec. - mail_index will be a class interface, so it's implementation can be changed at runtime. In-memory indexing is going to be a totally different implementation this time with better memory usage. Could be useful for optimizing some special cases as well. - You'll get "views" into mailbox. A vi...
2006 May 22
1
beta8: cores on corrupted index file
...44 #1 0x0004f324 in mail_cache_reopen (cache=0xb8f38) at mail-cache.c:95 #2 0x00062c50 in mail_cache_compress_locked (cache=0xb8f38, view=0xffbff320) at mail-cache-compress.c:305 #3 0x000631d0 in mail_cache_compress (cache=0x0, view=0xbc460) at mail-cache-compress.c:367 #4 0x00059958 in mail_index_sync_commit (_ctx=0x0) at mail-index-sync.c:671 #5 0x0003c3e0 in mbox_sync (mbox=0x0, flags=4290770300) at mbox-sync.c:1717 #6 0x0003c710 in mbox_storage_sync_init (box=0x1, flags=MAILBOX_SYNC_FLAG_NO_EXPUNGES) at mbox-sync.c:1780 #7 0x00065b48 in mailbox_sync_init (box=Variable "box&qu...