<!-- Creator : groff version 1.19.1 --> <!-- CreationDate: Wed Mar 26 07:55:36 2008 --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <meta name="Content-Style" content="text/css"> <title>IPURGE</title> </head> <body> <h1 align=center>IPURGE</h1> <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#FILES">FILES</a><br> <hr> <a name="NAME"></a> <h2>NAME</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="89%"> <p>ipurge − delete mail from IMAP mailbox or partition based on age or size</p> </td> </table> <a name="SYNOPSIS"></a> <h2>SYNOPSIS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="89%"> <p><b>ipurge</b> [ <b>−f</b> ] [ <b>−C</b> <i>config-file</i> ] [ <b>−x</b> ] [ <b>−X</b> ] [ <b>−i</b> ] [ <b>−s</b> ]<br> [ <b>−d</b> <i>days</i> | <b>−b</b> <i>bytes</i> | <b>−k</b> <i>Kbytes</i> | <b>−m</b> <i>Mbytes</i> ]<br> [ <i>mailbox-pattern</i>... ]</p> </td> </table> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="89%"> <p><i>Ipurge</i> deletes messages from the mailbox(es) specified by <i>mailbox-pattern</i> that are older or larger than specified by the <b>-d</b>, <b>-b</b>, <b>-k</b> or <b>-m</b> options. If no <i>mailbox-pattern</i> is given, <i>ipurge</i> works on all mailboxes. If the <b>-x</b> option is given, the message age and size MUST match exactly those specified by <b>-d</b>, <b>-b</b>, <b>-k</b> or <b>-m</b>. The are no default values, and at least one of <b>-d</b>, <b>-b</b>, <b>-k</b> or <b>-m</b> MUST be specified.</p> <!-- INDENTATION --> <p><i>Ipurge</i> by default only deletes mail below shared folders, which means that mails in mailbox(es) below INBOX.* and user.* stay untouched. Use the option <b>-f</b> to also delete mail in mailbox(es) below these folders.</p> <!-- INDENTATION --> <p><i>Ipurge</i> reads its configuration options out of the <i>imapd.conf</i>(5) file unless specified otherwise by <b>-C</b>.</p> </td> </table> <a name="OPTIONS"></a> <h2>OPTIONS</h2> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="5" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>−f</b></p> </td> <td width="8%"></td> <td width="61%"> <p>Force deletion of mail in <i>all</i> mailboxes.</p> </td> <td width="17%"> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="89%"> <p><b>−C</b> <i>config-file</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="22%"></td> <td width="78%"> <p>Read configuration options from <i>config-file</i>.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="89%"> <p><b>−d</b> <i>days</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="22%"></td> <td width="78%"> <p>Age of message in <i>days</i>.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="89%"> <p><b>−b</b> <i>bytes</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="22%"></td> <td width="78%"> <p>Size of message in <i>bytes</i>.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="89%"> <p><b>−k</b> <i>Kbytes</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="22%"></td> <td width="78%"> <p>Size of message in <i>Kbytes</i> (2^10 bytes).</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="89%"> <p><b>−m</b> <i>Mbytes</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="22%"></td> <td width="78%"> <p>Size of message in <i>Mbytes</i> (2^20 bytes).</p> </td> </table> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="4" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>−x</b></p> </td> <td width="8%"></td> <td width="78%"> <p>Perform an exact match on age or size (instead of older or larger).</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>−X</b></p> </td> <td width="8%"></td> <td width="78%"> <p>Use delivery time instead of Date: header for date matches</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>−i</b></p> </td> <td width="8%"></td> <td width="78%"> <p>Invert match logic: -x means not equal, date is for newer, size is for smaller</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>−s</b></p> </td> <td width="8%"></td> <td width="78%"> <p>Skip over messages that have the \Flagged flag set.</p> </td> </table> <a name="FILES"></a> <h2>FILES</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="89%"> <p><b>/etc/imapd.conf</b></p></td> </table> <hr> </body> </html>