[Dovecot] sievec error: "fileinto require missing"
I'm getting this error when compiling .dovecot.sieve:
$ /usr/libexec/dovecot/sievec .dovecot.sieve .dovecot.sievec
Info: line 3: fileinto require missing
Unable to parse script: script errors:
line 3: fileinto require missing
.dovecot.sieve just looks like this:
$ cat .dovecot.sieve
if header :contains ["List-Id"] ["dovecot.dovecot.org"]
{
fileinto "INBOX.dovecot";
stop;
}
I'm probably doing something silly; but I don't see how what I've done differs significantly from examples I've found. And googling for "fileinto require missing" just got me to the sievec source code.
What might be the problem here?
-- Braden McDaniel braden@endoframe.com
On Sun, Jun 28, 2009 at 05:25:28AM -0400, Braden McDaniel wrote:
.dovecot.sieve just looks like this:
$ cat .dovecot.sieve if header :contains ["List-Id"] ["dovecot.dovecot.org"] { fileinto "INBOX.dovecot"; stop; }
You need to include the referenced functions in the script via require:
require ["include","copy","fileinto","vacation"]; #nclude :global "global.sieve";
In your case require require ["fileinto"]; will do at the top of the script.
Rgds Thomas
On Sun, 2009-06-28 at 11:33 +0200, Thomas Leuxner wrote:
On Sun, Jun 28, 2009 at 05:25:28AM -0400, Braden McDaniel wrote:
.dovecot.sieve just looks like this:
$ cat .dovecot.sieve if header :contains ["List-Id"] ["dovecot.dovecot.org"] { fileinto "INBOX.dovecot"; stop; }
You need to include the referenced functions in the script via require:
require ["include","copy","fileinto","vacation"]; #nclude :global "global.sieve";
In your case require require ["fileinto"]; will do at the top of the script.
Aha. Thank you.
-- Braden McDaniel braden@endoframe.com
participants (2)
-
Braden McDaniel
-
Thomas Leuxner