12 Feb
2016
12 Feb
'16
2:56 p.m.
Hi,
I'm working on a Sieve script and want to store a list of addresses in a variable to easily access the list multiple times later.
For example I want to transform this:
if address :is "from" ["daffy.duck@example.com", "porky.pig@example.com", "speedy.gonzales@example.com"] { fileinto "friends"; }
into something like this:
require ["fileinto", "variables"];
set "friends" ["daffy.duck@example.com", "porky.pig@example.com", "speedy.gonzales@example.com"]
if address :is "from" $friends { fileinto "friends"; }
Any ideas on this?
regards Knut