<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>ipurge question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm am trying to use the ipurge command to delete messages and have a question. Here is the directory structure and files:</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> /var/spool/imap/d/user/john</FONT>
<BR> <FONT SIZE=2 FACE="Arial">Deleted Items 07/19/2008 9:21:37 PM rwx------ cyrus</FONT>
<BR> <FONT SIZE=2 FACE="Arial">Drafts 07/19/2008 9:21:37 PM rwx------ cyrus</FONT>
<BR> <FONT SIZE=2 FACE="Arial">MACS 07/19/2008 9:21:37 PM rwx------ cyrus</FONT>
<BR> <FONT SIZE=2 FACE="Arial">Sent Items 07/19/2008 9:21:37 PM rwx------ cyrus</FONT>
<BR> <FONT SIZE=2 FACE="Arial">1. 13,646 07/09/2008 5:09:00 PM rw------- cyrus</FONT>
<BR> <FONT SIZE=2 FACE="Arial">2. 10,007 07/10/2008 10:18:01 AM rw------- cyrus</FONT>
<BR> <FONT SIZE=2 FACE="Arial">cyrus.cache 1,796 07/18/2008 3:49:49 PM rw------- cyrus</FONT>
<BR> <FONT SIZE=2 FACE="Arial">cyrus.header 170 07/18/2008 5:04:49 PM rw------- cyrus</FONT>
<BR> <FONT SIZE=2 FACE="Arial">cyrus.index 136 07/18/2008 3:49:49 PM rw------- cyrus</FONT>
<BR> <FONT SIZE=2 FACE="Arial">cyrus.squat 17,023 07/18/2008 3:49:49 PM rw------- cyrus</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">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"?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I tried this command ==> su cyrus -c "/bin/ipurge -d1 user/dino" ===> But nothing is deleted.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">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"</FONT></P>
<P><FONT SIZE=2 FACE="Arial">What am I doing wrong?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks!</FONT>
</P>
</BODY>
</HTML>