Steffen Kaiser
2008-Sep-25 15:35 UTC
[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-----
Timo Sirainen
2008-Sep-25 15:58 UTC
[Dovecot] Problem when just .dovecot.sieve symlinks changes
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080925/956307f0/attachment-0002.bin>
Steffen Kaiser
2008-Sep-26 08:41 UTC
[Dovecot] Problem when just .dovecot.sieve symlinks changes
-----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/3d78296cf763Thanks, works! - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI3KA2VJMDrex4hCIRAtQlAKDDj41/+j3Q4r7aiV46kHnqoalhFgCgn1tN 6Hdo27ARCX+ww3xcv7ytlG8=xWUE -----END PGP SIGNATURE-----