[Dovecot] changing location of index files

suzuki suzuki761 at gmail.com
Tue Sep 8 08:28:46 EEST 2009


Hello,

I think changing index files location of mail_location setting
 to reduce disk I/O.
by adding "INDEX=/var/index/%d/%1n/%n" to mail_location like below,
mail_location = maildir:~/Maildir:INDEX=/var/index/%d/%1n/%n

Will this change cause any problems or data loss to existing pop3 users?
There are only pop3 users on this server.


% dovecot --version
1.1.18

% dovecot -n
# 1.1.18: /usr/local/dovecot/etc/dovecot.conf
# OS: FreeBSD 7.2-STABLE i386
syslog_facility: local4
protocols: pop3
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /usr/local/dovecot/var/run/dovecot/login
login_executable: /usr/local/dovecot/libexec/dovecot/pop3-login
login_greeting: ready
mail_max_userip_connections: 1
verbose_proctitle: yes
first_valid_uid: 10026
last_valid_uid: 10026
first_valid_gid: 10026
last_valid_gid: 10026
mail_privileged_group: vmail
mail_uid: 10026
mail_gid: 10026
mail_location: maildir:~/Maildir
mail_debug: yes
maildir_copy_preserve_filename: yes
mail_executable: /usr/local/dovecot/libexec/dovecot/pop3
mail_plugins: quota
mail_plugin_dir: /usr/local/dovecot/lib/dovecot/pop3
mail_log_max_lines_per_sec: 30
pop3_enable_last: yes
pop3_reuse_xuidl: yes
pop3_lock_session: yes
pop3_client_workarounds: outlook-no-nuls,oe-ns-eoh
lda:
  postmaster_address: postmaster
  mail_plugins: quota
  sendmail_path: /usr/local/sbin/sendmail
  auth_socket_path: /var/run/dovecot/auth-master
auth default:
  verbose: yes
  passdb:
    driver: sql
    args: /usr/local/dovecot/etc/dovecot-sql.conf
  userdb:
    driver: sql
    args: /usr/local/dovecot/etc/dovecot-sql.conf
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail
plugin:
  quota: maildir


More information about the dovecot mailing list