[Dovecot] Problem with recompiling sieve scripts after migrating to Dovecot 2.0 from 1.2

Stephan Bosch stephan at rename-it.nl
Fri Mar 18 13:28:47 EET 2011


Op 17-3-2011 22:00, Andrés Yacopino schreef:
> I saw this in log file of dovecot:
>
> Error: sieve: binary save: failed to create temporary file:
> open(/usr/local/etc/sieve/after/after.dovecot.svbin.acamail.acasalud.com.ar.13528.)
> failed: Permission denied (euid=40(vmail) egid=41(vmail) missing +w
> perm: /usr/local/etc/sieve/after, euid is not dir owner)
> acamail dovecot: lda(xxxxx at xxxxxx): Error: sieve: the lda sieve plugin
> does not have permission to save global sieve script binaries; global
> sieve scripts like /usr/local/etc/sieve/after/after.dovecot.sieve need
> to be pre-compiled using the sievec tool
>
> So i tried to recompile script using sievec like:
>
> sievec /usr/lcaol/etc/sieve/after/after.dovecot.sieve but i get:
>
> sievec(root): Error: user root: Initialization failed: Initializing mail
> storage from mail_location setting failed: stat(/root/Maildir) failed:
> Permission denied (euid=40(vmail) egid=41(vmail) missing +x perm: /root,
> euid is not dir owner)
> sievec(root): Fatal: Invalid user settings. Refer to server log for more
> information.
>
> What i must do to resolve this?

Oh, that problem again. I'd like to fix that this weekend. What you can 
do now is: give it what it wants, being a vmail-owned Maildir in /root. 
You can also provide a dummy config using the -c argument, setting the 
mail_location to something that exists.

Regards,

Stephan.





More information about the dovecot mailing list