Warning, /pim/libksieve/src/ksieveui/autocreatescripts/tests/scripts/test-address.siv is written in an unsupported language. File is not indexed.

0001 require "subaddress";
0002  
0003 #Script name: test-address
0004 
0005 if allof (address :user :contains "Subject" "foo@example.com"
0006 , not address :all :is "Content-Type" "foo@example.com"
0007 , not address :detail :matches "Subject" "foo@example.com"
0008 )
0009 {
0010     stop;
0011 }
0012 
0013 if allof (header :contains "Bcc" "montel@kde.org"
0014 , header :is [ "Subject", "bcc", "cc" ] "mo@kde.org"
0015 , not header :is [ "cc", "from", "to" ] "m@kde.org;dd@kde.org"
0016 )
0017 {
0018     discard;
0019 }