1

Topic: Dovecot master user

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5_1
- Linux/BSD distribution name and version: CentOs6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro?No
- Related log if you're reporting an issue:
====
I am trying to setup SOGo Groupware as you describe in tutorial at http://www.iredmail.org/docs/sogo-cento … ldap.html.
For vacation message I need to setup master user and after setup it I have errors in dovecot.log:
  auth: Fatal: ldap: LDAP attribute 'mail' used multiple times. This is currently unsupported.
  master: Error: service(auth): command startup failed, throttling
Setup related to master user:
dovecot-ldap.conf
  user_attrs  = mail=master_user,mail=user,homeDirectory=home...
dovecot.conf
  # Master user
  auth_master_user_separator = *
  passdb {
    driver = passwd-file
    master = yes
    args = /etc/dovecot/dovecot-master-users
  }
I also setup file dovecot-master-users.
Does my dovecot version need update to support this or the problem is somewhere in configuration?
My server is updated from earlier version to 0.9.5_1 related to tutorial you provide to us!
Any help?
Many thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Dovecot master user

gotan_bl wrote:

  auth: Fatal: ldap: LDAP attribute 'mail' used multiple times. This is currently unsupported.

Compare your dovecot-ldap.conf with our sample file:
https://bitbucket.org/zhb/iredmail/src/ … ew-default

3

Re: Dovecot master user

ZhangHuangbin wrote:
gotan_bl wrote:

  auth: Fatal: ldap: LDAP attribute 'mail' used multiple times. This is currently unsupported.

Compare your dovecot-ldap.conf with our sample file:
https://bitbucket.org/zhb/iredmail/src/ … ew-default

I tested my dovecot-ldap.conf and it is the same as you suggested in your post!

4

Re: Dovecot master user

*) Which dovecot version are you running?
*) What's the error message of your issue?

5

Re: Dovecot master user

ZhangHuangbin wrote:

*) Which dovecot version are you running?

Dovecot 2.0.13. I forgot to tell.

6

Re: Dovecot master user

ZhangHuangbin wrote:

*)
*) What's the error message of your issuue?

My errors are in the first post.

7

Re: Dovecot master user

Please show us FULL and ORIGINAL error message / log.