Fix create stanza - times 2

This commit is contained in:
2023-06-19 22:47:23 +02:00
parent c3880bac55
commit 764a56702a

View File

@@ -10,7 +10,7 @@ Then it stops processing.
``` ```
require ["fileinto","mailbox","regex","variables"]; require ["fileinto","mailbox","regex","variables"];
if allof (header :regex "to" "^<name>.(.*)@<domain.tld>$") if allof (header :regex "to" "^<name>.([0-9a-zA-Z]*)@<domain.tld>$")
{ {
set :lower :upperfirst "target" "${1}"; set :lower :upperfirst "target" "${1}";
fileinto :create "${target}"; fileinto :create "${target}";