I have the following email formats:
v2208.hello@yello.com
d2311.nope@yello.com
y2512.amazon@yello.com
b2101.yesyes@yello.com
I create them on the fly when I sign up to different sites. I'm having an issue with the regex target for the first 6 characters. I'm setting this sieve in proton mail. But I get errors that its not validating. I'm pretty sure my regex is off somehow.
require ["fileinto", "extlists", "imap4flags", "regex"];
if address :list "to" :regex "^[a-z]\d+\d+\d+\d+\.(.*)@yello.com"
{
addflag "\\yello.com";
fileinto "spam";
}
else
{
fileinto "trash";
}