Op 2/5/2017 om 8:53 PM schreef dovelist: > Hi, > > I am trying to get sieve working on a new OpenSuse leap 42.2 install. > On my 'old' OpenSuse 13.2 machine it worked fine. > > The problem is that Managesieve can't access the script store and > won't let me create any script. It says permission denied on ~/sieve > directory. See log below. I 've activated debug logging, but that > doesn't give any clues to me. Also, I've set the directory accessible > to all, but Managesieve still complains. > >> cd ~ >> ls -l > drwx------ 1 rogier users 8340 5 feb 16:54 Maildir > drwxrwxrwx 1 rogier users 24 5 feb 18:38 sieve > > To rule out client issues (kmail) I tested also with Manual TLS Login > as described in: > http://wiki2.dovecot.org/Pigeonhole/ManageSieve/Troubleshooting > > Same result. > > I am puzzled. I can't find anything wrong in the dovecot > configuration. The output of dovecot -n is shown below. > Hope someone has a solution. A lot of mail is waiting to get sorted... > > Best Regards, > Rogier > > > The log: > > feb 05 20:22:18 p150 dovecot[12120]: managesieve-login: Login: > user=<rogier>, method=PLAIN, rip=192.168.0.18, lip=192.168.0.20, > mpid=12135, TLS, session=<gmb0bs1H5q/AqAAS> > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > Effective uid=1000, gid=100, home=/home/rogier > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, > list=yes, subscriptions=yes location=maildir:~/Maildir > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > maildir++: root=/home/rogier/Maildir, index=, indexpvt=, control=, > inbox=/home/rogier/Maildir, alt= > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > sieve: Pigeonhole version 0.4.15 (97b3da0) initializing > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > sieve: include: sieve_global is not set; it is currently not possible > to include `:global' scripts. > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > sieve: file storage: Using active Sieve script path: > /home/rogier/.dovecot.sieve > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > sieve: file storage: Using script storage path: /home/rogier/sieve/ > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > sieve: file storage: Using permissions from /home/rogier/sieve/: > mode=0777 gid=-1 > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > sieve: file storage: Relative path to sieve storage in active link: > sieve/ > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Debug: > sieve: file storage: sync: Synchronization active > feb 05 20:22:18 p150 dovecot[12120]: managesieve(rogier): Error: > sieve: file storage: Failed to list scripts: > opendir(/home/rogier/sieve) failed: Permission denied
Normally, Dovecot permission errors are more helpful than that. So, this error message in itself is a bit of a bug: https://github.com/dovecot/pigeonhole/commit/51e4ff296987781e1ce93cb1c0ccc14e863bf8d6 About the cause of this error: keep in mind that the whole directory path needs read/execute permission, not only the leaf directory. You could try a command other than LISTSCRIPTS in your manual debugging efforts. That should take a different code path that provides a more detailed error. Regards, Stephan.