author | František Kučera <franta-hg@frantovo.cz> |
Wed, 30 Nov 2011 15:44:34 +0100 | |
changeset 21 | a5c8edf14f82 |
parent 20 | doručenky/doručenky.sieve@2a00ee0b740a |
permissions | -rw-r--r-- |
franta-hg@21 | 1 |
# Kompilace: |
franta-hg@21 | 2 |
# sievec global.sieve |
franta-hg@21 | 3 |
|
franta-hg@19 | 4 |
require ["fileinto"]; |
franta-hg@21 | 5 |
|
franta-hg@19 | 6 |
# rule:[doručenky] |
franta-hg@21 | 7 |
if allof ( |
franta-hg@21 | 8 |
not exists "X-DSN-Pridej-References", |
franta-hg@21 | 9 |
header :contains "Content-Type" "report-type=delivery-status;" |
franta-hg@21 | 10 |
) |
franta-hg@19 | 11 |
{ |
franta-hg@21 | 12 |
redirect "dorucenky@example.com"; |
franta-hg@21 | 13 |
stop; |
franta-hg@19 | 14 |
} |
franta-hg@21 | 15 |
elsif anyof ( |
franta-hg@21 | 16 |
header :contains "Content-Type" "report-type=disposition-notification;", |
franta-hg@21 | 17 |
header :contains "Content-Type" "report-type=delivery-status;" |
franta-hg@21 | 18 |
) |
franta-hg@21 | 19 |
{ |
franta-hg@21 | 20 |
fileinto "Sent"; |
franta-hg@21 | 21 |
} |