[Dovecot] Managesieve configuration problem

Stephan Bosch stephan at rename-it.nl
Sun Aug 2 13:11:12 EEST 2009


listacc at gmx.de schreef:
> Hello!
> 
> I'm trying for a lot of time to make managesieve working with dovecot 1.1.17 and virtual users on openSuSE 11.1. I think I'm doing some misconfiguration, but I can't figure it out. Perhaps it's something with the paths to the sieve scripts?
> 
> In dovecot.conf I find in the comments:
> 
[...]
> 
> "This must match the SIEVE setting used by deliver", so I have to take a look to LDA section, no?
> But there I don't find any hint for sieve settings:
No, it's for the Sieve plugin. Those settings are located in the plugin 
section.

> I tried to log in to managesieve manually with gnutls-cli, and that was successfull. I was able to authenticate.
> But when I try to put the example script from dovecot wiki (http://wiki.dovecot.org/ManageSieve/Troubleshooting)
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> PUTSCRIPT "hutsefluts" {6+}
> keep;
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> I get no 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> OK "Putscript completed."
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> there happens nothing, managesieve seems to wait for something else.
Try pressing enter once more. If it still hangs, something else is going 
on and you need to test this more thoroughly with strace. You can attach 
this program to the running managesieve process with strace -p<pid>. 
That will show what managesieve is doing.

http://wiki.dovecot.org/Debugging/ProcessTracing

> When I look now into the directory where the script should be stored (the folder has been created automatically) I don't find any script file but a folder "tmp" that contains a plaintext file with the script commands inside, eg. 
That is the file that is generated during upload. When the upload is 
finished, it is moved to the actual location. This is used to prevent 
corrupting an existing script and to let concurrent uploads be performed 
gracefully.

> ../vmail/mydomain.tld/test/dovecot.sieve is missing completely.
> 
The fact that this is missing means that no script is currently active 
(activated using SETACTIVE command). If your 
../vmail/mydomain.tld/test/sieve directory is empty, it means that no 
scripts were uploaded successfully thus far. The LISTSCRIPTS command 
will then list nothing.

Regards,

-- 
Stephan Bosch
stephan at rename-it.nl


More information about the dovecot mailing list