mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Added Sieve extension rfc6134 partial
This commit is contained in:
parent
63de537f8f
commit
e4bd24b4e8
13 changed files with 76 additions and 31 deletions
|
|
@ -213,6 +213,10 @@ export const parseScript = (script, name = 'script.sieve') => {
|
|||
pushArg = arg => {
|
||||
command || error('Argument not part of command');
|
||||
let prev_arg = args[args.length-1];
|
||||
/*
|
||||
// https://datatracker.ietf.org/doc/html/rfc6134#section-2.3
|
||||
if (':is' === arg || ':contains' === arg || ':matches' === arg || (capa.includes('extlists') && ':list')) {
|
||||
*/
|
||||
if (':is' === arg || ':contains' === arg || ':matches' === arg) {
|
||||
command.match_type = arg;
|
||||
} else if (':value' === prev_arg || ':count' === prev_arg) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue