[Dovecot] Imap logout message on Dovecot restart
Timo Sirainen
tss at iki.fi
Thu Mar 12 23:19:39 EET 2009
On Thu, 2009-03-12 at 21:50 +0100, RutgerM wrote:
> #!/bin/sh
> unset LOG_TO_MASTER
> export USE_SYSLOG=1
> exec /usr/lib/dovecot/imap
>
> But this logs the user that runs the script into the imap server and when
> I terminate this terminal I get a "Disconnected" message for the local
> linux user, which I don't need of course.
I don't really understand what you mean by this. It should log
everything the exact same way, except directly to syslog.
> Is there a way to get to what I want ? I want to log my IMAP statics for
> every day and I need to "disconnect" my imap clients for it in some way to
> receive the Disconnected message and count from there.
Actually I just realized there is a simple way:
killall imap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090312/3e94eeb9/attachment.bin
More information about the dovecot
mailing list