franta-hg@21: # Kompilace: franta-hg@21: # sievec global.sieve franta-hg@21: franta-hg@19: require ["fileinto"]; franta-hg@21: franta-hg@19: # rule:[doručenky] franta-hg@21: if allof ( franta-hg@21: not exists "X-DSN-Pridej-References", franta-hg@21: header :contains "Content-Type" "report-type=delivery-status;" franta-hg@21: ) franta-hg@19: { franta-hg@21: redirect "dorucenky@example.com"; franta-hg@21: stop; franta-hg@19: } franta-hg@21: elsif anyof ( franta-hg@21: header :contains "Content-Type" "report-type=disposition-notification;", franta-hg@21: header :contains "Content-Type" "report-type=delivery-status;" franta-hg@21: ) franta-hg@21: { franta-hg@21: fileinto "Sent"; franta-hg@21: }