[Dovecot] PostLogin Scripting issue

Timo Sirainen tss at iki.fi
Sat Jan 6 02:51:52 UTC 2007


On 6.1.2007, at 4.33, Cassidy B. Larson wrote:

>
> Trying out the post-login scripting Timo added recently. Wanting to  
> run a SQL query, as detailed
> in the example on the Wiki.
>
> However, my "USER" env variable is set to "OK" instead of the  
> username.
>
> DOVECOT_VERSION=1.0.rc16
> RESTRICT_GID_FIRST=127
> USER=OK
>
> All the other variables (MAIL, HOME, etc) are fine with the correct  
> username.

Umm.. Do you use %u in mail_location or anywhere else?

The only thing I can think of is that your password_query modifies  
the username to be "OK". I can think of nothing in Dovecot's code  
that would set USER=OK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070106/2d85026e/attachment.pgp 


More information about the dovecot mailing list