Hi all, I use dovecot with maildir quota plugin + qmail + vpopmail but not dovecot LDA. My dovecot configuration: default_mail_env=maildir:~/Maildir:INDEX=/var/cache/dovecot/indexes/%h/%u:CONTROL=/var/cache/dovecot/control/%h If CONTROL env is set the maildirsize file is stored in /var/cache/dovecot/control/ but I use vpopmail as LDA. It's possible to add a setting in dovecot.conf to specify if dovecot LDA is active?? This is my pseudo-patch: src/plugins/quota/quota-maildir.c static const char *maildirsize_get_path(struct mail_storage *storage) { if (lda_enable) { return t_strconcat(mail_storage_get_mailbox_control_dir(storage, ""), } else { bool is_file; return t_strconcat(mail_storage_get_mailbox_path(storage, "", &is_file), "/"MAILDIRSIZE_FILENAME, NULL); } } dovecot.conf: lda_enable = no Ciao Rick
On Wed, 2006-11-08 at 10:22 +0100, Riccardo Bini wrote:> Hi all, > > I use dovecot with maildir quota plugin + qmail + vpopmail but not dovecot > LDA. > > My dovecot configuration: > default_mail_env=maildir:~/Maildir:INDEX=/var/cache/dovecot/indexes/%h/%u:CONTROL=/var/cache/dovecot/control/%h > > If CONTROL env is set the maildirsize file is stored > in /var/cache/dovecot/control/ but I use vpopmail as LDA.Why do you want to set CONTROL at all then? Based on the /var/cache name you seem to think that control files are unimportant. I think they're rather important and should be in backups and such. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061108/7b8f2697/attachment.bin>
Reasonably Related Threads
- [PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
- use instance-name for syslog?
- Obtaining the chroot-cage directory of the mailstore
- sieve_pipe_socket_dir not created at startup for configured pipe service
- [patch] Re: Test migration (IMAP copy) and INTERNALDATE?]