This manual page is for Mac OS X Server version 10.6.3

If you are running Mac OS X (client), this command is not available.

If you are running a different version of Mac OS X Server, view the documentation locally:

  • In Xcode

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



IPURGE(8)                                                                                          IPURGE(8)



NAME
       ipurge - delete mail from IMAP mailbox or partition based on age or size

SYNOPSIS
       ipurge [ -f ] [ -C config-file ] [ -x ] [ -X ] [ -i ] [ -s ]
              [ -d days | -b bytes | -k Kbytes | -m Mbytes ]
              [ mailbox-pattern...  ]

DESCRIPTION
       Ipurge  deletes  messages  from the mailbox(es) specified by mailbox-pattern that are older or larger
       than specified by the -d, -b, -k or -m options.  If no mailbox-pattern is given, ipurge works on  all
       mailboxes.  If the -x option is given, the message age and size MUST match exactly those specified by
       -d, -b, -k or -m.  The are no default values, and at least one of -d, -b, -k or -m MUST be specified.

       Ipurge by default only deletes mail below shared folders, which means that mails in mailbox(es) below
       INBOX.* and user.* stay untouched. Use the option -f to also delete mail in mailbox(es)  below  these
       folders.

       Ipurge  reads  its  configuration options out of the imapd.conf(5) file unless specified otherwise by
       -C.

OPTIONS
       -f     Force deletion of mail in all mailboxes.

       -C config-file
              Read configuration options from config-file.

       -d days
              Age of message in days.

       -b bytes
              Size of message in bytes.

       -k Kbytes
              Size of message in Kbytes (2^10 bytes).

       -m Mbytes
              Size of message in Mbytes (2^20 bytes).

       -x     Perform an exact match on age or size (instead of older or larger).

       -X     Use delivery time instead of Date: header for date matches

       -i     Invert match logic: -x means not equal, date is for newer, size is for smaller

       -s     Skip over messages that have the \Flagged flag set.

FILES
       /etc/imapd.conf



CMU                                             Project Cyrus                                      IPURGE(8)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...