2016-10-12 83 views
0

我有一個篩過濾器,它看起來像:篩和MIME擴展

require ["mime", "imap4flags"]; 

if header :mime :contenttype "Content-Type" "message/upload-notification" 
{ 
    setflag "\\Seen"; 
} 

當我嘗試它complie二進制版本達夫科特我收到一個錯誤:

97-upload-processed: line 1: error: require command: unknown Sieve capability `mime'. 
97-upload-processed: line 3: error: unknown tagged argument ':mime' for the header test (reported only once at first occurrence). 
97-upload-processed: error: validation failed. 
sievec(root): Error: failed to compile sieve script '97-upload-processed.sieve' 

難道我錯過了什麼?

回答