Hello list, How can I compile sieve script under new 0.2.2 version from comandline? Under root: #sievec default-before.sieve sievec(root): Error: user root: Initialization failed: Namespace '': mkdir(/root/data) failed: Permission denied (euid=8(mail) egid=12(mail) missing +w perm: /root, euid is not dir owner) sievec(root): Fatal: Invalid user settings. Refer to server log for more information.
I managed to run in the root folder lda and sievec . I add the group mail to root more +w flag and everything should work properly Le lundi 17 janvier 2011 ? 10:02 +0200, Nikita Koshikov a ?crit :> Hello list, > > How can I compile sieve script under new 0.2.2 version from comandline? > > Under root: > #sievec default-before.sieve > sievec(root): Error: user root: Initialization failed: Namespace '': mkdir(/root/data) failed: Permission denied (euid=8(mail) egid=12(mail) missing +w perm: /root, euid is not dir owner) > sievec(root): Fatal: Invalid user settings. Refer to server log for more information.-- gpg --keyserver pgp.mit.edu --recv-key 092164A7 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x092164A7 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: <http://dovecot.org/pipermail/dovecot/attachments/20110118/81650a45/attachment-0002.bin>
On Tue, 18 Jan 2011 01:02:14 +0100 fakessh @ wrote:> > I managed to run in the root folder lda and sievec . I add the group > mail to root more +w flag and everything should work properly >My global scripts located in /etc/dovecot/sieve. IMHO it's not a good idea to allow write access to this folder or add group mail to root. I think, the problem can be easy enclosed if sievec won't drop privileges and have comandline option to redefine user's home dir.
On 17.1.2011, at 10.02, Nikita Koshikov wrote:> sievec(root): Error: user root: Initialization failed: Namespace '': mkdir(/root/data) failed: Permission denied (euid=8(mail) egid=12(mail) missing +w perm: /root, euid is not dir owner)Show your doveconf -n output.