Copyright © tutorialspoint.com
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.
| Tag | Description |
|---|---|
| -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. |
| Tag | Description |
|---|---|
| /etc/imapd.conf | |
Copyright © tutorialspoint.com