Frank Elsner
2008-Dec-24 15:25 UTC
[Dovecot] verbose_proctitle not working with post-login
Happy Xmas, when using a post-login procedure the "verbose_proctitle = yes" has no effect. If it is feature then please explain else please fix the bug fi --Frank Elsner
Timo Sirainen
2009-Jan-08 20:41 UTC
[Dovecot] verbose_proctitle not working with post-login
On Wed, 2008-12-24 at 16:25 +0100, Frank Elsner wrote:> Happy Xmas, > > when using a post-login procedure the "verbose_proctitle = yes" has no effect. > > If it is feature > then > please explain > else > please fix the bug > fiI suppose you mean you modified mail_executable to point to your own script? In that case it's really a bug in your script. Or I suppose also a bug in Dovecot's documentation. Updated: http://wiki.dovecot.org/PostLoginScripting Note the added $* in exec /usr/local/libexec/dovecot/imap $* -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090108/e65f8e17/attachment-0002.bin>
Frank Elsner
2009-Jan-09 20:26 UTC
[Dovecot] verbose_proctitle not working with post-login
On Thu, 08 Jan 2009 15:41:17 -0500 Timo Sirainen wrote:> On Wed, 2008-12-24 at 16:25 +0100, Frank Elsner wrote: > > Happy Xmas, > > > > when using a post-login procedure the "verbose_proctitle = yes" has no effect. > > > > If it is feature > > then > > please explain > > else > > please fix the bug > > fi > > I suppose you mean you modified mail_executable to point to your own > script? In that case it's really a bug in your script. Or I suppose also > a bug in Dovecot's documentation. Updated: > > http://wiki.dovecot.org/PostLoginScripting > > Note the added $* in > > exec /usr/local/libexec/dovecot/imap $*Thanks, now it works as desired. But ... In http://wiki.dovecot.org/PostLoginScripting the example for "Last-login tracking" says "Finally execute the imap/pop3 binary. If you use both, you'll need two scripts." Is this a must? My dovecot.conf currently contains mail_executable = /usr/dovecot/libexec/dovecot/post-login imap and mail_executable = /usr/dovecot/libexec/dovecot/post-login pop3 And "post-login" reads | #!/bin/bash | | PROTO=$1 | | # Set QUOTA_RULE from exim's quota table | ... | ... | export QUOTA_RULE | | exec -a "$PROTO [$USER $IP]" /usr/dovecot/libexec/dovecot/$PROTO This works. "ps -ef" shows protocol, username and ip as if calling pop3/imap directly. --Frank Elsner
Seemingly Similar Threads
- Unknown quota backend / imap dump-capability process returned 89
- ssl-params regeneration with dovecot 2.2.7
- 1.2.alpha1: file_dotlock_open() failed with subscription file
- SYN flooding / pipe() failed: Too many open files
- dovecot 2.1.1 + pigeonhole + avelsieve