I'm using Ubuntu 11.04 with PostFix and DoveCot for mail in a VPS. I have figured out how to run them and succeeded in sending/receiving emails.
So far, I'm using the following approach: I have lot of domains, and one main principal domain. I created an account where all the emails sent to these domains (catch-all) forward to that principal (and only) account.
I have decided to use Folders to manage my domains, so for domain example.com, I create a folder called example. Everything is fine, however, I want to automate the process.
I want emails sent to email@example.com, to be put automatically inside the domain folder. How to do that?