<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
My server seems to be insisting on keeping all the emails it's ever
received. The IMAP clients quite happily show the emails that have
not been deleted as expected, but looking in
/var/spool/imap/domain/e/example.com/p/user/person (for example)
shows far more emails, going back to when I started the server up
(February, in this case).<br>
<br>
I've looked for relevant settings, but can't find anything that
seems to be wrong.<br>
<br>
/etc/imap.conf has:<br>
<br>
deletedprefix: DELETED<br>
delete_mode: delayed<br>
expunge_mode: delayed<br>
<br>
/etc/cyrus.conf has:<br>
<br>
deleteprune cmd="cyr_expire -E 4 -D 69" at=0430<br>
expungeprune cmd="cyr_expire -E 4 -X 69" at=0445<br>
<br>
but I don't know where to look to see if these are running. I can't
see any errors in the logs (but am unsure where these should be -
cyrus seems to post to /var/log/maillog, is that right?)<br>
<br>
I su'd into cyrus and ran cyr_expire manually, but it returned
immediately with no output and didn't seem to make any difference.<br>
<br>
On several web pages it mentions The expiration of
messages is controlled by the
<b>/vendor/cmu/cyrus-imapd/expire</b> mailbox annotation, but I
can't figure out how to list this and see if it's currently set. I'm
not at my most confident with IMAP to be honest.<br>
<br>
<br>
Any help?<br>
<br>
Thanks,<br>
Tom.<br>
</body>
</html>