[Dovecot] Per IP virtual domain

Stéphane Locatelli s.locatelli at hexanet.fr
Tue Apr 10 18:29:45 EEST 2012


Hello,

My dovecot server (2.0.18 on FreeBSD 9) has multiple interface. I would
like to configure the authentication (pop and imap) to append different
domain according to the local IP address.

I've tested this:

local 10.0.0.1 {
   auth_default_realm = domain1.com
}

local 10.0.0.2 {
   auth_default_realm = domain2.com
}

But it doesn't work. I get this error message:

doveconf: Fatal: Error in configuration file
/usr/local/etc/dovecot/dovecot.conf line 58: Auth settings not supported
inside local/remote blocks: auth_default_realm

-- 
Stephane Locatelli


More information about the dovecot mailing list