[Dovecot] Preforming an action/trigger after a user successfully authenticates

Dan Trainor dan at v2web.com
Tue Sep 26 02:13:31 EEST 2006


Timo Sirainen wrote:
> On 26.9.2006, at 0.07, Dan Trainor wrote:
> 
>>>> ...which is kindof the way I want this to work.  However, I need to 
>>>> pass that one piece of identifiable data, i.e. a user at domain.tld 
>>>> variable, in order to play with SQL some more.
>>>>
>>>> With that being said, anyone know how that might be posssible?
>>> It's in $USER environment.
>>
>> Hi, Timo -
>>
>> Thanks again for the info.
>>
>> Do you know where I might be able to find a list of variables which 
>> are available to me in this manner?  Is this Dovecot-specific stuff, 
>> or is it shell-specific variables?  I'm a bit confused as to where to 
>> draw the line.
> 
> Dovecot creates all the environment variables that the shell sees. 
> Dovecot master process passes all the configuration and the 
> user-specific data in environment variables to the mail processes. 
> Easiest way to get a list of what is available is to just add to the 
> mail executable script:
> 
> set > /tmp/dovecot.envs
> 

Hi -

Awesome, exactly what I was looking for.

Expect to see my results on the Wiki within the hour.  I think this is 
kindof exciting.

Thanks!
-dant


More information about the dovecot mailing list