1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/doručenky/global.sieve Sat Mar 08 16:17:03 2014 +0100
1.3 @@ -0,0 +1,21 @@
1.4 +# Kompilace:
1.5 +# sievec global.sieve
1.6 +
1.7 +require ["fileinto"];
1.8 +
1.9 +# rule:[doručenky]
1.10 +if allof (
1.11 + not exists "X-DSN-Pridej-References",
1.12 + header :contains "Content-Type" "report-type=delivery-status;"
1.13 + )
1.14 +{
1.15 + redirect "dorucenky@example.com";
1.16 + stop;
1.17 +}
1.18 +elsif anyof (
1.19 + header :contains "Content-Type" "report-type=disposition-notification;",
1.20 + header :contains "Content-Type" "report-type=delivery-status;"
1.21 + )
1.22 +{
1.23 + fileinto "Sent";
1.24 +}