From 8895b2ba5ccbaf01199a5232ccaf0ea57415c490 Mon Sep 17 00:00:00 2001 From: _Bastler Date: Thu, 3 Jun 2021 12:51:33 +0200 Subject: [PATCH] docs: update services/email --- services/email.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/email.md b/services/email.md index af589f8..673da75 100644 --- a/services/email.md +++ b/services/email.md @@ -2,7 +2,7 @@ title: E-Mail description: published: true -date: 2021-06-03T10:29:37.157Z +date: 2021-06-03T10:51:32.060Z tags: editor: markdown dateCreated: 2021-03-24T20:04:51.198Z @@ -38,6 +38,7 @@ require ["fileinto", "variables", "mailbox"]; if header :matches "Received" "*for <*@we.bstly.de>;*" { fileinto :create "INBOX.${2}"; + stop; } ``` Wenn du möchtest, dass das ganze auch noch einmal in Unterordner für deine Addressen inklusive deiner [Alternativen Namen](https://wiki.bstly.de/de/services/webstly#aliases) landet, kannst du folgendes Script verwenden: @@ -47,12 +48,14 @@ require ["fileinto", "variables", "mailbox"]; if header :matches "Received" "*for <*@*.we.bstly.de>;*" { fileinto :create "INBOX.${3}.${2}"; + stop; } # ersetze [alias] durch deinen Alias, kopiere den Abschnitt für jeden weiteren Alias if header :matches "Received" "*for <[alias]@we.bstly.de>;*" { fileinto :create "INBOX.[alias]"; + stop; } ```