-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 5 Sep 2007, Marcin M. Jessa wrote:
"script path" refers to a filename, not just the directory of the ".dovecot-sieve" file.
I just ran a test defining sieve_global_dir = /usr/local/etc/sieve/
Er, you missed the >>"script path" refers to a filename<<, didn't you?
See, get_sieve_path(void) in cmusieve's source ball src/cmusieve-plugin.c The value of "sieve" per user or "sieve_global_dir" is a filename, not a directory. Only if none of them is defined, ".dovecot-sieve" comes into play.
script a more reasonable name like Junk since it takes care of filtering of
You can give the script any name you like. Personally I wouldn't name it "Junk", because there is exactly one Sieve script and you cannot specify another one.
BTW, http://wiki.dovecot.org/LDA/Sieve should have things mentioned for global users as well since I overlooked that part from "Per-user Sieve script location" thinking it did not consider users of global scripts.
I would think, the sections "Configuring" and "Compiling and errors" apply to you.
The "Per-user" section really is dealing with the configuration per user, whether or not you return the same value for all users.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRt5why9SORjhbDpvAQIDTwgAwscv4Xo9lLWssDEkEseMLgYY7TC6mxWF gWrgcT8G6ofRcuUmwxgsSYwAaYwD3Ae3P5H6dTJGE5SF+I/moyf28RzOyzO77DNK fSrj10r4K1VGHva5nu5NoIcY5v/OIiiq8QtElZORDeB+70eiMugQG99T82Hh26XR vPSPdVw/jQf7iudn+dNw3UxTnQoyLJ6oi0IbIF5QR9ppnWLFa+p5n4iPx/03nat/ pfxd7oZ8xTO8DwwbqMgk9rvq2uMjsINEFHjm5jVzneVMGELevYfm9weIgsAFfJpQ F8cgDKtt5GYDkEDmdjmV+3PLcEUyUo5j7y1S0oFNZ/WnR9BY91WkRg== =8ZGb -----END PGP SIGNATURE-----