[Dovecot] Possible managesieve bug.

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Dec 3 16:39:38 EET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 3 Dec 2013, Pedro R. Benito da Rocha wrote:

>
> sieve = /correo/%d/%u/dovecot.sieve
> sieve_dir = /correo/%d/%u/Sieve
>
> and is working fine.
>
> But the same config on the new server is not working.
> I have activated verbose logging and this is the result:
>
> Dec  3 09:59:41 imap-01 dovecot: managesieve-login: Login: 
> user=<xxxx at ubu.es>, method=LOGIN, rip=10.145.4.65, lip=10.145.4.45, 
> mpid=29855, session=<T7hfhJ3s+QAKkQRB>
> Dec  3 09:59:41 imap-01 dovecot: managesieve(xxxx at ubu.es): Error: 
> sieve-storage: Performing readlink() on active sieve symlink 
> '/correo/ubu.es/xxxx at ubu.es/dovecot.sieve' failed: Permission denied

What are the filesystem permissions of /correo/ubu.es, 
/correo/ubu.es/xxxx at ubu.es and /correo ?

> Permissions are ok. I modified the permissions using 0777 but the error 
> message is the same.

> I have made other tests to see if I can find the problem, and I made it work 
> if I delete "%d" from config, this way:
>
> sieve = /correo/%u/dovecot.sieve
> sieve_dir = /correo/%u/Sieve
>
> I have copied all filters preserving permissions, and with the same file 
> permissions is working.
> If I add the '%d' to the path error comes again.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUp3tKl3r2wJMiz2NAQJL5Qf7B5JTl8Q5mRXWwRUhOg4psIuBrR+ZOc65
U03+De115SwuzZpHfHeK4y+5jDsZx+7c5h3OeGYUP2A9IqH+BXvhZwt4rj/enmrZ
AaB34JqWZEJ+J2IQI8u7ZdtO0acrWPG/bXcAentjWWKDl5fihgOad91w1GsABi3L
2ocYTS9HHkrJe1Ge4sDdUEc9B4Ej7X2w4yOaKeKbsiZLsidLSrgMx09KSkCl2qrP
NTRUEKplxyt7Vw7rSnkPRP8zIe6cDpNf4OSPtUjtpqRFu70Yl7Uhf2yKru34csmp
8RlMtqtp+rjPnvf9GvyygAiKmTxmO7rGJT0QE2YcFD9c+IZggo3S3g==
=1z9a
-----END PGP SIGNATURE-----


More information about the dovecot mailing list