Re: Automatically inferring %d on multi-domain virtual install ?

2016-02-24 Thread Gabriel L. Somlo
ettings, but wanted to let everyone know your suggestion works for me, and say thanks again for the tip! Thanks, --Gabriel > > > On 19 Feb 2016, at 23:10, Gabriel L. Somlo wrote: > > > > On Fri, Feb 19, 2016 at 08:41:15AM +0100, Steffen Kaiser wrote: > >>> I'm t

Re: Automatically inferring %d on multi-domain virtual install ?

2016-02-24 Thread Gabriel L. Somlo
On Sun, Feb 21, 2016 at 04:20:07AM +0200, Timo Sirainen wrote: > How about: > > passdb { > driver = passwd-file > args = username_format=%l /etc/dovecot/passwd.domains > result_success = continue > } > > passdb { > .. the real passdb for authentication .. > } > > Where /etc/dovecot/passw

Re: Automatically inferring %d on multi-domain virtual install ?

2016-02-19 Thread Gabriel L. Somlo
On Fri, Feb 19, 2016 at 08:41:15AM +0100, Steffen Kaiser wrote: > >I'm trying to allow domain-less logins for a multi-domain virtual IMAP > >server, and wondering if I can automatically infer the domain (value of > >variable %d) from the local IP (%l) or the hostname used by the client > >when conn

Automatically inferring %d on multi-domain virtual install ?

2016-02-12 Thread Gabriel L. Somlo
Hi, I'm trying to allow domain-less logins for a multi-domain virtual IMAP server, and wondering if I can automatically infer the domain (value of variable %d) from the local IP (%l) or the hostname used by the client when connecting to my server. Let's say I have two host names: mail.foo.org (10