[CentOS] CentOS 6 and Sieve/Dovecot

Thu Nov 6 08:35:03 UTC 2014
Alexander Dalloz <ad+lists at uni-x.org>

Am 06.11.2014 um 01:08 schrieb Benjamin Smith:

> Nearest I can tell, all should be good. If I copy any of the ~/sieve/*.sieve
> scripts to ~/.dovecot.sieve they work fine, but they just aren't being "seen"
> in the ~/sieve directory. Because of this, I can't manage sieve scripts in a
> user's email client. (EG: KMail)
>
> Am I missing something? As the user:
> [spadmin at edison ~]$ ll
> total 12
> drwx------   8 spadmin spadmin 4096 Nov  6 00:00 Maildir
> drwx------   3 spadmin spadmin 4096 Nov  4 23:46 sieve
> [spadmin at edison ~]$ ll sieve/
> total 12
> -rw------- 1 spadmin spadmin   88 Nov  4 23:46 Knox.sieve
> -rw------- 1 spadmin spadmin   96 Nov  4 23:46 Socrates.sieve
> drwx------ 2 spadmin spadmin 4096 Nov  4 23:46 tmp

So it is just a misunderstanding on your end. The active sieve script 
under ~/sieve must be symlinked to the .dovecot.sieve file.

cd ~
ln -s sieve/Socrates.sieve .dovecot.sieve

Then dovecot will build the bytecode version of the plaintext sieve 
ruleset as ~/.dovecot.svbin.

Alexander