Setting up server-side filter rules with CPanel/IMAP

Why didn't I do this earlier? If you have CPanel, you can set up server-side filters which are *great* if you're using IMAP as it means you don't have to train every email client on every one of your computers to place Flashcoders in your Flashcoders folder. Filtering *should* be done on the server :)

So, go into CPanel -> Email Management -> Email filtering.

Add Filter.

Add your criteria and in the Destination, enter the absolute path to the folder that you want the email placed in. This is slightly tricky to figure out if you don't have shell access. On my server it was /home/[CPanel username]/mail/[domain.name]/[mail username]/[folder name].

That's it! No more setting client-side mail filters! :)

Comments