[Dovecot] Cannot get cmusieve to work

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Tue Jun 12 16:12:47 EEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 12 Jun 2007, Dani wrote:

> I'm using a .dovecot-sieve example from the wiki:
>
> require "fileinto";
> if exists "X-Spam-Flag" {
>   fileinto ".Junk/";
> }

It should be

fileinto "Junk";


> and I used the CONCAT method but anyway mails don't filter because of
> two "//".
> sieve
> ****path: /home/vmail/exampledomain.org/dani at exampledomain.org//.dovecot.sieve***
> Jun 12 14:12:52 yad deliver(dani at exampledomain.org):
> msgid=<20070612110825.F38F61054E8 at sc8-sf-spam1.sourceforge.net>: saved
> mail to INBOX

The filesystem does not care about duplicate slashes, you can verify it 
by checking, if the compiled script exists:

/home/vmail/exampledomain.org/dani at exampledomain.org//.dovecot.sievec

(see the 'c' at the end of the filename).

Also watch out for an *.err file, if present.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRm6b0y9SORjhbDpvAQJHuAf/Vy6E4eux4BZ9QRDnfBN9m1EvfxdLo743
AEnB0doEed6VD3HG7hA8RXnXH1fjfR9w/WVogcxhg0/8mX5hRvL79Za8mgg+2uP3
5bW4AP75igzdt0UMdwn57N8Olu3g2D6Dksn4TF2ltwGwr9SQSM6fegdLcMz5QXgg
wy33prjUqzzHHqA434GyebG7X5p2WOXsJfPQrTkkbqo+10YCxcsPa32NduxvA+94
K6eSYdYnyqr6Y2v2c/klFWB0j0pjGUJWioUMJ/oA3fYsXD26BgL3gxbhCe1R1wR/
MHwkt8HdMBIhQ9YJlrfkHmvAyp1U82KAz24PYisLYJhGPe57mXNfEQ==
=hl8D
-----END PGP SIGNATURE-----


More information about the dovecot mailing list