Hide Forgot
Description of problem: The attached config does not work in rawhide dovecot The last working version is dovecot-2.1-0.3.rc1.fc17.x86_64
Created attachment 556111 [details] server config
> The attached config does not work in rawhide dovecot Please describe what you mean by "does not work" exactly. What error do you get? What does not work? etc... I've tried to run dovecot-2.1-0.4.rc3.fc17 with that configuration and only error I got was about missing certificates. When I changed that path in /etc/dovecot/conf.d/10-ssl.conf to default value from dovecot rpm, it worked fine.
(In reply to comment #2) > > The attached config does not work in rawhide dovecot > > Please describe what you mean by "does not work" exactly. neither evo nor squirrelmail manage to talk to dovecot > What error do you > get? What does not work? etc... Jan 19 22:00:59 arekh dovecot: imap-login: Login: user=<nim>, method=PLAIN, rip=192.168.0.4, lip=192.168.0.4, mpid=3649, TLS Jan 19 22:00:59 arekh dovecot: imap(nim): Error: user nim: Initialization failed: Namespace '': Mail storage autodetection failed with home=/home/nim Jan 19 22:00:59 arekh dovecot: imap(nim): Error: Invalid user settings. Refer to server log for more information.
still broken with dovecot-2.1-0.6.rc5.fc17.x86_64.rpm dovecot-pigeonhole-2.1-0.6.rc5.fc17.x86_64.rpm
try if one of the following helps: 1) in 10-mail.conf change "namespace {" to "namespace inbox {" 2) add this to 10-mail.conf namespace inbox { inbox = yes } does it change anything?
(In reply to comment #5) > try if one of the following helps: > 1) in 10-mail.conf change "namespace {" to "namespace inbox {" This part seems sufficient to repair dovecot Thanks a lot for the tip! I wonder why it suddenly started to mater…
(In reply to comment #6) > (In reply to comment #5) > > try if one of the following helps: > > 1) in 10-mail.conf change "namespace {" to "namespace inbox {" > > This part seems sufficient to repair dovecot Unfortunately, not With this change dovecot 1:2.1-0.6.rc5.fc17 can be accessed by impa clients but it breaks lda sieve now dovecot: lda(nim): Error: sieve: failed to open script /home/nim/.local/share/dovecot/sieve (view user logfile /home/nim/.local/share/dovecot/sieve.log for more information) sieve: info: started log at Feb 11 12:24:02. main_script: line 3: error: included personal script '00-spam.sieve' does not exist. main_script: line 4: error: included personal script '20-bogues.sieve' does not exist. main_script: line 5: error: included personal script '20-listes.sieve' does not exist. main_script: line 6: error: included personal script '20-vendeurs.sieve' does not exist. main_script: line 7: error: included personal script '20-annonces.sieve' does not exist. main_script: line 8: error: included personal script '20-charges.sieve' does not exist. main_script: line 9: error: included personal script '30-famille.sieve' does not exist. main_script: error: validation failed. So this new dovecot version does not find the sieve personal script directory anymore
dovecot-2.1-0.4.rc3.fc17.x86_64 and dovecot-pigeonhole-2.1-0.4.rc3.fc17.x86_64 are not broken wrt lda & sieve BTW
*** Bug 782892 has been marked as a duplicate of this bug. ***
I've just tried to reproduce it with dovecot 2.1.rc6 (I did not test sieve with rc5) and it works for me (I've used kmail for managesieve test). Please try with 2.1.rc6. If it does not work for you, are you able to reproduce it with new user? If so, please describe steps how to reproduce this.
(In reply to comment #10) > I've just tried to reproduce it with dovecot 2.1.rc6 (I did not test sieve with > rc5) and it works for me (I've used kmail for managesieve test). Please try > with 2.1.rc6. If it does not work for you rc6 does not work. I don't use managesieve, just plain sieve+lda
# grep -E '^ *sieve' /etc/dovecot/conf.d/90-sieve.conf sieve = ~/.local/share/dovecot/sieve sieve_dir = ~/.local/share/sieve # adduser bill # cd /home/bill/ # su bill $ mkdir -p .local/share/dovecot $ echo 'require "include";' > .local/share/dovecot/sieve $ echo 'include :personal "00-spam.sieve";' >> .local/share/dovecot/sieve $ mkdir -p .local/share/sieve $ touch .local/share/sieve/00-spam.sieve $ echo 'test' | mail -s test bill@localhost $ cat /home/bill/.local/share/dovecot/sieve.log sieve: info: started log at Feb 14 20:03:27. main_script: line 2: error: included personal script '00-spam.sieve' does not exist. main_script: error: validation failed.
please test these packages, if it works for you: http://kojipkgs.fedoraproject.org/scratch/mhlavink/task_3796232/
Those one seem to work fine with lda, thank you! (I even retested dovecot-2.1-0.7.rc6.fc18.x86_64 to make sure the fix was not due to another package update, and dovecot-2.1-0.7.rc6.fc18.x86_64 was still broken but your scratch packages work)
Those packages had dovecot 2.1.0.rc6 and pigeonhole from 2.1.0.rc3 package. I've checked pigeonhole repository and found out what's going on here. It's not a bug, it's a bug fix. Seems it's this change: http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/66b7b1636c8c So instead of include :personal "00-spam.sieve"; you have to use include :personal "00-spam"; Please change your sieve scripts, retest with original dovecot package ( yum distro-sync dovecot\* ) and let me know the result. Thanks
(In reply to comment #15) > Those packages had dovecot 2.1.0.rc6 and pigeonhole from 2.1.0.rc3 package. > I've checked pigeonhole repository and found out what's going on here. It's not > a bug, it's a bug fix. Seems it's this change: > http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/66b7b1636c8c > So instead of > include :personal "00-spam.sieve"; > you have to use > include :personal "00-spam"; > > Please change your sieve scripts, retest with original dovecot package ( yum > distro-sync dovecot\* ) and let me know the result. Thanks That seems to work. Thank you for the investigation! Since this is going to hit other people upgrading previous dovecot versions, maybe the 'do not use extensions' new rule should be documented in the default config files?
I've added missing pigeonhole documentation to dovecot-pigeonhole sub-package. This change is documented there.