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

Timo Sirainen tss at iki.fi
Tue Sep 26 00:01:02 EEST 2006


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.

-------------- 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/20060926/73fdd15f/attachment.pgp 


More information about the dovecot mailing list