"Did not specify legal script data length".
sieve_maxscriptsize in the imapd.conf file. Login as root (perhaps you'll need root privileges, you know better as every Linux installation may have users and privileges configured differently) and type:
find / -name imapd.conf
nano /...(path returned after search above).../imapd.conf
sieve_maxscriptsize value. I assigned 128 to this variable, it should work OK for you as well. Then simply press CTRL-X, confirm saving and filename. If you, for some reason, still cannot asscess the filters folder, or if you're given an error, restart the httpd server or SpamAssassin, or both of them :) . So in the end you'll have a line like this in your imapd.conf:
sieve_maxscriptsize: 128
12 July 2010
©Jan Hvizdak 2009, all rights reserved
Document last modified on Sun Jul 11 21:14:12 MDT 2010.