diff --git a/services/email.md b/services/email.md index d742acc..7d3bb05 100644 --- a/services/email.md +++ b/services/email.md @@ -2,7 +2,7 @@ title: E-Mail description: published: true -date: 2021-06-02T11:40:25.086Z +date: 2021-06-02T11:51:28.068Z tags: editor: markdown dateCreated: 2021-03-24T20:04:51.198Z @@ -35,7 +35,7 @@ Ein einfaches *Sieve* Script, dass dir automatisch deine @Catch-All E-Mails in U ``` require ["fileinto", "variables", "mailbox"]; -if header :matches "Received" "*<*@*.we.bstly.de>*" +if header :matches "Received" "*for <*@*.we.bstly.de>;*" { fileinto :create "INBOX.${2}"; } @@ -44,12 +44,12 @@ Wenn du möchtest, dass das ganze auch noch einmal in Unterordner für deine Add ``` require ["fileinto", "variables", "mailbox"]; -if header :matches "Received" "*<*@we.bstly.de>*" +if header :matches "Received" "*for <*@we.bstly.de>;*" { fileinto :create "INBOX.${2}"; } -if header :matches "Received" "*<*@*.we.bstly.de>*" +if header :matches "Received" "*for <*@*.we.bstly.de>;*" { fileinto :create "INBOX.${3}.${2}"; }