[Dovecot] Problem when just .dovecot.sieve symlinks changes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
well, I'm sort of sure that this was raised in the past, but I do not find the patch / answer of it:
I'm running dovecot v1.0.15 from hg (5567:568687e4df02) with managesieve patch v9.2 (there is one change between this and v9.3 except in regards of AUTH so this should not matter.) and dovecot-sieve v1.0.3.
When an user issues just "SETACTIVE" in order to activate an _old_ script, deliver does not rebuilt the compiled file. If I peeked the correct code, CMU sieve just stat()s both .dovecot.sieve and .dovecot.sievec, but misses the fact that the symlink's .dovecot.sieve, which is used by the managesieve patch, time is newer.
Actually I dimmly remember that the issue was solved somehow, but I did not found how when searching the archives. Shall deliver lstat(.dovecot.sieve) or shall managesieve delete the cache file?
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFI26+7VJMDrex4hCIRAt4GAJ9wqQ0Pvb5SRjK2KZNFuun/K/lNoQCg2Arm EB+eBxKEq/9ZpzJeB00TXOk= =X5aa -----END PGP SIGNATURE-----
On Sep 25, 2008, at 6:35 PM, Steffen Kaiser wrote:
When an user issues just "SETACTIVE" in order to activate an _old_
script, deliver does not rebuilt the compiled file. If I peeked the
correct code, CMU sieve just stat()s both .dovecot.sieve
and .dovecot.sievec, but misses the fact that the
symlink's .dovecot.sieve, which is used by the managesieve patch,
time is newer.Actually I dimmly remember that the issue was solved somehow, but I
did not found how when searching the archives. Shall deliver
lstat(.dovecot.sieve) or shall managesieve delete the cache file?
It was fixed in dovecot-sieve-1.1 tree, but not in 1.0. Added there
now too:
http://hg.dovecot.org/dovecot-sieve-1.0/rev/3d78296cf763
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 25 Sep 2008, Timo Sirainen wrote:
It was fixed in dovecot-sieve-1.1 tree, but not in 1.0. Added there now too: http://hg.dovecot.org/dovecot-sieve-1.0/rev/3d78296cf763
Thanks, works!
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFI3KA2VJMDrex4hCIRAtQlAKDDj41/+j3Q4r7aiV46kHnqoalhFgCgn1tN 6Hdo27ARCX+ww3xcv7ytlG8= =xWUE -----END PGP SIGNATURE-----
participants (2)
-
Steffen Kaiser
-
Timo Sirainen