FWD: Confused about Deleted and Expunged

Adam Tauno Williams awilliam at whitemice.org
Fri Jan 17 10:53:20 EST 2020

> I found some entries like:
> [...] cyrus/imap[5918]: Expunged 1 messages from
> test.tld!user.test.spam
> What is the difference between the above entry and the below entry
> (lower and capital
> expunged)?
> [...] cyrus/cyr_expire[14039]: Expired 0 and expunged 0 out of 144674
> messages from 818
> mailboxes
> The "Expunged" message should come from some imap-client (don't know
> which)? 

Yes, an IMAP client issued an EXPUNGE.  

> The "expunged" are from the command line execution of
> "/usr/sbin/cyrus expire [...]".

This looks for Expunged messages to Expire.

It is a three phased delete; which is beautiful.

Message Deleted  (becomes candidate for expunge)
  -> Message Expunged (becomes candidate for expiration) 
  -> Message Expired

The first two steps are performed by the client/user.  The final step
is performed by the administrator, expressed via the server's policy as
defined in cyrus.conf.

More information about the Info-cyrus mailing list