[Dovecot] different mail_locations

Antonio Casado Rodríguez acasado at ual.es
Fri Feb 29 13:52:16 EET 2008


Hi all

I've mounted a cluster ACTIVE-PASIVE, with the mailbox in a SAN. The 
user's home are:
/Correo/mail/foo/home

I use:  Postfix, dovecot and dovecot_lda.

The folder /san/mail is only show in the active node (switch the virtual 
ip, filesystem and daemons).

How i configure dovecot mail_location?? Now i have:
mail_location: maildir:/Correo/mail/%n

The problem is that the admin mails in pasive node are in enqueued and 
not arrive.

I need a user with mail_location in /var/spool/mail/foo (in aliases,  
root: foo)and the rest users in /Correo/mail/

I have seen override mail_executable, but it not work with dovecot_lda 
and postfix (local mailer).

I have thinked about:   mail_location: maildir:%h/..

Have you any idea?

# dovecot -n
# 1.0.10: /etc/dovecot.conf
log_path: /var/log/dovecot/dovecot.log
info_log_path: /var/log/dovecot/dovecot.info
protocols: imap imaps pop3 managesieve
ssl_cert_file: /etc/pki/dovecot/certs/imap.ual.es.crt
ssl_key_file: /etc/pki/dovecot/private/imap.ual.es.key
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/libexec/dovecot/managesieve-login
mail_location: maildir:/Correo/mail/%n
mail_executable(default): /usr/local/sbin/post-login-imap-dovecot
mail_executable(imap): /usr/local/sbin/post-login-imap-dovecot
mail_executable(pop3): /usr/local/sbin/post-login-pop3-dovecot
mail_executable(managesieve): /usr/libexec/dovecot/managesieve
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib64/dovecot/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
mail_plugin_dir(managesieve): /usr/lib64/dovecot/managesieve
namespace:
  type: private
  separator: /
  location: maildir:/Correo/mail/%n
  inbox: yes
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd
plugin:
  quota: maildir:storage=1048576


More information about the dovecot mailing list