just-a-n00b
just-a-n00b
just-a-n00b

pretty sure neither, or both, depending on your view. it’s less about the type of protocol you’re using for accessing your email, and more about how things go AFTER the mail is in your local client.

or just throw that command into a shell script somewhere (like ~/.scripts/mail-db-vacuum.sh), then set up a cronjob to run it weekly, like at noon, every Wednesday (0 12 * * 3)