> On 23. Sep 2020, at 15.15, Graham Leggett <[email protected]> wrote:
> 
> On 23 Sep 2020, at 14:07, Marc Roos <[email protected]> wrote:
> 
>> It is just a sieve rule.
>> 
>> 1. 
>> On disk default file .dovecot.sieve
>> 
>> 2. I am using roundcube webmail for that.
>> 
>> 3. with if false # true
>> # rule:[Out of Office]
>> if true
>> {
>>    vacation :days 1 :subject "Test" "test test";
>> }
> 
> Is there a way to inject variables from the userdb into the above?
> 
> For example, if I was to pass the vacation message attribute through the 
> userdb lookup, could I then test if the variable was present, and then embed 
> that variable in the message?


Pigeonhole can read sieve scripts from ldap too 
https://wiki.dovecot.org/Pigeonhole/Sieve/Configuration/LDAP 
<https://wiki.dovecot.org/Pigeonhole/Sieve/Configuration/LDAP>

Sami

Reply via email to