imapd logging for mail deletion/creation

Alexey Melnikov alexey.melnikov at
Wed Sep 14 12:59:42 EDT 2005

Bernhard Reiter wrote:

>It seems we are in a better need of logging
>so answer questions which client or MTA has created or deleted specific emails.
>More details can be found here:
Logging of appended messages is to early in the code, APPEND can fail 
after that.

Why do you want to log all EXPUNGE attempts? Just to prove that the 
client has issued an EXPUNGE?

Logging messages on EXPUNGE is about right.

As a side note, I think there should be an option that controls if the 
extra logging you've proposed is done.

>Out of time pressure we did not find something good
>and Bernhard Herzog created a quick hack (also linked from issue928 above).
>I am attaching it here for convenience.
>Warning: This is experimental, 
>we do not know if it actually logs everything.
>Does it look okay for the purpose?
>Were we missing a method to answer the question without it?
>What would be the right way of implementing such logging?
>Any hints appreciated.

More information about the Cyrus-devel mailing list