[Dovecot] Is there a straight forward way to associate login with imap process

Timo Sirainen tss at iki.fi
Mon Dec 22 23:53:25 EET 2008


On Dec 22, 2008, at 9:01 PM, Jack Stewart wrote:

>
> Hi,
>
> Is there a way to associate a user's the login (imap-login) process  
> with  the user's 'imap [' process? We are trying to lock down an  
> issue to make sure we full understand it. /proc and shared memory  
> tools weren't particular useful.

Not really with v1.1, but with v1.2 you can use %e variable in  
login_log_format_elements which expands to mail process PID. I guess  
you could also try if the change happens to apply cleanly to v1.1:

http://hg.dovecot.org/dovecot-1.2/rev/29b623366e1e

> Just for context, we are having an intermittent locking index cache  
> locking issue that appears to impact only a subset of our users.

What kind of a locking issue? Hangs?



More information about the dovecot mailing list