How do I set up server-side custom IMAP mail filters/rules?

  • Posted on February 21, 2014
  • skinniyahAsked by skinniyah

I am upgrading from a shared hosting setup with cPanel to DO. cPanel allows me to setup account-level and user-level filters with IMAP accounts. For instance:

  1. forwarded email from can be set to be delivered to IMAP folder “something” on address
  2. subject lines containing “x” can be set to be delivered to imap folder “x”

How would I accomplish this either with a feature on any of the free admin panels like vesta or even SSH?


Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

What are you using for mail on your server, postfix? Or have you gotten that far? We’ve got an article that should point you in the right direction to set up postfix: <br> <br> <br> <br>It also covers forwarded email to an “alias.” Let us know how it goes! <br> <br>
<br> <br>