[Dovecot] Authentication based on client host

Sebastjan Trepca trepca at gmail.com
Mon Aug 15 00:34:24 EEST 2005


FANTASTIC!!

Thanks! :)

On 14/08/05, Timo Sirainen <tss at iki.fi> wrote:
> On Sun, 2005-08-14 at 13:12 +0200, Sebastjan Trepca wrote:
> > I am wondering if it's possible to authenticate users that come from
> > specific IP differently then other users.
> >
> > I will be authenticating them by postgresql so something like this
> > would be very useful:
> >
> > password_query = SELECT password from get_user('%username','%host')
> >
> > Is that possible? Can it be done any other way?
> 
>  %r - remote IP address
> 
> so get_user('%u', '%r') should work. With 1.0-stable/tests only.
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (GNU/Linux)
> 
> iD8DBQBC/7g/yUhSUUBViskRAoFVAJ4vgZKiq5JiFAVTwsR6F5yE+ayRGACfTM8D
> yJt+aSn/bGuIHa2rJN/ZAFI=
> =L5EX
> -----END PGP SIGNATURE-----
> 
> 
>


More information about the dovecot mailing list