If user has not deleted the whole subfolder only some of the messages then is there any way to restore those messages with unexpunge?

It seems that if any subfolders is specified as an argument then then unexpuge segfaults eg.: unexpunge -a user.foo.subfolder

(gdb) bt
#0  0xfedb455c in strlen () from /usr/lib/libc.so.1
#1  0xfee07058 in _doprnt () from /usr/lib/libc.so.1
#2  0xfee090c8 in vsnprintf () from /usr/lib/libc.so.1
#3  0xfedd62a4 in vsyslog () from /usr/lib/libc.so.1
#4  0xfedd5de0 in syslog () from /usr/lib/libc.so.1
#5  0x000178e8 in main (argc=4, argv=0xffbffe5c) at unexpunge.c:507

unexpunge.c:507
   505      if (r || expunge_fd == -1) {
   506          /* mailbox corrupt/nonexistent -- skip it */
507 syslog(LOG_WARNING, "unable to open/lock mailbox %s", argv[optind]);
   508          if (doclose) mailbox_close(&mailbox);
   509          return 0;
   510      }

--
  Leena Heino              University of Tampere / Computer Centre
  ( liinu at uta.fi )      ( http://www.uta.fi/laitokset/tkk )
----
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

Reply via email to