The logs are automatically created if the directory exists.
Remove the /var/imap/log/my_mailbox directory to stop it.
Somewhere in the doc its mentions that if the directory
/var/imap/log/username exists when username logs in, then
a session log of the connection is created.
prune wrote:
>
> Hi,
>
> about Cyrus IMAP4 v2.0.9
>
> I don't know why, but I found lots of log from cyrus.
> I remember I searched a lot while installing how to have debug... but
> found nothing... and I still can't find anything in the doc/FAQ.
>
> Then, here is what I found :
>
> /var/imap/log/my_mailbox/xxxxxxxxxxx
>
> where xxxxxxx are tons of files, numbered, with traces of connections :
>
> ...
> 8 list "" "INBOX"
> * LIST () "." "INBOX"
> 8 OK Completed
> 9 select "INBOX"
> * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
> * 4 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 981245727]
> * OK [UIDNEXT 653]
> 9 OK [READ-WRITE] Completed
> 10 getacl "INBOX"
> ...
>
> I only have "my_user_name" in /var/imap/log, which make me think I
> created it myself...
>
> so...
>
> -where do I enable or disable these logs ?
> -what to do with them ? can I just remove them if no use ?
> -did you find something in the doc related to this ??
>
> Once again... thanks....
>
> Prune