doručenky/global.sieve
author František Kučera <franta-hg@frantovo.cz>
Sat Mar 08 16:17:03 2014 +0100 (2014-03-08)
changeset 25 80e56bfc227e
parent 20 2a00ee0b740a
permissions -rw-r--r--
ldap2sql – kopírování globálního adresáře (GAL) do SQL, vytvořen projekt v Netbeans
     1 # Kompilace:
     2 # sievec global.sieve
     3 
     4 require ["fileinto"];
     5 
     6 # rule:[doručenky]
     7 if allof (
     8 		not exists "X-DSN-Pridej-References",
     9 		header :contains "Content-Type" "report-type=delivery-status;"
    10 	)
    11 {
    12 	redirect "dorucenky@example.com";
    13 	stop;
    14 }
    15 elsif anyof (
    16 		header :contains "Content-Type" "report-type=disposition-notification;",
    17 		header :contains "Content-Type" "report-type=delivery-status;"
    18 	)
    19 {
    20 	fileinto "Sent";
    21 }