Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| info:thunderbird:email_filtres_sieve [2022/09/02 07:25] – créée radeff | info:thunderbird:email_filtres_sieve [2022/09/02 07:31] (Version actuelle) – radeff | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Sieve / filtre email ====== | ====== Sieve / filtre email ====== | ||
| //Le Sieve (du mot anglais crible comme dans le crible d' | //Le Sieve (du mot anglais crible comme dans le crible d' | ||
| + | |||
| + | ===== Exemples (wikipedia) ===== | ||
| + | < | ||
| + | # Sieve filter | ||
| + | |||
| + | # Declare the extensions used by this script. | ||
| + | # | ||
| + | require [" | ||
| + | |||
| + | # Messages bigger than 100K will be rejected with an error message | ||
| + | # | ||
| + | if size :over 100K { | ||
| + | | ||
| + | Please upload larger files to a server and send me a link. | ||
| + | Thanks."; | ||
| + | } | ||
| + | |||
| + | # Mails from a mailing list will be put into the folder " | ||
| + | # | ||
| + | elsif address :is [" | ||
| + | | ||
| + | } | ||
| + | |||
| + | # Spam Rule: Message does not contain my address in To, CC or BCC | ||
| + | # header, or subject is something with " | ||
| + | # | ||
| + | elsif anyof (not address :all :contains [" | ||
| + | header :matches " | ||
| + | fileinto " | ||
| + | } | ||
| + | |||
| + | # Keep the rest. | ||
| + | # This is not necessary because there is an " | ||
| + | # | ||
| + | else { | ||
| + | keep; | ||
| + | } | ||
| + | </ | ||
| + | ===== Doc ===== | ||
| * [[https:// | * [[https:// | ||
| Ligne 7: | Ligne 46: | ||
| * [[https:// | * [[https:// | ||
| * https:// | * https:// | ||
| + | * http:// | ||
| + | * http:// | ||
| + | * http:// | ||
| + | * http:// | ||
| + | * http:// | ||
| + | |||
| + | [[intranet: | ||
| {{tag> | {{tag> | ||