After upgrade to 2.4.6 I'm not able to expunge messages

Martin Schweizer schweizer.martin at
Tue Mar 8 03:19:56 EST 2011


My system:
FreeBSD 8.1 (amd64)

So far all is working correct since the last update (four weeks ago).
Now I recognize that the mails will not be expunge. As for the testing
I checked my mailbox on that system:

localhost> info user.martin
  duplicatedeliver: false
  lastpop: 23-Feb-2011 17:28:33 +0100
  lastupdate:  8-Mar-2011 08:45:41 +0100
  partition: default
  pop3newuidl: true
  sharedseen: false
  size: 239411

I haven't 240MB in my mailbox.

Here the relevant part of /usr/local/etc/imapd.conf and cyrus.conf:

expunge_mode: delayed
expunge_days: 1

delprune      cmd="cyr_expire -X 5 -E 3" at=0400

If I start ./cyr_expire -E 1 -X 1 -p user.martin -v by hand I get:

Expunging deleted messages in mailboxes older than 1 days
Expunged 0 out of 774 messages from 16 mailboxes

In /var/log/debug I see only messages such:
# bzgrep cyr_ex /var/log/debug* | grep martin
/var/log/debug.log.4.bz2:Mar  8 04:00:01 acsvfbsd06 cyr_expire[99550]:
Repacking mailbox user.martin.DenyHosts

If I start # ./unexpunge -l user.martin -v. I get no output.

This is what I get on the disks:
# du -h -d 1 ./martin
 48K    ./martin/IPass
 78K    ./martin/Sent
 68K    ./martin/Sendmail_Statistik
 68K    ./martin/SwissVaultBackup
 38K    ./martin/NetVault_Lizenz
1,2M    ./martin/Auswertung
2,4M    ./martin/Cron
 34K    ./martin/DenyHosts
5,6M    ./martin/Disks
110K    ./martin/Drafts
 19M    ./martin/NetVault
124K    ./martin/Postmaster
 68M    ./martin/System
5,8M    ./martin/Trash
 54K    ./martin/Spam
103M    ./martin
# pwd

I also start an reconstruct with different options, also with no luck.

So what did i wrong?


Martin Schweizer
schweizer.martin at

More information about the Info-cyrus mailing list