mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Improved Sieve code and added rfc5435
This commit is contained in:
parent
f453abf149
commit
b3c1723c5c
10 changed files with 165 additions and 65 deletions
|
|
@ -69,6 +69,7 @@ import { SpamTestTest, VirusTestTest } from 'Sieve/Extensions/rfc5235';
|
|||
import { DateTest, CurrentDateTest } from 'Sieve/Extensions/rfc5260';
|
||||
import { AddHeaderCommand, DeleteHeaderCommand } from 'Sieve/Extensions/rfc5293';
|
||||
import { ErejectCommand, RejectCommand } from 'Sieve/Extensions/rfc5429';
|
||||
import { NotifyCommand, ValidNotifyMethodTest, NotifyMethodCapabilityTest } from 'Sieve/Extensions/rfc5435';
|
||||
import { IHaveTest, ErrorCommand } from 'Sieve/Extensions/rfc5463';
|
||||
import { MailboxExistsTest, MetadataTest, MetadataExistsTest } from 'Sieve/Extensions/rfc5490';
|
||||
import { IncludeCommand, ReturnCommand } from 'Sieve/Extensions/rfc6609';
|
||||
|
|
@ -124,6 +125,10 @@ const
|
|||
// rfc5429
|
||||
ereject: ErejectCommand,
|
||||
reject: RejectCommand,
|
||||
// rfc5435
|
||||
notify: NotifyCommand,
|
||||
valid_notify_method: ValidNotifyMethodTest,
|
||||
notify_method_capability: NotifyMethodCapabilityTest,
|
||||
// rfc5463
|
||||
ihave: IHaveTest,
|
||||
error: ErrorCommand,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue