I'm trying to use Email Filters in cPanel on mxroute to work around misbehaving sites that don't support email plus addressing (as described here). In short, replacing the "+" with another character that's commonly accepted like "-" and forwarding it just like it were a "+".
The rule part works great:
Any Recipient - matches regex me-(.*?)@mydomain.com
However, when I try to save the following action:
Redirect to email [email protected]
I get the following error:
Filter destination paths cannot contain mailboxes that start with the “~” character or contain the following characters: “@”, “$”, “"”, and “\0”
It lets me save when I change it to
[email protected], but that's not what I want since it prevents the email from being stored in the appropriate folder. I'd also rather not create a separate rule for each possible email address.
I figured I'd be able to do this with regex since I thought cPanel Email Filters were just a UI over Exim (which appears to support rewrite patterns).
Is this possible using Email Filters? Does the UI accept the pattern in some other format? Is there another way to do this in cPanel with limited access like is present in mxroute?