[Dovecot] IP based virtual users: stripping login domain?

Timo Sirainen tss at iki.fi
Sat Sep 15 16:05:44 EEST 2007


On Fri, 2007-09-14 at 13:33 -0400, Alan Ferrency wrote:
> An example configuration would look like this:
> 
> passdb passwd-file {
>     args = /path/%l.passwd
>     username_format = %n
> }

That would be nice configuration, but currently it's too difficult to
add more settings inside passdb blocks.

I implemented this to v1.1:

passdb passwd-file {
  args = username_format=%n /etc/imap.passwd
}
userdb passwd-file {
  args = username_format=%n /etc/imap.passwd
}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070915/0e1fb0a1/attachment.bin 


More information about the dovecot mailing list