[Dovecot] Different default realm per listener

Timo Sirainen tss at iki.fi
Fri Nov 4 22:44:30 EET 2011


On Wed, 2011-11-02 at 15:28 +0100, Kai Arif wrote:
> Hi all!
> 
> I want create a large IMAP server setup where dovecot is listening on multiple interfaces and needs
> a different default realm on each interface. I'm using dovecot 2.0.5 on FreeBSD9 and authenticate
> against a LDAP database.
> I found an old mail thread from 2007 that said I'm basically screwed. Has that change since than? Is
> there any way to use different default realms per listener?

v2.0 can almost do it:

local 1.2.3.4 {
  auth_default_realm = foo.org
}
local 1.2.3.5 {
  auth_default_realm = bar.org
}

Unfortunately that will currently fail, because per-IP auth settings
don't work.. It will hopefully be fixed some day.





More information about the dovecot mailing list