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

Dan Trainor dan at v2web.com
Tue Sep 26 00:07:28 EEST 2006


Timo Sirainen wrote:
> On 25.9.2006, at 23.47, Dan Trainor wrote:
> 
>> I think that Timo Siarainen hit the nail in the head there with the 
>> mail_executable comment - but I can't find any documentation that says 
>> mail_executable is actually ran depending on if the authentication was 
>> successfull.  I guess in order to know this, it would have to be 
>> assumed that the daemons (pop, imap, etc etc) are only ran after 
>> authentication is verified.  I guess this makes sense, but I have not 
>> been able to find documentation regarding this matter.
> 
> It's run only after user has authenticated successfully.
> 
>> ...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.

Thanks!
-dant


More information about the dovecot mailing list