Site icon Learning & Doing

Cara Delete email dari commandline Cpanel

–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 account=xxx@gamesy.com 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 account=xxxxxxxx@gamesy.com mailbox=INBOX query=’savedbefore 52w’
Exit mobile version