docs: update services/email

This commit is contained in:
_Bastler 2021-06-02 15:52:12 +02:00 committed by John Smith
parent efbd40fb2f
commit 01355cd9f7

View File

@ -2,7 +2,7 @@
title: E-Mail title: E-Mail
description: description:
published: true published: true
date: 2021-06-02T13:51:02.716Z date: 2021-06-02T13:52:10.327Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2021-03-24T20:04:51.198Z dateCreated: 2021-03-24T20:04:51.198Z
@ -36,7 +36,7 @@ Ein einfaches *Sieve* Script, dass dir automatisch deine @Catch-All E-Mails in U
require ["fileinto", "variables", "mailbox"]; require ["fileinto", "variables", "mailbox"];
if header :index 1 :last :matches "Received" "*<*@*.we.bstly.de>;*" if header :index 1 :last :matches "Received" "*for <*@*.we.bstly.de>;*"
{ {
fileinto :create "INBOX.${2}"; fileinto :create "INBOX.${2}";
} }
@ -45,12 +45,12 @@ Wenn du möchtest, dass das ganze auch noch einmal in Unterordner für deine Add
``` ```
require ["fileinto", "variables", "mailbox", "index"]; require ["fileinto", "variables", "mailbox", "index"];
if header :index 1 :last :matches "Received" "*<*@we.bstly.de>;*" if header :index 1 :last :matches "Received" "*for <*@we.bstly.de>;*"
{ {
fileinto :create "INBOX.${2}"; fileinto :create "INBOX.${2}";
} }
if header :index 1 :last :matches "Received" "*<*@*.we.bstly.de>;*" if header :index 1 :last :matches "Received" "*for <*@*.we.bstly.de>;*"
{ {
fileinto :create "INBOX.${3}.${2}"; fileinto :create "INBOX.${3}.${2}";
} }