Commit fe0f3ea4 authored by Laurent Montel's avatar Laurent Montel 😁

Fix ref file

parent df7b7d86
<?xml version='1.0'?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">Script name: add flags </comment><crlf/><control name="if"><test name="size"><tag>under</tag><num>1</num><crlf/></test><block><crlf/><action name="addflag"><list><str type="quoted">\Deleted</str><str type="quoted">\Answered</str><str type="quoted">\Flagged</str></list></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">Script name: add flags </comment><crlf/><control name="if"><test name="size"><tag>under</tag><num>1</num><crlf/></test><block><crlf/><action name="addflag"><list><str type="quoted">\Deleted</str><str type="quoted">\Answered</str><str type="quoted">\Flagged</str></list></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><action name="addheader"><str type="quoted">X-Sieve-Filtered</str><str type="quoted">kim@job.example.com</str></action><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><action name="addheader"><str type="quoted">X-Sieve-Filtered</str><str type="quoted">kim@job.example.com</str></action><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">Script name: add-single-flag</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">reject</str><crlf/></test><block><crlf/><action name="addflag"><list><str type="quoted">\Seen</str></list></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">Script name: add-single-flag</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">reject</str><crlf/></test><block><crlf/><action name="addflag"><list><str type="quoted">\Seen</str></list></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><comment type="hash"> Sieve filter</comment><crlf/><comment type="hash"> Declare the extensions used by this script.</comment><comment/><control name="require"><list><str type="quoted">fileinto</str><str type="quoted">reject</str></list></control><crlf/><crlf/><comment type="hash"> Messages bigger than 100K will be rejected with an error message</comment><comment/><control name="if"><test name="size"><tag>over</tag><num quantifier="K">102400</num></test><block><crlf/><action name="reject"><str type="quoted">I'm sorry, I do not accept mail over 100kb in size.
<?xml version="1.0"?><script><comment type="hash"> Sieve filter</comment><crlf/><comment type="hash"> Declare the extensions used by this script.</comment><comment/><control name="require"><list><str type="quoted">fileinto</str><str type="quoted">reject</str></list></control><crlf/><crlf/><comment type="hash"> Messages bigger than 100K will be rejected with an error message</comment><comment/><control name="if"><test name="size"><tag>over</tag><num quantifier="K">102400</num></test><block><crlf/><action name="reject"><str type="quoted">I'm sorry, I do not accept mail over 100kb in size.
Please upload larger files to a server and send me a link.
Thanks.</str></action><crlf/></block></control><crlf/><crlf/><comment type="hash"> Mails from a mailing list will be put into the folder "mailinglist" </comment><comment/><control name="elsif"><test name="address"><tag>is</tag><list><str type="quoted">From</str><str type="quoted">To</str></list><str type="quoted">mailinglist@blafasel.invalid</str></test><block><crlf/><action name="fileinto"><str type="quoted">INBOX.mailinglist</str></action><crlf/></block></control><crlf/><crlf/><comment type="hash"> Spam Rule: Message does not contain my address in To, CC or Bcc</comment><comment type="hash"> header, or subject is something with "money" or "Viagra".</comment><comment/><control name="elsif"><test name="anyof"><testlist><test name="not"><test name="address"><tag>all</tag><tag>contains</tag><list><str type="quoted">To</str><str type="quoted">Cc</str><str type="quoted">Bcc</str></list><str type="quoted">me@blafasel.invalid</str></test></test><crlf/><test name="header"><tag>matches</tag><str type="quoted">Subject</str><list><str type="quoted">*money*</str><str type="quoted">*Viagra*</str></list></test></testlist></test><block><crlf/><action name="fileinto"><str type="quoted">INBOX.spam</str></action><crlf/></block></control><crlf/><crlf/><comment type="hash"> Keep the rest.</comment><comment type="hash"> This is not necessary because there is a "implicit keep" Rule</comment><comment/><control name="else"><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><crlf/><control name="if"><test name="address"><tag>detail</tag><str type="quoted">to</str><str type="quoted">shopping</str></test><block><action name="fileinto"><str type="quoted">shoppingMania</str></action><action name="stop"></action></block></control><crlf/><comment type="hash">#### Send some of my mail to my brother.</comment><comment type="hash"> ':matches' is used for wildcard matches;</comment><comment type="hash"> *: zero or more characters</comment><comment type="hash"> ?: a single character</comment><comment type="hash"> This example matches 'Summer vacation photos' ,</comment><comment type="hash"> and also 'Istanbul vacation photo'</comment><crlf/><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><crlf/><control name="if"><test name="address"><tag>detail</tag><str type="quoted">to</str><str type="quoted">shopping</str></test><block><action name="fileinto"><str type="quoted">shoppingMania</str></action><action name="stop"></action></block></control><crlf/><comment type="hash">#### Send some of my mail to my brother.</comment><comment type="hash"> ':matches' is used for wildcard matches;</comment><comment type="hash"> *: zero or more characters</comment><comment type="hash"> ?: a single character</comment><comment type="hash"> This example matches 'Summer vacation photos' ,</comment><comment type="hash"> and also 'Istanbul vacation photo'</comment><crlf/><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><comment type="hash"> rule:[Gerrit CI Success]</comment><control name="if"><test name="allof"><testlist><test name="exists"><str type="quoted">X-Gerrit-Commit</str></test><test name="not"><test name="body"><tag>text</tag><tag>contains</tag><list><str type="quoted">WARNINGS</str><str type="quoted">FAILURE</str></list></test></test><test name="header"><tag>contains</tag><str type="quoted">from</str><str type="quoted">Continuous Integration (Code Review)</str></test></testlist></test><crlf/><block><crlf/><action name="setflag"><str type="quoted">\Seen</str></action><crlf/><action name="fileinto"><str type="quoted">INBOX/Trash</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><comment type="hash"> rule:[Gerrit CI Success]</comment><control name="if"><test name="allof"><testlist><test name="exists"><str type="quoted">X-Gerrit-Commit</str></test><test name="not"><test name="body"><tag>text</tag><tag>contains</tag><list><str type="quoted">WARNINGS</str><str type="quoted">FAILURE</str></list></test></test><test name="header"><tag>contains</tag><str type="quoted">from</str><str type="quoted">Continuous Integration (Code Review)</str></test></testlist></test><crlf/><block><crlf/><action name="setflag"><str type="quoted">\Seen</str></action><crlf/><action name="fileinto"><str type="quoted">INBOX/Trash</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">foreverypart</str></control><crlf/><crlf/><comment type="hash">Script name: break</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><control name="break"><tag>name</tag><str type="quoted">optional name</str></control><crlf/><control name="break"></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">foreverypart</str></control><crlf/><crlf/><comment type="hash">Script name: break</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><control name="break"><tag>name</tag><str type="quoted">optional name</str></control><crlf/><control name="break"></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">subaddress</str></control><crlf/><control name="require"><str type="quoted">spamtest</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">spamtestplus</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: Script part 0</comment><comment type="hash"> Try to catch unsolicited email.</comment><control name="if"><test name="anyof"><testlist><test name="not"><test name="address"><tag>all</tag><tag>regex</tag><list><str type="quoted">to</str><str type="quoted">cc</str><str type="quoted">bcc</str></list><str type="quoted">me(\\+.*)?@company\\.com</str><crlf/></test></test><test name="spamtest"><tag>value</tag><str type="quoted">gt</str><tag>comparator</tag><str type="quoted">i;ascii-casemap</str><str type="quoted">0</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="discard"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">subaddress</str></control><crlf/><control name="require"><str type="quoted">spamtest</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">spamtestplus</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: Script part 0</comment><comment type="hash"> Try to catch unsolicited email.</comment><control name="if"><test name="anyof"><testlist><test name="not"><test name="address"><tag>all</tag><tag>regex</tag><list><str type="quoted">to</str><str type="quoted">cc</str><str type="quoted">bcc</str></list><str type="quoted">me(\\+.*)?@company\\.com</str><crlf/></test></test><test name="spamtest"><tag>value</tag><str type="quoted">gt</str><tag>comparator</tag><str type="quoted">i;ascii-casemap</str><str type="quoted">0</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="discard"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">convert</str></control><crlf/><crlf/><comment type="hash">Script name: convert action </comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="convert"><str type="quoted">image/png</str><str type="quoted">image/bmp</str><list><str type="quoted">pix-x=250</str><str type="quoted">pix-y=600</str></list></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">convert</str></control><crlf/><crlf/><comment type="hash">Script name: convert action </comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="convert"><str type="quoted">image/png</str><str type="quoted">image/bmp</str><list><str type="quoted">pix-x=250</str><str type="quoted">pix-y=600</str></list></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">editheader</str></control><crlf/><crlf/><comment type="hash">Script name: delete headers</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="deleteheader"><tag>matches</tag><str type="quoted">header-str</str><str type="quoted">header-value</str></action><crlf/><action name="deleteheader"><test name="not"><tag>is</tag><str type="quoted">header-str</str><str type="quoted">header-value</str></test></action><crlf/><action name="deleteheader"><test name="not"><tag>matches</tag><str/><str/></test></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">editheader</str></control><crlf/><crlf/><comment type="hash">Script name: delete headers</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="deleteheader"><tag>matches</tag><str type="quoted">header-str</str><str type="quoted">header-value</str></action><crlf/><action name="deleteheader"><test name="not"><tag>is</tag><str type="quoted">header-str</str><str type="quoted">header-value</str></test></action><crlf/><action name="deleteheader"><test name="not"><tag>matches</tag><str/><str/></test></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><action name="deleteheader"><tag>index</tag><num>1</num><test name="not"><tag>regex</tag><str type="quoted">Delivered-To</str><str type="quoted">bob@example.com</str></test></action><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><action name="deleteheader"><tag>index</tag><num>1</num><test name="not"><tag>regex</tag><str type="quoted">Delivered-To</str><str type="quoted">bob@example.com</str></test></action><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script></script>
\ No newline at end of file
<?xml version="1.0"?><script></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">enclose</str></control><crlf/><crlf/><comment type="hash">Script name: enclose</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">enclosz</str><crlf/></test><block><crlf/><action name="enclose"><tag>subject</tag><str type="quoted">subject</str><tag>headers</tag><str type="quoted">headers</str><str type="multiline"> text</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">enclose</str></control><crlf/><crlf/><comment type="hash">Script name: enclose</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">enclosz</str><crlf/></test><block><crlf/><action name="enclose"><tag>subject</tag><str type="quoted">subject</str><tag>headers</tag><str type="quoted">headers</str><str type="multiline"> text</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">extracttext</str></control><crlf/><crlf/><comment type="hash">Script name: extract-text</comment><crlf/><control name="if"><test name="true"><crlf/></test><block><crlf/><action name="extracttext"><tag>first</tag><num>11</num><str type="quoted">voiture</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">extracttext</str></control><crlf/><crlf/><comment type="hash">Script name: extract-text</comment><crlf/><control name="if"><test name="true"><crlf/></test><block><crlf/><action name="extracttext"><tag>first</tag><num>11</num><str type="quoted">voiture</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="anyof"><testlist><test name="allof"><testlist><test name="header"><tag>regex</tag><str type="quoted">x-spam-status</str><str type="quoted">BAYES_[6-9][0-9]</str></test><crlf/><test name="not"><test name="header"><tag>contains</tag><str type="quoted">x-spam-flag</str><str type="quoted">yes</str></test></test></testlist></test><crlf/><test name="allof"><testlist><test name="header"><tag>regex</tag><str type="quoted">x-spam-status</str><str type="quoted">BAYES_[0-4][0-9]</str></test><crlf/><test name="header"><tag>contains</tag><str type="quoted">x-spam-flag</str><str type="quoted">yes</str></test></testlist></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">INBOX/trash</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="anyof"><testlist><test name="allof"><testlist><test name="header"><tag>regex</tag><str type="quoted">x-spam-status</str><str type="quoted">BAYES_[6-9][0-9]</str></test><crlf/><test name="not"><test name="header"><tag>contains</tag><str type="quoted">x-spam-flag</str><str type="quoted">yes</str></test></test></testlist></test><crlf/><test name="allof"><testlist><test name="header"><tag>regex</tag><str type="quoted">x-spam-status</str><str type="quoted">BAYES_[0-4][0-9]</str></test><crlf/><test name="header"><tag>contains</tag><str type="quoted">x-spam-flag</str><str type="quoted">yes</str></test></testlist></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">INBOX/trash</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">body</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><control name="require"><str type="quoted">imap4flags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: Script part 0</comment><comment type="hash"># Flag: |UniqueId:2|Rulename: Mail delivery failed "bae.vo.pb+ma@gmail.com"</comment><control name="if"><test name="allof"><testlist><test name="header"><tag>contains</tag><str type="quoted">From</str><str type="quoted">mailer-daemon@foo.de</str><crlf/></test><test name="header"><tag>matches</tag><str type="quoted">Subject</str><str type="quoted">Mail delivery failed: returning message to sender</str><crlf/></test><test name="size"><tag>under</tag><num>10000</num><crlf/></test><test name="body"><tag>text</tag><tag>contains</tag><str type="quoted">&lt;blo@dd.com&gt;</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">folder</str></action><crlf/><action name="addflag"><list><str type="quoted">\seen</str></list></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">body</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><control name="require"><str type="quoted">imap4flags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: Script part 0</comment><comment type="hash"># Flag: |UniqueId:2|Rulename: Mail delivery failed "bae.vo.pb+ma@gmail.com"</comment><control name="if"><test name="allof"><testlist><test name="header"><tag>contains</tag><str type="quoted">From</str><str type="quoted">mailer-daemon@foo.de</str><crlf/></test><test name="header"><tag>matches</tag><str type="quoted">Subject</str><str type="quoted">Mail delivery failed: returning message to sender</str><crlf/></test><test name="size"><tag>under</tag><num>10000</num><crlf/></test><test name="body"><tag>text</tag><tag>contains</tag><str type="quoted">&lt;blo@dd.com&gt;</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">folder</str></action><crlf/><action name="addflag"><list><str type="quoted">\seen</str></list></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="not"><test name="envelope"><tag>contains</tag><str type="quoted">from</str><str type="quoted">corpdomain.com</str></test></test><block><crlf/><control name="if"><test name="envelope"><tag>contains</tag><str type="quoted">to</str><str type="quoted">betty@corpdomain.com</str></test><block><crlf/><action name="reject"><str type="quoted">Betty is not allowed to receive Email from the outside. Please contact
<?xml version="1.0"?><script><control name="if"><test name="not"><test name="envelope"><tag>contains</tag><str type="quoted">from</str><str type="quoted">corpdomain.com</str></test></test><block><crlf/><control name="if"><test name="envelope"><tag>contains</tag><str type="quoted">to</str><str type="quoted">betty@corpdomain.com</str></test><block><crlf/><action name="reject"><str type="quoted">Betty is not allowed to receive Email from the outside. Please contact
sales@corpdomain.com</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">fileinto</str></control><crlf/><control name="require"><str type="quoted">copy</str></control><crlf/><control name="require"><str type="quoted">mailbox</str></control><crlf/><crlf/><comment type="hash">Script name: scriptname</comment><crlf/><control name="if"><test name="header"><tag>is</tag><str type="quoted">Content-Type</str><str type="quoted">png</str><crlf/></test><block><crlf/><action name="fileinto"><tag>copy</tag><tag>create</tag><str type="quoted">INBOX</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">fileinto</str></control><crlf/><control name="require"><str type="quoted">copy</str></control><crlf/><control name="require"><str type="quoted">mailbox</str></control><crlf/><crlf/><comment type="hash">Script name: scriptname</comment><crlf/><control name="if"><test name="header"><tag>is</tag><str type="quoted">Content-Type</str><str type="quoted">png</str><crlf/></test><block><crlf/><action name="fileinto"><tag>copy</tag><tag>create</tag><str type="quoted">INBOX</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="foreverypart"><tag>name</tag><str type="quoted">dd</str><crlf/><block><crlf/><control name="if"><test name="allof"><testlist><crlf/><test name="header"><tag>mime</tag><tag>param</tag><str type="quoted">filename</str><tag>contains</tag><crlf/><str type="quoted">Content-Disposition</str><str type="quoted">important</str></test><crlf/><test name="header"><tag>mime</tag><tag>subtype</tag><str type="quoted">Content-Type</str><str type="quoted">pdf</str></test><crlf/><test name="size"><tag>over</tag><num quantifier="K">102400</num></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">INBOX.important</str></action><crlf/><control name="break"></control><crlf/></block></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="foreverypart"><tag>name</tag><str type="quoted">dd</str><crlf/><block><crlf/><control name="if"><test name="allof"><testlist><crlf/><test name="header"><tag>mime</tag><tag>param</tag><str type="quoted">filename</str><tag>contains</tag><crlf/><str type="quoted">Content-Disposition</str><str type="quoted">important</str></test><crlf/><test name="header"><tag>mime</tag><tag>subtype</tag><str type="quoted">Content-Type</str><str type="quoted">pdf</str></test><crlf/><test name="size"><tag>over</tag><num quantifier="K">102400</num></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">INBOX.important</str></action><crlf/><control name="break"></control><crlf/></block></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">include</str></control><crlf/><control name="require"><str type="quoted">copy</str></control><crlf/><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">subaddress</str></control><crlf/><control name="require"><str type="quoted">reject</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test</comment><action name="include"><tag>personal</tag><tag>optional</tag><tag>once</tag><str type="quoted">sdqd</str></action><crlf/><action name="include"><tag>global</tag><tag>optional</tag><str type="quoted">qsdqd</str></action><crlf/><action name="global"><str type="quoted">globalvar</str></action><crlf/><action name="set"><str type="quoted">globalvar</str><str type="quoted">415</str></action><crlf/><action name="redirect"><tag>copy</tag><str type="quoted">folder</str></action><crlf/><crlf/><crlf/><comment type="hash">SCRIPTNAME: test2</comment><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="removeflag"><list><str type="quoted">\Flagged</str><str type="quoted">\Seen</str><str type="quoted">\Draft</str></list></action><crlf/></block></control><control name="elsif"><test name="address"><tag>all</tag><tag>is</tag><str type="quoted">Reply-To</str><str type="quoted">foo@kde.org</str><crlf/></test><block><crlf/><action name="reject"><str type="multiline">rejected </str></action><crlf/><crlf/></block></control><control name="else"><block><crlf/><action name="keep"><tag>flags</tag><list><str type="quoted">\Answered</str></list></action><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">include</str></control><crlf/><control name="require"><str type="quoted">copy</str></control><crlf/><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">subaddress</str></control><crlf/><control name="require"><str type="quoted">reject</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test</comment><action name="include"><tag>personal</tag><tag>optional</tag><tag>once</tag><str type="quoted">sdqd</str></action><crlf/><action name="include"><tag>global</tag><tag>optional</tag><str type="quoted">qsdqd</str></action><crlf/><action name="global"><str type="quoted">globalvar</str></action><crlf/><action name="set"><str type="quoted">globalvar</str><str type="quoted">415</str></action><crlf/><action name="redirect"><tag>copy</tag><str type="quoted">folder</str></action><crlf/><crlf/><crlf/><comment type="hash">SCRIPTNAME: test2</comment><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="removeflag"><list><str type="quoted">\Flagged</str><str type="quoted">\Seen</str><str type="quoted">\Draft</str></list></action><crlf/></block></control><control name="elsif"><test name="address"><tag>all</tag><tag>is</tag><str type="quoted">Reply-To</str><str type="quoted">foo@kde.org</str><crlf/></test><block><crlf/><action name="reject"><str type="multiline">rejected </str></action><crlf/><crlf/></block></control><control name="else"><block><crlf/><action name="keep"><tag>flags</tag><list><str type="quoted">\Answered</str></list></action><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><control name="if"><test name="hasflag"><tag>is</tag><str type="quoted">foo</str><crlf/></test><block><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><control name="if"><test name="hasflag"><tag>is</tag><str type="quoted">foo</str><crlf/></test><block><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">include</str></control><crlf/><control name="require"><str type="quoted">include</str></control><crlf/><control name="require"><str type="quoted">spamtest</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">comparator-i;ascii-numeric</str></control><crlf/><control name="require"><str type="quoted">enclose</str></control><crlf/><comment type="hash">Script name: include</comment><crlf/><action name="include"><tag>personal</tag><str type="quoted">toto.siv</str></action><crlf/><action name="global"><str type="quoted">global-variable</str></action><crlf/><action name="set"><str type="quoted">test-variable</str><str type="quoted">25</str></action><crlf/><control name="if"><test name="virustest"><tag>value</tag><str type="quoted">gt</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">5</str><crlf/></test><block><crlf/><action name="enclose"><tag>subject</tag><str type="quoted">toto</str><tag>headers</tag><str type="quoted">subject</str><str type="multiline"> text to displaying</str></action><crlf/><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">include</str></control><crlf/><control name="require"><str type="quoted">include</str></control><crlf/><control name="require"><str type="quoted">spamtest</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">comparator-i;ascii-numeric</str></control><crlf/><control name="require"><str type="quoted">enclose</str></control><crlf/><comment type="hash">Script name: include</comment><crlf/><action name="include"><tag>personal</tag><str type="quoted">toto.siv</str></action><crlf/><action name="global"><str type="quoted">global-variable</str></action><crlf/><action name="set"><str type="quoted">test-variable</str><str type="quoted">25</str></action><crlf/><control name="if"><test name="virustest"><tag>value</tag><str type="quoted">gt</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">5</str><crlf/></test><block><crlf/><action name="enclose"><tag>subject</tag><str type="quoted">toto</str><tag>headers</tag><str type="quoted">subject</str><str type="multiline"> text to displaying</str></action><crlf/><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">date</str></control><crlf/><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: xxx</comment><control name="if"><test name="date"><tag>is</tag><str/><str type="quoted">year</str><str type="quoted">0000</str><crlf/></test><block><crlf/><action name="keep"><tag>flags</tag><list><str type="quoted">\Flagged</str><str type="quoted">\Seen</str></list></action><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">date</str></control><crlf/><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: xxx</comment><control name="if"><test name="date"><tag>is</tag><str/><str type="quoted">year</str><str type="quoted">0000</str><crlf/></test><block><crlf/><action name="keep"><tag>flags</tag><list><str type="quoted">\Flagged</str><str type="quoted">\Seen</str></list></action><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">mailbox</str></control><crlf/><control name="require"><str type="quoted">include</str></control><crlf/><crlf/><comment type="hash">Script name: maiboxexist</comment><crlf/><control name="if"><test name="mailboxexists"><str type="quoted">INBOX2</str><crlf/></test><block><crlf/><action name="return"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">mailbox</str></control><crlf/><control name="require"><str type="quoted">include</str></control><crlf/><crlf/><comment type="hash">Script name: maiboxexist</comment><crlf/><control name="if"><test name="mailboxexists"><str type="quoted">INBOX2</str><crlf/></test><block><crlf/><action name="return"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">envelope</str></control><crlf/><control name="require"><str type="quoted">subaddress</str></control><crlf/><control name="require"><str type="quoted">foreverypart</str></control><crlf/><crlf/><comment type="hash">Script name: not condition</comment><crlf/><control name="if"><test name="not"><test name="envelope"><tag>localpart</tag><tag>is</tag><str type="quoted">Reply-To</str><str type="quoted">montel@kde.org</str><crlf/></test></test><block><crlf/><control name="break"></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">envelope</str></control><crlf/><control name="require"><str type="quoted">subaddress</str></control><crlf/><control name="require"><str type="quoted">foreverypart</str></control><crlf/><crlf/><comment type="hash">Script name: not condition</comment><crlf/><control name="if"><test name="not"><test name="envelope"><tag>localpart</tag><tag>is</tag><str type="quoted">Reply-To</str><str type="quoted">montel@kde.org</str><crlf/></test></test><block><crlf/><control name="break"></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">foreverypart</str></control><crlf/><crlf/><comment type="hash">Script name: not condition</comment><crlf/><control name="if"><test name="allof"><testlist><test name="not"><test name="header"><tag>is</tag><str type="quoted">Content-Type</str><str type="quoted">sdfsdf</str><crlf/></test></test><test name="ihave"><str type="quoted">xvwx</str><crlf/></test></testlist></test><crlf/><block><crlf/><control name="break"></control><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">foreverypart</str></control><crlf/><crlf/><comment type="hash">Script name: not condition</comment><crlf/><control name="if"><test name="allof"><testlist><test name="not"><test name="header"><tag>is</tag><str type="quoted">Content-Type</str><str type="quoted">sdfsdf</str><crlf/></test></test><test name="ihave"><str type="quoted">xvwx</str><crlf/></test></testlist></test><crlf/><block><crlf/><control name="break"></control><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><action name="notify"><tag>importance</tag><str type="quoted">1</str><tag>message</tag><str type="quoted">You got mail</str><str type="quoted">xmpp:tim@example.com?message;subject=SIEVE</str></action><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><action name="notify"><tag>importance</tag><str type="quoted">1</str><tag>message</tag><str type="quoted">You got mail</str><str type="quoted">xmpp:tim@example.com?message;subject=SIEVE</str></action><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">convert</str></control><crlf/><crlf/><comment type="hash">Script name: notify</comment><crlf/><control name="if"><test name="convert"><str type="quoted">image/jpeg</str><str type="quoted">image/jpeg</str><list><str type="quoted">pix-x=300</str><str type="quoted">pix-y=200</str></list><crlf/></test><block><crlf/><action name="notify"><tag>importance</tag><str type="quoted">2</str><tag>message</tag><str type="quoted">message !!!</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">convert</str></control><crlf/><crlf/><comment type="hash">Script name: notify</comment><crlf/><control name="if"><test name="convert"><str type="quoted">image/jpeg</str><str type="quoted">image/jpeg</str><list><str type="quoted">pix-x=300</str><str type="quoted">pix-y=200</str></list><crlf/></test><block><crlf/><action name="notify"><tag>importance</tag><str type="quoted">2</str><tag>message</tag><str type="quoted">message !!!</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><comment type="hash"> " create a problem during parsing</comment><action name="addheader"><str type="quoted">X-Sieve-Filtered</str><str type="quoted">&lt;kim@job.example.com&gt;</str></action><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><comment type="hash"> " create a problem during parsing</comment><action name="addheader"><str type="quoted">X-Sieve-Filtered</str><str type="quoted">&lt;kim@job.example.com&gt;</str></action><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">copy</str></control><crlf/><crlf/><comment type="hash">Script name: redirect</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">redirect</str><crlf/></test><block><crlf/><action name="redirect"><tag>copy</tag><str type="quoted">montel@kde.org</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">copy</str></control><crlf/><crlf/><comment type="hash">Script name: redirect</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">redirect</str><crlf/></test><block><crlf/><action name="redirect"><tag>copy</tag><str type="quoted">montel@kde.org</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">regex</str></control><crlf/><crlf/><comment type="hash"> Try to catch unsolicited email.</comment><control name="if"><test name="anyof"><testlist><crlf/><comment type="hash"> if a message is not to me (with optional +detail),</comment><test name="not"><test name="address"><tag>regex</tag><list><str type="quoted">to</str><str type="quoted">cc</str><str type="quoted">bcc</str></list><crlf/><str type="quoted">me(\\+.*)?@company\\.com</str></test></test><crlf/><crlf/><comment type="hash"> or the subject is all uppercase (no lowercase)</comment><test name="header"><tag>regex</tag><tag>comparator</tag><str type="quoted">i;octet</str><str type="quoted">subject</str><crlf/><str type="quoted">^[^[:lower:]]+$</str></test></testlist></test><block><crlf/><crlf/><action name="discard"></action><comment type="hash"> junk it</comment></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">regex</str></control><crlf/><crlf/><comment type="hash"> Try to catch unsolicited email.</comment><control name="if"><test name="anyof"><testlist><crlf/><comment type="hash"> if a message is not to me (with optional +detail),</comment><test name="not"><test name="address"><tag>regex</tag><list><str type="quoted">to</str><str type="quoted">cc</str><str type="quoted">bcc</str></list><crlf/><str type="quoted">me(\\+.*)?@company\\.com</str></test></test><crlf/><crlf/><comment type="hash"> or the subject is all uppercase (no lowercase)</comment><test name="header"><tag>regex</tag><tag>comparator</tag><str type="quoted">i;octet</str><str type="quoted">subject</str><crlf/><str type="quoted">^[^[:lower:]]+$</str></test></testlist></test><block><crlf/><crlf/><action name="discard"></action><comment type="hash"> junk it</comment></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">reject</str></control><crlf/><crlf/><comment type="hash">Script name: reject</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">reject</str><crlf/></test><block><crlf/><action name="reject"><str type="multiline"> sorry rejected
<?xml version="1.0"?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">reject</str></control><crlf/><crlf/><comment type="hash">Script name: reject</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">reject</str><crlf/></test><block><crlf/><action name="reject"><str type="multiline"> sorry rejected
thanks</str></action><crlf/><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">Script name: remove flags</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">reject</str><crlf/></test><block><crlf/><action name="removeflag"><list><str type="quoted">\Answered</str><str type="quoted">\Flagged</str><str type="quoted">\Seen</str></list></action><crlf/><action name="removeflag"><list><str type="quoted">\Draft</str></list></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">ihave</str></control><crlf/><control name="require"><str type="quoted">imapflags</str></control><crlf/><crlf/><comment type="hash">Script name: remove flags</comment><crlf/><control name="if"><test name="ihave"><str type="quoted">reject</str><crlf/></test><block><crlf/><action name="removeflag"><list><str type="quoted">\Answered</str><str type="quoted">\Flagged</str><str type="quoted">\Seen</str></list></action><crlf/><action name="removeflag"><list><str type="quoted">\Draft</str></list></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">replace</str></control><crlf/><crlf/><comment type="hash">Script name: replace</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="replace"><tag>subject</tag><str type="quoted">subject</str><tag>from</tag><str type="quoted">montel@kde.org</str><str type="multiline"> replace text</str></action><crlf/><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">replace</str></control><crlf/><crlf/><comment type="hash">Script name: replace</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="replace"><tag>subject</tag><str type="quoted">subject</str><tag>from</tag><str type="quoted">montel@kde.org</str><str type="multiline"> replace text</str></action><crlf/><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="header"><tag>is</tag><str type="quoted">Sender</str><str type="quoted">owner-ietf-mta-filters@example.org</str><crlf/></test><block><crlf/><action name="set"><str type="quoted">MyFlags</str><str type="quoted">\Flagged $Work</str></action><crlf/><comment type="hash"> Message will have both "\Flagged" and $Work flags</comment><action name="keep"><tag>flags</tag><str type="quoted">${MyFlags}</str></action><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="header"><tag>is</tag><str type="quoted">Sender</str><str type="quoted">owner-ietf-mta-filters@example.org</str><crlf/></test><block><crlf/><action name="set"><str type="quoted">MyFlags</str><str type="quoted">\Flagged $Work</str></action><crlf/><comment type="hash"> Message will have both "\Flagged" and $Work flags</comment><action name="keep"><tag>flags</tag><str type="quoted">${MyFlags}</str></action><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="if"><test name="address"><str type="quoted">From</str><str type="quoted">someone@example.org</str></test><block><crlf/><action name="setflag"><str type="quoted">\Seen</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="if"><test name="address"><str type="quoted">From</str><str type="quoted">someone@example.org</str></test><block><crlf/><action name="setflag"><str type="quoted">\Seen</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><crlf/><control name="if"><test name="address"><tag>matches</tag><tag>detail</tag><str type="quoted">to</str><str type="quoted">*</str></test><block><crlf/><action name="set"><str type="quoted">extension_name</str><str type="quoted">${1}</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><crlf/><control name="if"><test name="address"><tag>matches</tag><tag>detail</tag><str type="quoted">to</str><str type="quoted">*</str></test><block><crlf/><action name="set"><str type="quoted">extension_name</str><str type="quoted">${1}</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="envelope"><tag>contains</tag><list><str type="quoted">from</str><str type="quoted">to</str></list><str type="quoted">pedophile@yourdomain.com</str></test><block><crlf/><action name="fileinto"><str type="quoted">c:\spyfolder</str></action><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="envelope"><tag>contains</tag><list><str type="quoted">from</str><str type="quoted">to</str></list><str type="quoted">pedophile@yourdomain.com</str></test><block><crlf/><action name="fileinto"><str type="quoted">c:\spyfolder</str></action><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><control name="if"><test name="header"><tag>is</tag><str/><crlf/></test><block><crlf/><comment type="hash">Keep comment</comment><comment type="hash">Keep multi line</comment><action name="keep"><tag>flags</tag><list><str type="quoted">\Answered</str><str type="quoted">\Flagged</str></list></action><crlf/></block></control><control name="else"><block><crlf/><comment type="hash">FileInto comment</comment><comment type="hash">comment2</comment><action name="fileinto"><str/></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><control name="if"><test name="header"><tag>is</tag><str/><crlf/></test><block><crlf/><comment type="hash">Keep comment</comment><comment type="hash">Keep multi line</comment><action name="keep"><tag>flags</tag><list><str type="quoted">\Answered</str><str type="quoted">\Flagged</str></list></action><crlf/></block></control><control name="else"><block><crlf/><comment type="hash">FileInto comment</comment><comment type="hash">comment2</comment><action name="fileinto"><str/></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><control name="if"><test name="header"><tag>is</tag><str/><crlf/></test><block><crlf/><comment type="bracket">Keep comment
<?xml version="1.0"?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><control name="if"><test name="header"><tag>is</tag><str/><crlf/></test><block><crlf/><comment type="bracket">Keep comment
Keep multi line</comment><crlf/><action name="keep"><tag>flags</tag><list><str type="quoted">\Answered</str><str type="quoted">\Flagged</str></list></action><crlf/></block></control><control name="else"><block><crlf/><comment type="hash">FileInto comment</comment><comment type="hash">comment2</comment><action name="fileinto"><str/></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><crlf/><crlf/><crlf/><crlf/><control name="if"><test name="header"><tag>is</tag><str/><crlf/></test><block><crlf/><action name="keep"><tag>flags</tag><list><str type="quoted">\Answered</str><str type="quoted">\Flagged</str></list></action><crlf/></block></control><control name="else"><block><crlf/><comment type="hash">FileInto comment</comment><crlf/><crlf/><crlf/><comment type="hash">comment2</comment><action name="fileinto"><str/></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><crlf/><crlf/><crlf/><crlf/><control name="if"><test name="header"><tag>is</tag><str/><crlf/></test><block><crlf/><action name="keep"><tag>flags</tag><list><str type="quoted">\Answered</str><str type="quoted">\Flagged</str></list></action><crlf/></block></control><control name="else"><block><crlf/><comment type="hash">FileInto comment</comment><crlf/><crlf/><crlf/><comment type="hash">comment2</comment><action name="fileinto"><str/></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><crlf/><crlf/><crlf/><crlf/><control name="if"><test name="header"><tag>is</tag><str/><comment type="hash">test header</comment></test><block><crlf/><action name="keep"><tag>flags</tag><list><str type="quoted">\Answered</str><str type="quoted">\Flagged</str></list></action><crlf/></block></control><control name="else"><block><crlf/><comment type="hash">FileInto comment</comment><crlf/><crlf/><crlf/><comment type="hash">comment2</comment><action name="fileinto"><str/></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">imapflags</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test1</comment><crlf/><crlf/><crlf/><crlf/><control name="if"><test name="header"><tag>is</tag><str/><comment type="hash">test header</comment></test><block><crlf/><action name="keep"><tag>flags</tag><list><str type="quoted">\Answered</str><str type="quoted">\Flagged</str></list></action><crlf/></block></control><control name="else"><block><crlf/><comment type="hash">FileInto comment</comment><crlf/><crlf/><crlf/><comment type="hash">comment2</comment><action name="fileinto"><str/></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="allof"><testlist><test name="virustest"><tag>value</tag><str type="quoted">gt</str><tag>comparator</tag><str type="quoted">i;octet</str><str type="quoted">0</str><comment type="hash">condition1</comment></test><test name="environment"><str/><str/><comment type="hash">condition2</comment></test><test name="envelope"><tag>all</tag><tag>is</tag><str/><comment type="hash"> condition3</comment></test><test name="hasflag"><tag>contains</tag><str type="quoted">f</str><str/><comment type="hash"> condition4</comment></test><test name="false"><crlf/></test><test name="metadataexists"><str/><str/><comment type="hash"> condition5</comment></test><test name="ihave"><str/><crlf/></test><test name="environment"><str/><str/><comment type="hash"> condition6</comment></test></testlist></test><crlf/><block><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="allof"><testlist><test name="virustest"><tag>value</tag><str type="quoted">gt</str><tag>comparator</tag><str type="quoted">i;octet</str><str type="quoted">0</str><comment type="hash">condition1</comment></test><test name="environment"><str/><str/><comment type="hash">condition2</comment></test><test name="envelope"><tag>all</tag><tag>is</tag><str/><comment type="hash"> condition3</comment></test><test name="hasflag"><tag>contains</tag><str type="quoted">f</str><str/><comment type="hash"> condition4</comment></test><test name="false"><crlf/></test><test name="metadataexists"><str/><str/><comment type="hash"> condition5</comment></test><test name="ihave"><str/><crlf/></test><test name="environment"><str/><str/><comment type="hash"> condition6</comment></test></testlist></test><crlf/><block><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="allof"><testlist><test name="virustest"><tag>value</tag><str type="quoted">gt</str><tag>comparator</tag><str type="quoted">i;octet</str><str type="quoted">0</str><comment type="hash">condition1</comment></test><test name="environment"><str/><str/><comment type="hash">condition2</comment></test><test name="envelope"><tag>all</tag><tag>is</tag><str/><comment type="hash"> condition3</comment></test><test name="hasflag"><tag>contains</tag><str type="quoted">f</str><str/><comment type="hash"> condition4</comment></test><test name="false"><crlf/></test><test name="metadataexists"><str/><str/><comment type="hash"> condition5</comment></test><test name="ihave"><str/><crlf/></test><test name="environment"><str/><str/><comment type="bracket"> condition6
<?xml version="1.0"?><script><control name="if"><test name="allof"><testlist><test name="virustest"><tag>value</tag><str type="quoted">gt</str><tag>comparator</tag><str type="quoted">i;octet</str><str type="quoted">0</str><comment type="hash">condition1</comment></test><test name="environment"><str/><str/><comment type="hash">condition2</comment></test><test name="envelope"><tag>all</tag><tag>is</tag><str/><comment type="hash"> condition3</comment></test><test name="hasflag"><tag>contains</tag><str type="quoted">f</str><str/><comment type="hash"> condition4</comment></test><test name="false"><crlf/></test><test name="metadataexists"><str/><str/><comment type="hash"> condition5</comment></test><test name="ihave"><str/><crlf/></test><test name="environment"><str/><str/><comment type="bracket"> condition6
continue condition6
again
</comment><crlf/></test></testlist></test><crlf/><block><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="header"><tag>is</tag><str type="quoted">X-Spam-Flag</str><str type="quoted">YES</str></test><block><crlf/><action name="stop"></action><comment type="hash">---- this stops further processing; </comment></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="header"><tag>is</tag><str type="quoted">X-Spam-Flag</str><str type="quoted">YES</str></test><block><crlf/><action name="stop"></action><comment type="hash">---- this stops further processing; </comment></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="header"><tag>is</tag><str type="quoted">X-Spam-Flag</str><str type="quoted">YES</str><comment type="hash">1</comment><comment type="hash">2</comment><comment type="hash">3</comment></test><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="header"><tag>is</tag><str type="quoted">X-Spam-Flag</str><str type="quoted">YES</str><comment type="hash">1</comment><comment type="hash">2</comment><comment type="hash">3</comment></test><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="false"><comment type="hash"> allof(not header :contains "X-Spam-Flag" "YES")</comment></test><block><crlf/></block></control><crlf/><crlf/><control name="if"><test name="true"><comment type="hash"> allof(not header :contains "X-Spam-Flag" "YES")</comment></test><block><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="false"><comment type="hash"> allof(not header :contains "X-Spam-Flag" "YES")</comment></test><block><crlf/></block></control><crlf/><crlf/><control name="if"><test name="true"><comment type="hash"> allof(not header :contains "X-Spam-Flag" "YES")</comment></test><block><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><list><str type="quoted">variables</str><str type="quoted">date</str><str type="quoted">fileinto</str><str type="quoted">mailbox</str></list></control><crlf/><crlf/><comment type="hash"> Extract date info</comment><control name="if"><test name="currentdate"><tag>matches</tag><str type="quoted">year</str><str type="quoted">*</str></test><block><action name="set"><str type="quoted">year</str><str type="quoted">${1}</str></action></block></control><crlf/><control name="if"><test name="currentdate"><tag>matches</tag><str type="quoted">month</str><str type="quoted">*</str></test><block><action name="set"><str type="quoted">month</str><str type="quoted">${1}</str></action></block></control><crlf/><crlf/><comment type="hash"> Archive Dovecot mailing list items by year and month.</comment><comment type="hash"> Create folder when it does not exist.</comment><control name="if"><test name="header"><tag>is</tag><str type="quoted">list-id</str><str type="quoted">dovecot.dovecot.org</str></test><block><crlf/><action name="fileinto"><tag>create</tag><str type="quoted">INBOX.Lists.${year}.${month}.dovecot</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><list><str type="quoted">variables</str><str type="quoted">date</str><str type="quoted">fileinto</str><str type="quoted">mailbox</str></list></control><crlf/><crlf/><comment type="hash"> Extract date info</comment><control name="if"><test name="currentdate"><tag>matches</tag><str type="quoted">year</str><str type="quoted">*</str></test><block><action name="set"><str type="quoted">year</str><str type="quoted">${1}</str></action></block></control><crlf/><control name="if"><test name="currentdate"><tag>matches</tag><str type="quoted">month</str><str type="quoted">*</str></test><block><action name="set"><str type="quoted">month</str><str type="quoted">${1}</str></action></block></control><crlf/><crlf/><comment type="hash"> Archive Dovecot mailing list items by year and month.</comment><comment type="hash"> Create folder when it does not exist.</comment><control name="if"><test name="header"><tag>is</tag><str type="quoted">list-id</str><str type="quoted">dovecot.dovecot.org</str></test><block><crlf/><action name="fileinto"><tag>create</tag><str type="quoted">INBOX.Lists.${year}.${month}.dovecot</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">date</str></control><crlf/><control name="require"><str type="quoted">imap4flags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test-current-date</comment><comment type="hash">Script name: test-current-date</comment><control name="if"><test name="allof"><testlist><test name="currentdate"><tag>contains</tag><str type="quoted">day</str><str type="quoted">06</str><crlf/></test><test name="not"><test name="currentdate"><tag>contains</tag><str type="quoted">julian</str><str type="quoted">Friday, 12 May 2017</str><crlf/></test></test><test name="not"><test name="currentdate"><tag>matches</tag><str type="quoted">iso8601</str><str type="quoted">Friday, 12 May 2017</str><crlf/></test></test><test name="currentdate"><tag>is</tag><str type="quoted">zone</str><str type="quoted">Friday, 12 May 2017</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="keep"></action><crlf/></block></control></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">date</str></control><crlf/><control name="require"><str type="quoted">imap4flags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test-current-date</comment><comment type="hash">Script name: test-current-date</comment><control name="if"><test name="allof"><testlist><test name="currentdate"><tag>contains</tag><str type="quoted">day</str><str type="quoted">06</str><crlf/></test><test name="not"><test name="currentdate"><tag>contains</tag><str type="quoted">julian</str><str type="quoted">Friday, 12 May 2017</str><crlf/></test></test><test name="not"><test name="currentdate"><tag>matches</tag><str type="quoted">iso8601</str><str type="quoted">Friday, 12 May 2017</str><crlf/></test></test><test name="currentdate"><tag>is</tag><str type="quoted">zone</str><str type="quoted">Friday, 12 May 2017</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="keep"></action><crlf/></block></control></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">date</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test-date</comment><comment type="hash">Script name: test-date</comment><crlf/><control name="if"><test name="allof"><testlist><test name="date"><tag>is</tag><str type="quoted">header</str><str type="quoted">day</str><str type="quoted">20</str><crlf/></test><test name="not"><test name="date"><tag>matches</tag><str type="quoted">header</str><str type="quoted">hour</str><str type="quoted">08</str><crlf/></test></test><test name="not"><test name="date"><tag>contains</tag><str type="quoted">header</str><str type="quoted">month</str><str type="quoted">8</str><crlf/></test></test><test name="not"><test name="date"><tag>contains</tag><str type="quoted">header</str><str type="quoted">weekday</str><str type="quoted">5</str><crlf/></test></test></testlist></test><crlf/><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">date</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: test-date</comment><comment type="hash">Script name: test-date</comment><crlf/><control name="if"><test name="allof"><testlist><test name="date"><tag>is</tag><str type="quoted">header</str><str type="quoted">day</str><str type="quoted">20</str><crlf/></test><test name="not"><test name="date"><tag>matches</tag><str type="quoted">header</str><str type="quoted">hour</str><str type="quoted">08</str><crlf/></test></test><test name="not"><test name="date"><tag>contains</tag><str type="quoted">header</str><str type="quoted">month</str><str type="quoted">8</str><crlf/></test></test><test name="not"><test name="date"><tag>contains</tag><str type="quoted">header</str><str type="quoted">weekday</str><str type="quoted">5</str><crlf/></test></test></testlist></test><crlf/><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><list><str type="quoted">date</str><str type="quoted">variables</str><str type="quoted">fileinto</str></list></control><crlf/><control name="if"><test name="currentdate"><tag>matches</tag><str type="quoted">date</str><str type="quoted">*</str></test><block><action name="set"><str type="quoted">date</str><str type="quoted">${1}</str></action></block></control><crlf/><action name="fileinto"><str type="quoted">${date}</str></action><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><list><str type="quoted">date</str><str type="quoted">variables</str><str type="quoted">fileinto</str></list></control><crlf/><control name="if"><test name="currentdate"><tag>matches</tag><str type="quoted">date</str><str type="quoted">*</str></test><block><action name="set"><str type="quoted">date</str><str type="quoted">${1}</str></action></block></control><crlf/><action name="fileinto"><str type="quoted">${date}</str></action><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="address"><tag>is</tag><str type="quoted">X-Delivered-To</str><str type="quoted">alias1@fastmail.fm</str></test><block><crlf/><action name="fileinto"><str type="quoted">INBOX.alias1</str></action><crlf/><action name="stop"></action><crlf/></block></control><control name="elsif"><test name="address"><tag>is</tag><str type="quoted">X-Delivered-To</str><str type="quoted">alias2@sent.com</str></test><block><crlf/><action name="setflag"><str type="quoted">\Seen</str></action><crlf/><action name="fileinto"><str type="quoted">INBOX.alias2</str></action><crlf/><action name="stop"></action><crlf/></block></control><control name="elsif"><test name="address"><tag>is</tag><str type="quoted">X-Delivered-To</str><str type="quoted">alias3@eml.cc</str></test><block><crlf/><action name="fileinto"><str type="quoted">INBOX.alias3</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/><action name="redirect"><str type="quoted">another@account.net</str></action><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="address"><tag>is</tag><str type="quoted">X-Delivered-To</str><str type="quoted">alias1@fastmail.fm</str></test><block><crlf/><action name="fileinto"><str type="quoted">INBOX.alias1</str></action><crlf/><action name="stop"></action><crlf/></block></control><control name="elsif"><test name="address"><tag>is</tag><str type="quoted">X-Delivered-To</str><str type="quoted">alias2@sent.com</str></test><block><crlf/><action name="setflag"><str type="quoted">\Seen</str></action><crlf/><action name="fileinto"><str type="quoted">INBOX.alias2</str></action><crlf/><action name="stop"></action><crlf/></block></control><control name="elsif"><test name="address"><tag>is</tag><str type="quoted">X-Delivered-To</str><str type="quoted">alias3@eml.cc</str></test><block><crlf/><action name="fileinto"><str type="quoted">INBOX.alias3</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/><action name="redirect"><str type="quoted">another@account.net</str></action><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">envelope</str></control><crlf/><control name="require"><str type="quoted">subaddress</str></control><crlf/><crlf/><comment type="hash">Script name: test-envelop</comment><crlf/><control name="if"><test name="allof"><testlist><test name="envelope"><tag>user</tag><tag>is</tag><str type="quoted">to</str><str type="quoted">foo@example.com</str><crlf/></test><test name="not"><test name="envelope"><tag>localpart</tag><tag>is</tag><str type="quoted">cc</str><str type="quoted">foo@example.com</str><crlf/></test></test><test name="not"><test name="envelope"><tag>detail</tag><tag>matches</tag><str type="quoted">from</str><str type="quoted">foo@example.com</str><crlf/></test></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">envelope</str></control><crlf/><control name="require"><str type="quoted">subaddress</str></control><crlf/><crlf/><comment type="hash">Script name: test-envelop</comment><crlf/><control name="if"><test name="allof"><testlist><test name="envelope"><tag>user</tag><tag>is</tag><str type="quoted">to</str><str type="quoted">foo@example.com</str><crlf/></test><test name="not"><test name="envelope"><tag>localpart</tag><tag>is</tag><str type="quoted">cc</str><str type="quoted">foo@example.com</str><crlf/></test></test><test name="not"><test name="envelope"><tag>detail</tag><tag>matches</tag><str type="quoted">from</str><str type="quoted">foo@example.com</str><crlf/></test></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><list><str type="quoted">envelope</str><str type="quoted">subaddress</str><str type="quoted">fileinto</str></list></control><crlf/><crlf/><comment type="hash"> In this example the same user account receives mail for both</comment><comment type="hash"> "ken@example.com" and "postmaster@example.com"</comment><crlf/><comment type="hash"> File all messages to postmaster into a single mailbox,</comment><comment type="hash"> ignoring the :detail part.</comment><control name="if"><test name="envelope"><tag>user</tag><str type="quoted">to</str><str type="quoted">postmaster</str></test><block><crlf/><action name="fileinto"><str type="quoted">inbox.postmaster</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><list><str type="quoted">envelope</str><str type="quoted">subaddress</str><str type="quoted">fileinto</str></list></control><crlf/><crlf/><comment type="hash"> In this example the same user account receives mail for both</comment><comment type="hash"> "ken@example.com" and "postmaster@example.com"</comment><crlf/><comment type="hash"> File all messages to postmaster into a single mailbox,</comment><comment type="hash"> ignoring the :detail part.</comment><control name="if"><test name="envelope"><tag>user</tag><str type="quoted">to</str><str type="quoted">postmaster</str></test><block><crlf/><action name="fileinto"><str type="quoted">inbox.postmaster</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="envelope"><tag>matches</tag><str type="quoted">from</str><str type="quoted">*jim-???@*</str></test><block><action name="discard"></action><action name="stop"></action></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="envelope"><tag>matches</tag><str type="quoted">from</str><str type="quoted">*jim-???@*</str></test><block><action name="discard"></action><action name="stop"></action></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">environment</str></control><crlf/><crlf/><comment type="hash">Script name: test environnement</comment><crlf/><control name="if"><test name="environment"><str type="quoted">PATH</str><str type="quoted">local folder</str><crlf/></test><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">environment</str></control><crlf/><crlf/><comment type="hash">Script name: test environnement</comment><crlf/><control name="if"><test name="environment"><str type="quoted">PATH</str><str type="quoted">local folder</str><crlf/></test><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><comment type="hash">Script name: test-exists</comment><crlf/><control name="if"><test name="allof"><testlist><test name="exists"><str type="quoted">Date</str><crlf/></test><test name="not"><test name="exists"><str type="quoted">Reply-To</str><crlf/></test></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><comment type="hash">Script name: test-exists</comment><crlf/><control name="if"><test name="allof"><testlist><test name="exists"><str type="quoted">Date</str><crlf/></test><test name="not"><test name="exists"><str type="quoted">Reply-To</str><crlf/></test></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">foreverypart</str></control><crlf/><control name="require"><str type="quoted">ihave</str></control><crlf/><crlf/><comment type="hash">Script name: test-foreach</comment><crlf/><control name="foreverypart"><tag>name</tag><str type="quoted">foreach1</str><block><crlf/><control name="if"><test name="ihave"><str type="quoted">value</str><crlf/></test><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">foreverypart</str></control><crlf/><control name="require"><str type="quoted">ihave</str></control><crlf/><crlf/><comment type="hash">Script name: test-foreach</comment><crlf/><control name="foreverypart"><tag>name</tag><str type="quoted">foreach1</str><block><crlf/><control name="if"><test name="ihave"><str type="quoted">value</str><crlf/></test><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">reject</str></control><crlf/><control name="require"><str type="quoted">subaddress</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><control name="require"><str type="quoted">imap4flags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: Script part 0</comment><comment type="hash"> Sieve filter</comment><comment type="hash"> Declare the extensions used by this script.</comment><comment/><comment type="hash"> Messages bigger than 100K will be rejected with an error message</comment><comment/><control name="foreverypart"><tag>name</tag><str type="quoted">foo</str><block><crlf/><control name="if"><test name="size"><tag>over</tag><num quantifier="K">102400</num><crlf/></test><block><crlf/><action name="reject"><str type="multiline">I'm sorry, I do not accept mail over 100kb in size.
<?xml version="1.0"?><script><control name="require"><str type="quoted">reject</str></control><crlf/><control name="require"><str type="quoted">subaddress</str></control><crlf/><control name="require"><str type="quoted">fileinto</str></control><crlf/><control name="require"><str type="quoted">imap4flags</str></control><crlf/><crlf/><comment type="hash">SCRIPTNAME: Script part 0</comment><comment type="hash"> Sieve filter</comment><comment type="hash"> Declare the extensions used by this script.</comment><comment/><comment type="hash"> Messages bigger than 100K will be rejected with an error message</comment><comment/><control name="foreverypart"><tag>name</tag><str type="quoted">foo</str><block><crlf/><control name="if"><test name="size"><tag>over</tag><num quantifier="K">102400</num><crlf/></test><block><crlf/><action name="reject"><str type="multiline">I'm sorry, I do not accept mail over 100kb in size.
Please upload larger files to a server and send me a link.
Thanks.</str></action><crlf/><crlf/></block></control><control name="elsif"><test name="address"><tag>all</tag><tag>is</tag><list><str type="quoted">From</str><str type="quoted">To</str></list><str type="quoted">mailinglist@blafasel.invalid</str><crlf/></test><block><crlf/><action name="fileinto"><str type="quoted">INBOX.mailinglist</str></action><crlf/></block></control><control name="elsif"><test name="anyof"><testlist><test name="not"><test name="address"><tag>all</tag><tag>contains</tag><list><str type="quoted">To</str><str type="quoted">Cc</str><str type="quoted">Bcc</str></list><str type="quoted">me@blafasel.invalid</str><crlf/></test></test><test name="header"><tag>matches</tag><str type="quoted">Subject</str><list><str type="quoted">*money*</str><str type="quoted">*Viagra*</str></list><crlf/></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">INBOX.spam</str></action><crlf/><control name="break"></control><crlf/></block></control><control name="else"><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><control name="if"><test name="header"><tag>is</tag><list><str type="quoted">X-DSPAM-Result</str><str type="quoted">X-DSPAM-Reclassified</str></list><list><str type="quoted">Spam</str><str type="quoted">Virus</str></list></test><block><crlf/><action name="fileinto"><str type="quoted">INBOX.spam</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/><action name="redirect"><str type="quoted">user@domain.com</str></action><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">fileinto</str></control><crlf/><crlf/><control name="if"><test name="header"><tag>is</tag><list><str type="quoted">X-DSPAM-Result</str><str type="quoted">X-DSPAM-Reclassified</str></list><list><str type="quoted">Spam</str><str type="quoted">Virus</str></list></test><block><crlf/><action name="fileinto"><str type="quoted">INBOX.spam</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/><action name="redirect"><str type="quoted">user@domain.com</str></action><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">imap4flags</str></control><crlf/><crlf/><comment type="hash">Script name: has flags</comment><crlf/><control name="if"><test name="allof"><testlist><test name="hasflag"><tag>is</tag><str type="quoted">test</str><crlf/></test><test name="not"><test name="hasflag"><tag>is</tag><str type="quoted">variable</str><str type="quoted">test2</str><crlf/></test></test><test name="hasflag"><tag>contains</tag><str type="quoted">variable</str><str type="quoted">test3</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">imap4flags</str></control><crlf/><crlf/><comment type="hash">Script name: has flags</comment><crlf/><control name="if"><test name="allof"><testlist><test name="hasflag"><tag>is</tag><str type="quoted">test</str><crlf/></test><test name="not"><test name="hasflag"><tag>is</tag><str type="quoted">variable</str><str type="quoted">test2</str><crlf/></test></test><test name="hasflag"><tag>contains</tag><str type="quoted">variable</str><str type="quoted">test3</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="anyof"><testlist><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[kdepim-runtime]</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><list><str type="quoted">akonadi</str><str type="quoted">foo</str></list><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">kmail2</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[pim-sieve-editor</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">pim-data-exporter]</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">akonadi-search/</str></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">bb</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="anyof"><testlist><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[kdepim-runtime]</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><list><str type="quoted">akonadi</str><str type="quoted">foo</str></list><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">kmail2</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[pim-sieve-editor</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">pim-data-exporter]</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">akonadi-search/</str></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">bb</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><crlf/><comment type="hash">Script name: test-headers</comment><crlf/><control name="if"><test name="allof"><testlist><test name="header"><tag>contains</tag><str type="quoted">Content-Type</str><str type="quoted">value</str><crlf/></test><test name="not"><test name="header"><tag>is</tag><str type="quoted">Date</str><str type="quoted">125</str><crlf/></test></test><test name="not"><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">sdfsdf</str><crlf/></test></test></testlist></test><crlf/><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><crlf/><comment type="hash">Script name: test-headers</comment><crlf/><control name="if"><test name="allof"><testlist><test name="header"><tag>contains</tag><str type="quoted">Content-Type</str><str type="quoted">value</str><crlf/></test><test name="not"><test name="header"><tag>is</tag><str type="quoted">Date</str><str type="quoted">125</str><crlf/></test></test><test name="not"><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">sdfsdf</str><crlf/></test></test></testlist></test><crlf/><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">mboxmetadata</str></control><crlf/><crlf/><comment type="hash">Script name: test-metadata-exist</comment><crlf/><control name="if"><test name="metadataexists"><str type="quoted">INBOX</str><str type="quoted">ANNOTATION</str><crlf/></test><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">mboxmetadata</str></control><crlf/><crlf/><comment type="hash">Script name: test-metadata-exist</comment><crlf/><control name="if"><test name="metadataexists"><str type="quoted">INBOX</str><str type="quoted">ANNOTATION</str><crlf/></test><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="header"><tag>regex</tag><str type="quoted">subject</str><str type="quoted">.* \| Nouveau ticket - .*</str></test><block><crlf/><action name="fileinto"><tag>create</tag><str type="quoted">GLPI/Nouveaux tickets</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="header"><tag>regex</tag><str type="quoted">subject</str><str type="quoted">.* \| Nouveau ticket - .*</str></test><block><crlf/><action name="fileinto"><tag>create</tag><str type="quoted">GLPI/Nouveaux tickets</str></action><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">servermetadata</str></control><crlf/><crlf/><comment type="hash">Script name: test-metadataexists</comment><crlf/><control name="if"><test name="servermetadataexists"><str type="quoted">ANNOTATION</str><crlf/></test><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">servermetadata</str></control><crlf/><crlf/><comment type="hash">Script name: test-metadataexists</comment><crlf/><control name="if"><test name="servermetadataexists"><str type="quoted">ANNOTATION</str><crlf/></test><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">spamtestplus</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">comparator-i;ascii-numeric</str></control><crlf/><crlf/><comment type="hash">Script name: test spam-plus</comment><crlf/><control name="if"><test name="allof"><testlist><test name="spamtest"><tag>percent</tag><tag>value</tag><str type="quoted">ne</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">4</str><crlf/></test><test name="spamtest"><tag>count</tag><str type="quoted">ge</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">3</str><crlf/></test><test name="spamtest"><tag>percent</tag><tag>value</tag><str type="quoted">ne</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">3</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">spamtestplus</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">comparator-i;ascii-numeric</str></control><crlf/><crlf/><comment type="hash">Script name: test spam-plus</comment><crlf/><control name="if"><test name="allof"><testlist><test name="spamtest"><tag>percent</tag><tag>value</tag><str type="quoted">ne</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">4</str><crlf/></test><test name="spamtest"><tag>count</tag><str type="quoted">ge</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">3</str><crlf/></test><test name="spamtest"><tag>percent</tag><tag>value</tag><str type="quoted">ne</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">3</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">spamtest</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">comparator-i;ascii-numeric</str></control><crlf/><crlf/><comment type="hash">Script name: test spam</comment><crlf/><control name="if"><test name="allof"><testlist><test name="spamtest"><tag>count</tag><str type="quoted">lt</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">5</str><crlf/></test><test name="spamtest"><tag>value</tag><str type="quoted">ge</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">8</str><crlf/></test><test name="spamtest"><tag>count</tag><str type="quoted">lt</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">3</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">spamtest</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">comparator-i;ascii-numeric</str></control><crlf/><crlf/><comment type="hash">Script name: test spam</comment><crlf/><control name="if"><test name="allof"><testlist><test name="spamtest"><tag>count</tag><str type="quoted">lt</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">5</str><crlf/></test><test name="spamtest"><tag>value</tag><str type="quoted">ge</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">8</str><crlf/></test><test name="spamtest"><tag>count</tag><str type="quoted">lt</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">3</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><list><str type="quoted">fileinto</str><str type="quoted">vacation</str></list></control><crlf/><comment type="hash"> Move spam to spam folder</comment><control name="if"><test name="header"><tag>contains</tag><str type="quoted">X-Spam-Flag</str><str type="quoted">YES</str></test><block><crlf/><action name="fileinto"><str type="quoted">spam</str></action><crlf/><comment type="hash"> Stop here so that we do not reply on spams</comment><action name="stop"></action><crlf/></block></control><crlf/><action name="vacation"><crlf/><comment type="hash"> Reply at most once a day to a same sender</comment><tag>days</tag><num>1</num><crlf/><tag>subject</tag><str type="quoted">Out of office reply</str><crlf/><comment type="hash"> List of additional recipient addresses which are included in the auto replying.</comment><comment type="hash"> If a mail's recipient is not the envelope recipient and it's not on this list,</comment><comment type="hash"> no vacation reply is sent for it.</comment><tag>addresses</tag><list><str type="quoted">j.doe@company.dom</str><str type="quoted">john.doe@company.dom</str></list><crlf/><str type="quoted">I'm out of office, please contact Joan Doe instead.
<?xml version="1.0"?><script><control name="require"><list><str type="quoted">fileinto</str><str type="quoted">vacation</str></list></control><crlf/><comment type="hash"> Move spam to spam folder</comment><control name="if"><test name="header"><tag>contains</tag><str type="quoted">X-Spam-Flag</str><str type="quoted">YES</str></test><block><crlf/><action name="fileinto"><str type="quoted">spam</str></action><crlf/><comment type="hash"> Stop here so that we do not reply on spams</comment><action name="stop"></action><crlf/></block></control><crlf/><action name="vacation"><crlf/><comment type="hash"> Reply at most once a day to a same sender</comment><tag>days</tag><num>1</num><crlf/><tag>subject</tag><str type="quoted">Out of office reply</str><crlf/><comment type="hash"> List of additional recipient addresses which are included in the auto replying.</comment><comment type="hash"> If a mail's recipient is not the envelope recipient and it's not on this list,</comment><comment type="hash"> no vacation reply is sent for it.</comment><tag>addresses</tag><list><str type="quoted">j.doe@company.dom</str><str type="quoted">john.doe@company.dom</str></list><crlf/><str type="quoted">I'm out of office, please contact Joan Doe instead.
Best regards
John Doe</str></action><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="if"><test name="anyof"><testlist><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[kdepim-runtime]</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[akonadi</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[kmail2</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[pim-sieve-editor</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[pim-data-exporter</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[akonadi-search/</str></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">bb</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="if"><test name="anyof"><testlist><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[kdepim-runtime]</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[akonadi</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[kmail2</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[pim-sieve-editor</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[pim-data-exporter</str><crlf/></test><test name="header"><tag>contains</tag><str type="quoted">Subject</str><str type="quoted">[akonadi-search/</str></test></testlist></test><crlf/><block><crlf/><action name="fileinto"><str type="quoted">bb</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">spamtest</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">comparator-i;ascii-numeric</str></control><crlf/><crlf/><comment type="hash">Script name: test virus</comment><crlf/><control name="if"><test name="allof"><testlist><test name="virustest"><tag>count</tag><str type="quoted">ge</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">5</str><crlf/></test><test name="virustest"><tag>value</tag><str type="quoted">ne</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">5</str><crlf/></test><test name="virustest"><tag>count</tag><str type="quoted">lt</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">4</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">spamtest</str></control><crlf/><control name="require"><str type="quoted">relational</str></control><crlf/><control name="require"><str type="quoted">comparator-i;ascii-numeric</str></control><crlf/><crlf/><comment type="hash">Script name: test virus</comment><crlf/><control name="if"><test name="allof"><testlist><test name="virustest"><tag>count</tag><str type="quoted">ge</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">5</str><crlf/></test><test name="virustest"><tag>value</tag><str type="quoted">ne</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">5</str><crlf/></test><test name="virustest"><tag>count</tag><str type="quoted">lt</str><tag>comparator</tag><str type="quoted">i;ascii-numeric</str><str type="quoted">4</str><crlf/></test></testlist></test><crlf/><block><crlf/><action name="stop"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><list><str type="quoted">date</str><str type="quoted">relational</str><str type="quoted">vacation</str></list></control><crlf/><comment type="hash"> EDITOR Roundcube (Managesieve)</comment><comment type="hash"> EDITOR_VERSION 8.2</comment><comment type="hash"> rule:[Urlaub]</comment><control name="if"><test name="allof"><testlist><test name="not"><test name="header"><tag>contains</tag><str type="quoted">X-Spam-Flag</str><str type="quoted">YES</str></test></test></testlist></test><crlf/><block><crlf/><action name="vacation"><tag>days</tag><num>7</num><tag>addresses</tag><str type="quoted">test@test.de</str><tag>subject</tag><str type="quoted">XXX</str><str type="quoted">dsfgsdfgsdfg</str></action><crlf/><action name="discard"></action><crlf/></block></control></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><list><str type="quoted">date</str><str type="quoted">relational</str><str type="quoted">vacation</str></list></control><crlf/><comment type="hash"> EDITOR Roundcube (Managesieve)</comment><comment type="hash"> EDITOR_VERSION 8.2</comment><comment type="hash"> rule:[Urlaub]</comment><control name="if"><test name="allof"><testlist><test name="not"><test name="header"><tag>contains</tag><str type="quoted">X-Spam-Flag</str><str type="quoted">YES</str></test></test></testlist></test><crlf/><block><crlf/><action name="vacation"><tag>days</tag><num>7</num><tag>addresses</tag><str type="quoted">test@test.de</str><tag>subject</tag><str type="quoted">XXX</str><str type="quoted">dsfgsdfgsdfg</str></action><crlf/><action name="discard"></action><crlf/></block></control></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><list><str type="quoted">vacation</str></list></control><crlf/><crlf/><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/><crlf/><comment type="hash"> EDITOR Roundcube (Managesieve)</comment><comment type="hash"> EDITOR_VERSION 8.2</comment><comment type="hash"> rule:[Urlaub]</comment><action name="vacation"><tag>subject</tag><str type="quoted">XXX</str><str type="quoted">dsfgsdfgsdfg</str></action><crlf/><crlf/><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><list><str type="quoted">vacation</str></list></control><crlf/><crlf/><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/><crlf/><comment type="hash"> EDITOR Roundcube (Managesieve)</comment><comment type="hash"> EDITOR_VERSION 8.2</comment><comment type="hash"> rule:[Urlaub]</comment><action name="vacation"><tag>subject</tag><str type="quoted">XXX</str><str type="quoted">dsfgsdfgsdfg</str></action><crlf/><crlf/><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="keep"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><list><str type="quoted">vacation</str></list></control><crlf/><crlf/><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="testcommand"></action><crlf/></block></control><crlf/><crlf/><comment type="hash"> EDITOR Roundcube (Managesieve)</comment><comment type="hash"> EDITOR_VERSION 8.2</comment><comment type="hash"> rule:[Urlaub]</comment><action name="vacation"><tag>subject</tag><str type="quoted">XXX</str><str type="quoted">dsfgsdfgsdfg</str></action><crlf/><crlf/><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="testcommand"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><list><str type="quoted">vacation</str></list></control><crlf/><crlf/><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="testcommand"></action><crlf/></block></control><crlf/><crlf/><comment type="hash"> EDITOR Roundcube (Managesieve)</comment><comment type="hash"> EDITOR_VERSION 8.2</comment><comment type="hash"> rule:[Urlaub]</comment><action name="vacation"><tag>subject</tag><str type="quoted">XXX</str><str type="quoted">dsfgsdfgsdfg</str></action><crlf/><crlf/><control name="if"><test name="false"><crlf/></test><block><crlf/><action name="testcommand"></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">vacation-seconds</str></control><crlf/><control name="require"><str type="quoted">vacation</str></control><crlf/><crlf/><comment type="hash">Script name: vacation</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="vacation"><tag>seconds</tag><num>4</num><tag>subject</tag><str type="quoted">message</str><tag>addresses</tag><str type="quoted">foo@example.com</str><str type="multiline"> vacation!!!!!!!!!!!!!!</str></action><crlf/><crlf/><action name="vacation"><tag>days</tag><num>5</num><tag>subject</tag><str type="quoted">message</str><str type="multiline"> vacation bis!!!!</str></action><crlf/><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">vacation-seconds</str></control><crlf/><control name="require"><str type="quoted">vacation</str></control><crlf/><crlf/><comment type="hash">Script name: vacation</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="vacation"><tag>seconds</tag><num>4</num><tag>subject</tag><str type="quoted">message</str><tag>addresses</tag><str type="quoted">foo@example.com</str><str type="multiline"> vacation!!!!!!!!!!!!!!</str></action><crlf/><crlf/><action name="vacation"><tag>days</tag><num>5</num><tag>subject</tag><str type="quoted">message</str><str type="multiline"> vacation bis!!!!</str></action><crlf/><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">variables</str></control><crlf/><crlf/><comment type="hash">Script name: set variable example</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="set"><tag>lowerfirst</tag><str type="quoted">25</str><str type="quoted">variable-lower</str></action><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">variables</str></control><crlf/><crlf/><comment type="hash">Script name: set variable example</comment><crlf/><control name="if"><test name="true"></test><block><crlf/><action name="set"><tag>lowerfirst</tag><str type="quoted">25</str><str type="quoted">variable-lower</str></action><crlf/></block></control><crlf/><crlf/></script>
\ No newline at end of file
<?xml version='1.0'?><script><control name="require"><str type="quoted">variables</str></control><crlf/><crlf/><comment type="hash">Script name: variables</comment><crlf/><control name="if"><test name="size"><tag>under</tag><num>5</num><crlf/></test><block><crlf/><action name="set"><str type="quoted">testvariable</str><str type="quoted">25</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
<?xml version="1.0"?><script><control name="require"><str type="quoted">variables</str></control><crlf/><crlf/><comment type="hash">Script name: variables</comment><crlf/><control name="if"><test name="size"><tag>under</tag><num>5</num><crlf/></test><block><crlf/><action name="set"><str type="quoted">testvariable</str><str type="quoted">25</str></action><crlf/></block></control><crlf/></script>
\ No newline at end of file
......@@ -25,7 +25,7 @@ using KSieve::Parser;
#include "libksieve_debug.h"
#include <QXmlStreamWriter>
#define USE_QXMLSTREAMWRITER 1
//#define USE_QXMLSTREAMWRITER 1
using namespace KSieveUi;
XMLPrintingScriptBuilder::XMLPrintingScriptBuilder()
: KSieve::ScriptBuilder(),
......@@ -38,7 +38,7 @@ XMLPrintingScriptBuilder::XMLPrintingScriptBuilder()
mStream->writeStartDocument();
mStream->writeStartElement(QStringLiteral("script"));
#else
write(QStringLiteral("<?xml version='1.0'?>"));
write(QStringLiteral("<?xml version=\"1.0\"?>"));
write(QStringLiteral("<script>"));
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment