[Dovecot] Ignoring mount points for secondary dovecot instance does not seem to work

Jouko Nikula jonikula at gmail.com
Sat Dec 21 08:52:32 EET 2013


Hello,

I tried to ignore all mountpoints in Dovecot. I have two dovecot
instances running:

root at fileserver# doveadm instance list
path
name      last used           running
/usr/local/var/run/dovecot
dovecot   2013-12-21 08:09:34 yes
/var/run/dovecot.smtp
smtp-auth 2013-12-21 08:09:34 yes

I give commands:

root at fileserver# doveadm mount add '/*' ignore
root at fileserver# doveadm -i smtp-auth mount add '/*' ignore

And then restart dovecot. In the log I can see that the main instance
is now ignoring my mountpoints, but the smtp-auth instance is still
warning about my mountpoints. Is this a bug or am I missing something?

My configurations are as follows:

root at fileserver# doveconf -ni smtp-auth
# 2.2.9: /usr/local/etc/dovecot/dovecot.conf.smtp
# OS: Linux 3.2.0-4-686-pae i686 Debian 7.1
auth_mechanisms = plain login
base_dir = /var/run/dovecot.smtp/
first_valid_uid = 123
instance_name = smtp-auth
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_gid = mail
mail_location = maildir:~/mail
mail_uid = vmail
passdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
passdb {
  args = dovecot
  driver = pam
}
protocols =
service auth-worker {
  user = vmail
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
ssl_cert = </etc/ssl/certs/imapd.pem
ssl_key = </etc/ssl/private/imapd.pem
userdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}


root at fileserver# doveconf -n
# 2.2.9: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-686-pae i686 Debian 7.1
auth_mechanisms = plain login
first_valid_uid = 123
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_gid = mail
mail_location = maildir:~/mail
mail_uid = vmail
passdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
passdb {
  args = session=yes dovecot
  driver = pam
}
protocols = imap
service auth-worker {
  user = vmail
}
ssl_cert = </etc/ssl/certs/imapd.pem
ssl_key = </etc/ssl/private/imapd.pem
userdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}

regards,
   - Jouko


More information about the dovecot mailing list