imapd logging for mail deletion/creation

Alexey Melnikov alexey.melnikov at
Wed Sep 14 13:47:05 EDT 2005

Bernhard Reiter wrote:

>>Why do you want to log all EXPUNGE attempts? Just to prove that the 
>>client has issued an EXPUNGE?
>Yes, though the successful state probably is most interesting.
The logging statement happens before access controls are checked, so it 
doesn't guaranty that EXPUNGE would do anything.

I think just logging which messages got expunged is sufficient. Maybe 
add the number of messages to the log message.

More information about the Cyrus-devel mailing list