1IPURGE(8)                   System Manager's Manual                  IPURGE(8)
2
3
4

NAME

6       ipurge  -  delete  mail  from IMAP mailbox or partition based on age or
7       size
8

SYNOPSIS

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

DESCRIPTION

15       Ipurge deletes messages from the mailbox(es) specified by  mailbox-pat‐
16       tern  that  are  older or larger than specified by the -d, -b, -k or -m
17       options.  If no mailbox-pattern is given, ipurge  works  on  all  mail‐
18       boxes.   If the -x option is given, the message age and size MUST match
19       exactly those specified by -d, -b, -k or -m.  The are no  default  val‐
20       ues, and at least one of -d, -b, -k or -m MUST be specified.
21
22       Ipurge  by  default only deletes mail below shared folders, which means
23       that mails in mailbox(es) below INBOX.* and user.* stay untouched.  Use
24       the option -f to also delete mail in mailbox(es) below these folders.
25
26       Ipurge  reads  its  configuration options out of the imapd.conf(5) file
27       unless specified otherwise by -C.
28

OPTIONS

30       -f     Force deletion of mail in all mailboxes.
31
32       -C config-file
33              Read configuration options from config-file.
34
35       -d days
36              Age of message in days.
37
38       -b bytes
39              Size of message in bytes.
40
41       -k Kbytes
42              Size of message in Kbytes (2^10 bytes).
43
44       -m Mbytes
45              Size of message in Mbytes (2^20 bytes).
46
47       -x     Perform an exact match on age  or  size  (instead  of  older  or
48              larger).
49
50       -X     Use delivery time instead of Date: header for date matches
51
52       -i     Invert  match logic: -x means not equal, date is for newer, size
53              is for smaller
54
55       -s     Skip over messages that have the \Flagged flag set.
56

FILES

58       /etc/imapd.conf
59
60
61
62CMU                              Project Cyrus                       IPURGE(8)
Impressum