mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Activate more Sieve extensions and use parseScript when saving script
This commit is contained in:
parent
58f5e90f8f
commit
40adf992ed
9 changed files with 39 additions and 38 deletions
|
|
@ -51,9 +51,10 @@ import {
|
|||
TrueCommand
|
||||
} from 'Sieve/Tests';
|
||||
|
||||
import {
|
||||
VacationCommand
|
||||
} from 'Sieve/Extensions/rfc5230';
|
||||
import { BodyCommand } from 'Sieve/Extensions/rfc5173';
|
||||
import { EnvironmentCommand } from 'Sieve/Extensions/rfc5183';
|
||||
import { SetCommand, StringCommand } from 'Sieve/Extensions/rfc5229';
|
||||
import { VacationCommand } from 'Sieve/Extensions/rfc5230';
|
||||
|
||||
import {
|
||||
SetFlagCommand,
|
||||
|
|
@ -62,6 +63,10 @@ import {
|
|||
HasFlagCommand
|
||||
} from 'Sieve/Extensions/rfc5232';
|
||||
|
||||
import { SpamTestCommand, VirusTestCommand } from 'Sieve/Extensions/rfc5235';
|
||||
import { DateCommand, CurrentDateCommand } from 'Sieve/Extensions/rfc5260';
|
||||
import { AddHeaderCommand, DeleteHeaderCommand } from 'Sieve/Extensions/rfc5293';
|
||||
|
||||
import {
|
||||
ErejectCommand,
|
||||
RejectCommand
|
||||
|
|
@ -97,6 +102,13 @@ const
|
|||
not: NotCommand,
|
||||
size: SizeCommand,
|
||||
true: TrueCommand,
|
||||
// rfc5173
|
||||
body: BodyCommand,
|
||||
// rfc5183
|
||||
environment: EnvironmentCommand,
|
||||
// rfc5229
|
||||
set: SetCommand,
|
||||
string: StringCommand,
|
||||
// rfc5230
|
||||
vacation: VacationCommand,
|
||||
// rfc5232
|
||||
|
|
@ -104,6 +116,15 @@ const
|
|||
addflag: AddFlagCommand,
|
||||
removeflag: RemoveFlagCommand,
|
||||
hasflag: HasFlagCommand,
|
||||
// rfc5235
|
||||
spamtest: SpamTestCommand,
|
||||
virustest: VirusTestCommand,
|
||||
// rfc5260
|
||||
date: DateCommand,
|
||||
currentdate: CurrentDateCommand,
|
||||
// rfc5293
|
||||
AddHeaderCommand,
|
||||
DeleteHeaderCommand,
|
||||
// rfc5429
|
||||
ereject: ErejectCommand,
|
||||
reject: RejectCommand,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue