Undelete seems not to do anything. Happy to do SQL to recover the
messages if necessary.
I have a setup with no retention policies, just the old undelete time:
root@nas:~ # aox show cf undelete-time
undelete-time = 49
root@nas:~ # aox show retention
root@nas:~ #
I look in the deleted_messages table:
select name,count(*) from mailboxes m,deleted_messages d where
m.id=d.mailbox and name like '%eileen%' group by m.name;
"/users/eileenh/INBOX";182
"/users/eileenm/INBOX";69
However:
root@nas:~ # aox undelete /users/eileenm/INBOX younger 50
aox: No such deleted message (search returned 0 results)
root@nas:~ # aox undelete /users/eileenh/INBOX younger 50
aox: No such deleted message (search returned 0 results)
What am I doing wrong?
root@nas:~ # aox show build
Archiveopteryx version 3.2.0, http://archiveopteryx.org/3.2.0
Built on Feb 11 2015 14:34:56
Build source: oryx.git/v3.2.0
Jamsettings:
CONFIGDIR = /usr/local/etc/archiveopteryx
PIDFILEDIR = /var/run/aox
BINDIR = /usr/local/bin
SBINDIR = /usr/local/sbin
MANDIR = /usr/local/man
LIBDIR = /usr/local/libexec/aox
INITDIR = /usr/local/etc/rc.d
AOXUSER = aox
AOXGROUP = aox
VERSION = 3.2.0