[Dovecot] Restricting access to imap ?
Timo Sirainen
tss at iki.fi
Wed Apr 27 00:09:00 EEST 2005
On Tue, 2005-04-26 at 23:06 +0200, Jakob Curdes wrote:
> >Another way that would already work is to creatively use %r variable and
> >SQL passdb.
> >
> >
> Can you elaborate on that one ?
something like:
pass_query = select user, password from users where user = '%u' and
(allow_external_access = 'Y' or '%r' like '10.%')
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050427/b4a7e5ef/attachment-0001.bin>
More information about the dovecot
mailing list