[Dovecot] Per IP virtual domain

2012-04-10 Thread Stéphane Locatelli
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 {

Re: [Dovecot] Per IP virtual domain

2012-04-10 Thread Stéphane Locatelli
2012/4/10 Timo Sirainen t...@iki.fi As it says, currently they aren't supported. It would need some extra code. Depending on your passdb you may be able to do this in your passdb configuration. Currently I'm using dovecot 1.x on my production server with mysql passdb. I have ugly SQL