Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: lancej on August 02, 2016, 10:14:30 AM

Title: Changing Dovecot Index Location
Post by: lancej on August 02, 2016, 10:14:30 AM
Good day,

I'm trying to find out how to change the location of user's dovecots indexes.

The reason is that I have user directories hosted on separate file server and mounted with NFS. 

Due to an issue with the file server, occasionally I get timeout errors while dovecot waits for a lock:

Code: [Select]
Error: Timeout while waiting for lock for transaction log file /home/e-smith/files/users/user1/Maildir/dovecot.index.log

I would like to have the index files stored locally on the server. 

How do achieve this?

Thanks
Title: Re: Changing Dovecot Index Location
Post by: Daniel B. on August 02, 2016, 10:37:53 AM
You need to create a custom template to override /etc/e-smith/templates/etc/dovecot/dovecot.conf/25mail and specify the INDEX location in the mail_location directive. See http://wiki.dovecot.org/MailLocation
Title: Re: Changing Dovecot Index Location
Post by: lancej on August 02, 2016, 10:42:20 AM
Thanks for the reply,

I mistakenly posted this question to SME 9.x Contribs;

The server is actually running SME 8.0. 

I'll re-ask the question in the correct forum.
Title: Re: Changing Dovecot Index Location
Post by: Stefano on August 02, 2016, 10:46:28 AM
no need for it, I'll move this 3ad to SME 8 section and delete the other one