Re: Sieve: carry global variables from sieve_before to user sieve scripts

2014-10-26 Thread Stephan Bosch
On 10/25/2014 3:50 PM, Alexander 'Leo' Bergolth wrote: > On 20.10.2014 11:48, Alexander 'Leo' Bergolth wrote: >> Is there a way to initialize global variables with default values in >> sieve_before scripts that can be used in the sieve_default script or in >> user scripts? > > OK. I guess that's cu

Re: Sieve: carry global variables from sieve_before to user sieve scripts

2014-10-25 Thread Alexander 'Leo' Bergolth
On 20.10.2014 11:48, Alexander 'Leo' Bergolth wrote: Is there a way to initialize global variables with default values in sieve_before scripts that can be used in the sieve_default script or in user scripts? OK. I guess that's currently not possible. I had a quick look in the code, the global

Sieve: carry global variables from sieve_before to user sieve scripts

2014-10-20 Thread Alexander 'Leo' Bergolth
Hi! Is there a way to initialize global variables with default values in sieve_before scripts that can be used in the sieve_default script or in user scripts? I've tried the following code but this doesn't work.. before.d/10-set-defaults.sieve: 8< requir