I'm running a catch-all email setup with my own domain (mydomain.tld). My hoster offers me to create arbitrary Sieve mail filter rules. I would like to create a rule that moves all incoming mail to a folder that equals the alias of the recipient (under my domain), even if the alias is unknown before.
In practice: If I receive an email via
<alias>@mydomain.tld, I want a Sieve rule that automatically creates a folder named
alias (if non existing) and moves the email into that folder.
A) Is this possible with Sieve?
B) Could you provide the necessary Sieve rule?