[Dovecot] Possible managesieve bug.
Pedro R. Benito da Rocha
pedro at ubu.es
Wed Dec 4 09:47:13 EET 2013
Hello,
Permissions are:
* /correo: 0777 (rwxrwxrwx)
* /correo/ubu.es: 0770 (rwxrwx---)
* /correo/ubu.es/xxxx at ubu.es: 0777 (rwxrwxrwx)
All users belong to the same group.
If I change /correo/ubu.es permissions to 0777 (rwxrwxrwx) it works again.
I have checked old server config again an I realize that it is using
another group for mail access, so is a permissions issue.
But if If change permissions to 0777 on user's directory and files an
error occurs. If I change to 0770 it works fine.
Thank you for the tip, I was blocked :)
Pedro
El 03/12/13 15:39, Steffen Kaiser escribió:
> -----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-----
--
------------------------------------------------------------------------
Pedro R. Benito da Rocha - Servicio de Informatica - Area de Sistemas
Universidad de Burgos (España) E-mail: pedro at ubu.es Tel: +34 947258845
------------------------------------------------------------------------
More information about the dovecot
mailing list