In 2008, over one thousand people experienced the world’s first virtual web conference. Together, we created a new type of conference that is environmentally-friendly, affordable, and interactive.

In 2009, we are going to take it one step further.


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! :)

Post Metadata

Date
December 5th, 2005

Author
Aral Balkan

Category

Tags


5 Comments



  1. Tuttle

    Does this still work? I used to do this when our cPanel server still used mbox mail storage format.
    /home/[CPanel username]/mail/[domain.name]/[mail username]/[folder name]

    However, now our cPanel server has converted to maildir mail storage format. Now within a mail account each folder name begins with a period, e.g. for mail username Bob containing a sub-folder Work, it looks like this:

    home/[CPanel username]/mail/[domain.name]/Bob/.Work

    But, I tried setting the new path in the cPanel filters, adding the new period in front of the folder name, but it isn’t working. The mail that matches the filter patter just disappears and does not go to that folder.

    Something must be different with maildir for specifying pathnames.


  2. Hello,

    I want to disable perticular subject line for all the sites on my server not for perticular doamin so that no one can send an email with that header.
    How can I do that.. please advise.
    Thank you.
    http://windows-tweaks.blogspor.com



  3. Adam C.

    I’m having a similar problem as Tuttle - any new work arounds?


  4. Thanks for the pointer. This has evolved in cPanel 11, to the extent that I can manage filters on a user level from the cPanel screen, and define which folder to move it to purely by name, e.g. ‘Receipts’.


Leave a Reply