Vacation sieve explained: how does it work?

Sami Ketola sami.ketola at dovecot.fi
Wed Sep 23 16:37:07 EEST 2020



> On 23. Sep 2020, at 15.15, Graham Leggett <minfrin at sharp.fm> wrote:
> 
> On 23 Sep 2020, at 14:07, Marc Roos <M.Roos at f1-outsourcing.eu> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200923/8551ef8b/attachment-0001.html>


More information about the dovecot mailing list