Hi Marco, unexpunge will only recover deleted messages within a folder. You will need to rename the mailbox from DELETED/user/xxx/yyy back to the correct location. Cheeers, Ken On Thu, Apr 15, 2010 at 02:35:02PM +0200, Marco wrote: > Hi, > I have a problem using unexpunge. It works as expected recovering > INBOX messages, but if I delete an entire folder, I can't see it on > 'unexpunge -l user/<uid>@<domain>'. I also tried 'unexpunge -l > user/<uid>/<folder>@<domain>', where <folder> is the folder deleted > that I want unexpunge. > > Same problem if I delete the entire mailbox (with dm > user/<uid>@<domain> from cyradm). If I recreate the user I can't > recover it with unexpunge, even if cyradm 'lm' command show > DELETED/user/<uid>@<domain>. > > Could you help me? > > This is my conf (Invoca RPM build with delete_mode:delayed and > expunge_mode:delayed): > > configdirectory: /var/lib/imap > partition-default: /var/spool/imap > altnamespace: 1 > serverinfo: on > admins: cyrus > > sievedir: /var/lib/imap/sieve > autosievefolders: Spam > autocreate_sieve_script: /var/lib/imap/sieve/spam_script > autocreate_sieve_compiledscript: /var/lib/imap/sieve/spam_script_compiled > generate_compiled_sieve_script: 1 > > sendmail: /usr/sbin/sendmail > hashimapspool: true > sasl_pwcheck_method: saslauthd > sasl_mech_list: PLAIN > > > quotawarn: 80 > normalizeuid: 1 > syslog_prefix: cyrus > unixhierarchysep: 1 > autocreatequota: 20480 > createonpost: 1 > autosubscribe_all_sharedfolders: yes > singleinstancestore: 1 > defaultdomain: cyrcyr.it > improved_mboxlist_sort: 1 > virtdomains: userid > quotadb: skiplist > > # Apply condostore > mailbox_default_options: 2 > > My cyrus version is > name : Cyrus IMAPD > version : v2.3.16-Invoca-RPM-2.3.16-1 2009/12/21 13:09:10 > vendor : Project Cyrus > support-url: http://cyrusimap.web.cmu.edu > os : Linux > os-version : 2.6.18-164.el5 > environment: Built w/Cyrus SASL 2.1.22 > Running w/Cyrus SASL 2.1.22 > Built w/Sleepycat Software: Berkeley DB 4.3.29: > (February 19, 2009) > Running w/Sleepycat Software: Berkeley DB 4.3.29: > (February 19, 2009) > Built w/OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 > Running w/OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 > Built w/zlib 1.2.3 > Running w/zlib 1.2.3 > CMU Sieve 2.3 > TCP Wrappers > mmap = shared > lock = fcntl > nonblock = fcntl > idle = idled > > > Thank you very much > Regards > Marco > > ---- > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html