[Dovecot] Configuration file changes

Timo Sirainen tss at iki.fi
Tue Jul 1 15:15:32 EEST 2003


On Mon, 2003-06-30 at 23:28, Farkas Levente wrote:
> I like the idea, but I don't realy under stand the example.
> what I'd like to see a default session in the config file and  server 
> specific part(s) in the config file. eg a different base dir for each 
> server. or different userdb and passwd db for each server. since I can 
> run different sub-server for each domain with different ldap search base 
> and base_dir. it'd be very useful for me!:-)))

Well, that was kind of how the "group 1.server.org" was supposed to
work. So that you could add 2.server.org etc. Like:

protocols = imap imaps

group server-a {
  login_dir = /var/run/dovecot/login/a
  login {
    listen = a.server.org
  }
  auth a {
    mechanisms = plain
    userdb = ldap /etc/ldap-a.conf
    passdb = ldap /etc/ldap-a.conf
  }
}

group server-b {
  login_dir = /var/run/dovecot/login/b
  login {
    listen = b.server.org
  }
  auth b {
    mechanisms = plain
    userdb = ldap /etc/ldap-b.conf
    passdb = ldap /etc/ldap-b.conf
  }
}
..etc..




More information about the dovecot mailing list