[Dovecot] Variable '%r' doesn't transfomr in Postgres query

Sebastjan Trepca trepca at gmail.com
Thu Dec 15 15:02:45 EET 2005


i'm using postgres for authorization. When I switched from a4 to a5
authorization stoped working.

Query in conf file for postgres looks like this:

password_query = select password from auth('%u','%r');

But in logs, the transformed query looks like this:

Performing query: select password from auth('test','%r');

Looks like you don't transform that remote IP parameter?


More information about the dovecot mailing list