–To remove all email older than one year from this account’s Junk folder via the command line, use the following command:
whmapi1 expunge_mailbox_messages [email protected] mailbox=INBOX.Junk query=’savedbefore 52w’ |
–To remove all email older than one year from this account’s INBOX via the command line, use the following command:
whmapi1 expunge_mailbox_messages [email protected] mailbox=INBOX query=’savedbefore 52w’ |
(Visited 286 times, 1 visits today)