Hello, I'm am trying to use the ipurge command to delete messages and have a question. Here is the directory structure and files:
/var/spool/imap/d/user/john Deleted Items 07/19/2008 9:21:37 PM rwx------ cyrus Drafts 07/19/2008 9:21:37 PM rwx------ cyrus MACS 07/19/2008 9:21:37 PM rwx------ cyrus Sent Items 07/19/2008 9:21:37 PM rwx------ cyrus 1. 13,646 07/09/2008 5:09:00 PM rw------- cyrus 2. 10,007 07/10/2008 10:18:01 AM rw------- cyrus cyrus.cache 1,796 07/18/2008 3:49:49 PM rw------- cyrus cyrus.header 170 07/18/2008 5:04:49 PM rw------- cyrus cyrus.index 136 07/18/2008 3:49:49 PM rw------- cyrus cyrus.squat 17,023 07/18/2008 3:49:49 PM rw------- cyrus How can I delete the items in "/var/spool/imap/d/user/john" (i.e. item "1." and "2.") without deleting the items in "/var/spool/imap/d/user/john/MACS"? I tried this command ==> su cyrus -c "/bin/ipurge -d1 user/dino" ===> But nothing is deleted. When I try this one ==> su cyrus -c "/opt/insight/bin/ipurge -d1 -f user/dino" ===> It deletes all messages in all directories in "/var/spool/imap/d/user/john" What am I doing wrong? Thanks!
---- 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