failed to compile a sieve script with optional include
André Rodier
andre at rodier.me
Mon Apr 5 14:24:09 EEST 2021
On Mon, 2021-04-05 at 10:19 +0100, André Rodier wrote:
> Hi,
>
> I am trying to compile the following sieve script:
>
> -----------------------------
> require [
> "variables",
> "include",
> "relational",
> "imapsieve"
> ];
>
> global "importing";
>
> include :personal :optional "pre-sent-checks";
>
> if string :count "eq" "${importing}" "1"
> {
> keep;
> stop;
> }
> -----------------------------
>
> But I have this error:
>
> > sent-checks: line 15: error: include: personal location for
> > included
> > script `pre-sent-checks' is unavailable (contact system
> > administrator
> > for more information).
> > sent-checks: error: validation failed.
> > sievec(root): Fatal: failed to compile sieve script 'sent-
> checks.sieve'
>
> What should I do to compile a script with an optional user script,
> please ?
>
> Thanks
I realised that I don't need to compile the script myself, and that
dovecot is compiling it on demand, without error.
I hope this helps others.
André
More information about the dovecot
mailing list