Man page - cyrus-ipurge(8)
Packages contains this manual
- cyrus-ptdump(8)
- cyrus-ctl_mboxlist(8)
- cyrus-unexpunge(8)
- cyrus-restore(8)
- cyrus-tls_prune(8)
- cyrus-cyr_buildinfo(8)
- cyrus-makedirs(8)
- cyrus-fud(8)
- cyrus-cyr_expire(8)
- cyrus-lmtpproxyd(8)
- cyrus-cyr_userseen(8)
- cyrus-mbpath(8)
- cyrus-ctl_cyrusdb(8)
- cyrus-proxyd(8)
- cyrus-cyr_dbtool(8)
- cyrus-backupd(8)
- cyrus-quota(8)
- cyrus-deliver(8)
- cyrus-ctl_zoneinfo(8)
- cyrus-sieved(8)
- cyrus-cyr_info(8)
- cyrus-cyr_df(8)
- cyrus-ctl_deliver(8)
- cyrus-cyr_ls(8)
- cyrus-cyr_deny(8)
- cyrus-sievec(8)
- cyrus-cyrdump(8)
- cyrus-arbitronsort(8)
- cyrus-master(8)
- cyrus-timsieved(8)
- cyrus-smmapd(8)
- cyrus-reconstruct(8)
- cyrus-pop3proxyd(8)
- cyrus-cvt_xlist_specialuse(8)
- cyr_backup(8)
- cyrus-lmtpd(8)
- cyrus-chk_cyrus(8)
- cyrus-ptloader(8)
- cyr_virusscan(8)
- cyrus-arbitron(8)
- cyrus-dump(8)
- cyrus-mbexamine(8)
- krb.equiv(5)
- cyrus-ipurge(8)
- imapd.conf(5)
- cyrus-mbtool(8)
- ctl_backups(8)
- ctl_conversationsdb(8)
- cyrus-cvt_cyrusdb(8)
- cyrus-ptexpire(8)
- cyrus.conf(5)
- cyrus-notifyd(8)
- cyrus-relocate_by_id(8)
apt-get install cyrus-common
Manual
IPURGE
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
FILES
SEE ALSO
AUTHOR
COPYRIGHT
NAME
ipurge - Cyrus IMAP documentation
Delete mail from IMAP mailbox or partition based on age or size
SYNOPSIS
ipurge
[
-f
] [
-C
config-file
] [
-x
] [
-M
] [
-X
] [
-i
] [
-s
] [
-o
] [
-n
] [
-v
]
[
-d
days
|
-b
bytes
|
-k
Kbytes
|
-m
Mbytes
]
[
mailbox-pattern
... ]
DESCRIPTION
ipurge deletes messages from the mailbox(es) specified by Imailbox-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. Use the -M option to not recurse into the mailboxes.
ipurge reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C .
OPTIONS
-C config-file
Use the specified configuration file config-file rather than the default imapd.conf(5) .
-f, --include-user-mailboxes
Force ipurge to examine mailboxes below INBOX.* and user.*.
-d days, --days=days
Age of message in days .
-b bytes, --bytes=bytes
Size of message in bytes .
-k Kbytes, --kbytes=Kbytes
Size of message in Kbytes (2ˆ10 bytes).
-m Mbytes, --mbytes=Mbytes
Size of message in Mbytes (2ˆ20 bytes).
-x, --exact-match
Perform an exact match on age or size (instead of older or larger).
-X, --delivery-time
Use delivery time instead of Date: header for date matches.
-i, --invert-match
Invert match logic: -x means not equal, date is for newer, size is for smaller.
-s, --skip-flagged
Skip over messages that have the \Flagged flag set.
-o, --only-deleted
Only purge messages that have the \Deleted flag set.
-n, --dry-run
Only print messages that would be deleted (dry run).
-v, --verbose
Enable verbose output/logging.
EXAMPLES
[NB: Examples needed]
FILES
/etc/imapd.conf
SEE ALSO
imapd.conf(5)
AUTHOR
The Cyrus Team, Nic Bernstein (Onlight), Jeroen van Meeuwen (Kolab Systems)
COPYRIGHT
1993–2025, The Cyrus Team