Injecting a mail folder into a users inbox/restore from backup

Michael Neumann Michael.Neumann at
Wed Dec 12 02:51:58 EST 2012

Am 12.12.2012 08:35, schrieb Michael Menge:
> expunge_mode is only for mails, delete_mode is the option for
> folders but works slightly different. The deleted folder is
> moved to a special folder (option deletedprefix in imapd.conf)
> You can restore the folder with cyradm by movin it to the old
> place.
> cyr_expire will remove the old mails an folders. Take a look at
> the options and configure a cyr_expire run in the EVENT section
> of cyrus.conf

Thanks, so the delete_duration for mailboxes is set using the -D option
of cyr_expire. I am now unsure about expunge_mode, there is an option
expunge_days in imapd.conf and the -X option of cyr_expire, how do those
two options work together?

Best Regards
Michael Neumann
Michael.Neumann at
Universitaetsbibliothek Dortmund
Telefon: +49 231 755 4773

More information about the Info-cyrus mailing list