new vacation scripts
Open, Needs TriagePublic

Description

kolab outlined the vacation script in https://wiki.kolabsys.com/Product:Feature:Vacation and came with a solution, that is not the same than vacation scripts were generated before fom kdepim but actaully is more easy to understand and actually to put untop of other scripts.

The branch dev/sieve_kep14 and dev/vacation (git.kolab.org) make the OOO Dialag feature complete and create the correct scripts add tests etc. To get it upsream we need to implement a migrator routine, than can load the old vacation scripts. They use the same sieve featueres, so we can simply create the new kind of vacation scripts.

knauss created this task.Sep 8 2015, 9:01 PM
knauss updated the task description. (Show Details)
knauss raised the priority of this task from to Needs Triage.
knauss added a project: KDE PIM.
knauss added a subscriber: knauss.
knauss renamed this task from create migration strategy for vacation scripts to new vacation scripts.Sep 8 2015, 9:47 PM

The outcome of the new scripts is, that the old scripts are not valid anymore and can only be read but not written. If there is any other application, that write the same old sieve script, that would fail to interact with out implementation.

The idea between the two is actually, that the new one is actually makes sure, that you can just put the script on top of existing rules and it still works. In contrast to the old one.

So far no other sieveclient is known, that uses the same old sieve script.

thunderbird: https://support.mozilla.org/en-US/kb/vacation-response

New one:

require ["date","relational","vacation"];

if allof (currentdate :zone "+0100" :value "ge" "date" "2015-01-02", currentdate :zone "+0100" :value "le" "date" "2015-03-04", not header :contains "X-Spam-Flag" "YES")
{
        vacation :days 7 :addresses "test@test.de" :subject "XXX" "dsfgsdfgsdfg";
}