View Full Version : old issue, but still there
Lem0nHead
07-28-2008, 10:49 AM
http://www.directadmin.com/forum/showthread.php?t=17362
I though it would be solved by now without the need of additional configuration
(I think a simple solution would be do not use index files when can't create them... at least things would work)
anyway, if it really isn't, anyone tried the:
mail_location = maildir:~/Maildir:INDEX=/var/no-quotas/index/%u:CONTROL=/var/no-quotas/control/%u
?
also, should I copy the old index files to the new partition or dovecot will just create new files?
jlasman
08-01-2008, 11:39 AM
also, should I copy the old index files to the new partition or dovecot will just create new files?
You should never move index files. You can always delete index files. They'll be recreated when the user next logs in; the time taken will be very short.
Jeff
Lem0nHead
08-01-2008, 01:52 PM
You should never move index files. You can always delete index files. They'll be recreated when the user next logs in; the time taken will be very short.
Jeff
hm, so all I need to do something like:
mkdir -p /var/dovecot/index
mkdir /var/dovecot/control
add this line on config:
mail_location = maildir:~/Maildir:INDEX=/var/dovecot/index/%u:CONTROL=/var/dovecot/control/%u
dovecot restart
?
thanks,
Luis Fernando
jlasman
08-02-2008, 09:40 AM
As I wrote in the other thread; we don't do this, so I don't have experience to feel comfortable responding. If no one else responds, then perhaps you can try it (after making backups, of course).
Jeff
Lem0nHead
08-02-2008, 10:00 AM
hello
I tried that on a new server, and it worked fine :)
just a notice
that's needed:
chmod 770 /var/dovecot
chown dovecot:mail /var/dovecot
you'll also need to manually create the index/ and control/ subdirs (don't let dovecot create it, or it will have the ownership of the first user to access their E-mail) and set the same permission/ownership as above
Lem0nHead
08-02-2008, 04:10 PM
one more thing
you should manually copy the "subscriptions" file to the new control/ structure if you want to keep subscribed folders
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.