doručenky/global.sieve
author František Kučera <franta-hg@frantovo.cz>
Mon Mar 10 12:20:26 2014 +0100 (2014-03-10)
changeset 26 5d23fa316c1c
parent 20 2a00ee0b740a
permissions -rw-r--r--
eJabberd-auth: ověřování uživatelů proti SQL databázi
     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 }