Fix create stanza
This commit is contained in:
@@ -8,12 +8,12 @@ It automatically creates a directory for that alias and moves the mail there.
|
|||||||
Then it stops processing.
|
Then it stops processing.
|
||||||
|
|
||||||
```
|
```
|
||||||
require ["fileinto","regex","variables"];
|
require ["fileinto","mailbox","regex","variables"];
|
||||||
|
|
||||||
if allof (header :regex "to" "^<name>.(.*)@<domain.tld>$")
|
if allof (header :regex "to" "^<name>.(.*)@<domain.tld>$")
|
||||||
{
|
{
|
||||||
set :lower :upperfirst "target" "${1}";
|
set :lower :upperfirst "target" "${1}";
|
||||||
fileinto "${target}";
|
fileinto :create "${target}";
|
||||||
stop;
|
stop;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user