[Dovecot] regarding dovecot.index.cache
Hi,
This is regarding updating dovecot.index.cache. I have few backup ids configured. these are used only when old mail needs to be retrieved. usually these mailboxes contains more then 9,000 mails.
while login to webmail, imap consumption is high, which creates performance related issues for regular mailboxes. to resolve this i have to move heavy mailbox to dedicated server. before doing that, I wanted to confirm if there any way to update dovecot.index.cache even if user is not checking his / her mails.
kindly confirm, & provide direction to implement same.
Following is the mailserver related details Qmail with Vpopmail 5.4.24 Dovecot-1.1.4
dovecot -n # 1.1.4: /etc/dovecot/dovecot.conf protocols: imap ssl_disable: yes disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login mail_plugins: quota imap_quota trash imap_client_workarounds: delay-newmail outlook-idle namespace: type: private prefix: INBOX. inbox: yes list: yes subscriptions: yes auth default: mechanisms: plain login verbose: yes debug: yes debug_passwords: yes passdb: driver: checkpassword args: /home/vpopmail/bin/vchkpw userdb: driver: vpopmail userdb: driver: prefetch plugin: quota: maildir quota_rule: Trash:ignore
thanks & regards dhaval
On Oct 16, 2008, at 2:17 PM, Dhaval Thakar wrote:
This is regarding updating dovecot.index.cache. I have few backup ids configured. these are used only when old mail
needs to be retrieved. usually these mailboxes contains more then 9,000 mails.while login to webmail, imap consumption is high, which creates
performance related issues for regular mailboxes. to resolve this i have to move heavy mailbox to dedicated server. before doing that, I wanted to confirm if there any way to update
dovecot.index.cache even if user is not checking his / her mails.
If mails were delivered using Dovecot's deliver, it would update the
cache file (as long as the user had logged in at least once so Dovecot
would know what fields need to be cached).
Timo Sirainen wrote:
On Oct 16, 2008, at 2:17 PM, Dhaval Thakar wrote:
This is regarding updating dovecot.index.cache. I have few backup ids configured. these are used only when old mail needs to be retrieved. usually these mailboxes contains more then 9,000 mails.
while login to webmail, imap consumption is high, which creates performance related issues for regular mailboxes. to resolve this i have to move heavy mailbox to dedicated server. before doing that, I wanted to confirm if there any way to update dovecot.index.cache even if user is not checking his / her mails.
If mails were delivered using Dovecot's deliver, it would update the cache file (as long as the user had logged in at least once so Dovecot would know what fields need to be cached).
hi,
i have configured lda for qmail & it works fine for some time. later its stops working with the following error on qmail-send logs deferral: preline:_fatal:_child_crashed/
on google i found may be caused due to corruption of dovecot.index, after deletion of dovecot.index file it works fine.
following is dovecot-deliver.log deliver(mailadmin@xyz): Error: Corrupted header in file /home/vpopmail/domains/xyz/A/mailadmin/Maildir/dovecot-uidlist (version = 3)
kindly suggest any patch / configuration changes for this.
dovecot -n # 1.1.4: /etc/dovecot/dovecot.conf protocols: imap ssl_disable: yes disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_greeting: mail ready. mail_plugins: quota imap_quota trash imap_client_workarounds: delay-newmail outlook-idle namespace: type: private prefix: INBOX. inbox: yes list: yes subscriptions: yes auth default: mechanisms: plain login verbose: yes debug: yes debug_passwords: yes passdb: driver: checkpassword args: /home/vpopmail/bin/vchkpw userdb: driver: vpopmail userdb: driver: prefetch socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vpopmail group: vchkpw plugin: quota: maildir quota_rule: Trash:ignore
On Fri, 2008-10-17 at 13:21 +0530, Dhaval Thakar wrote:
If mails were delivered using Dovecot's deliver, it would update the cache file (as long as the user had logged in at least once so Dovecot would know what fields need to be cached).
hi,
i have configured lda for qmail & it works fine for some time. later its stops working with the following error on qmail-send logs deferral: preline:_fatal:_child_crashed/
I don't know what qmail tries to say with this, but "child crashed" really sounds like a segfault or assert-crash.
on google i found may be caused due to corruption of dovecot.index, after deletion of dovecot.index file it works fine.
OK, but..
following is dovecot-deliver.log deliver(mailadmin@xyz): Error: Corrupted header in file /home/vpopmail/domains/xyz/A/mailadmin/Maildir/dovecot-uidlist (version = 3)
This error is about dovecot-uidlist, not about index files. The uidlist corruption should be much more rare than index corruption..
Do you have any other errors in logs? What errors get repeated?
mail_plugins: quota imap_quota trash
Trash plugin is a bit broken. You could try if it works without it. I'll also release v1.1.5 soon that fixes it.
participants (2)
-
Dhaval Thakar
-
Timo Sirainen