Hello!

Benny Pedersen <[email protected]> schrieb am 14.09.17 um 15:47:54 Uhr:

> Andreas Meyer skrev den 2017-09-14 15:18:
> 
> > How do I set the location of sievescripts in roundcube?  
> 
> roundcube use server side sieve locations for scripts via sieve protocol 
> just like imap protocol, so it makes no sense to have local sieve 
> scripts location in roundcube, same way as roundcube is not a email 
> storage like pop3 client :=)
> 
> if you need more help with managesieve plugin in roundcube ask for this 
> so
> 
> cc since i like to know if none recieve my postings on maillist, 
> becourse kolabsys breaks dkim :(

This is the 90-sieve.conf

plugin {
sieve = ~/Maildir/.dovecot.sieve
sieve_dir = ~/Maildir/sieve
}

# ls -l /home/andreas/Maildir
insgesamt 80
drwx------ 2 andreas andreas    66 14. Sep 16:18 cur
-rw------- 1 andreas andreas   244 12. Sep 21:54 dovecot.index
-rw------- 1 andreas andreas  2660 14. Sep 16:18 dovecot.index.cache
-rw------- 1 andreas andreas 19108 14. Sep 16:19 dovecot.index.log
-rw------- 1 andreas andreas 32784 12. Sep 21:54 dovecot.index.log.2
-rw------- 1 andreas andreas    96  9. Sep 23:43 dovecot.mailbox.log
-rw------- 1 andreas andreas   107 14. Sep 16:18 dovecot-uidlist
-rw------- 1 andreas andreas     8  9. Sep 23:51 dovecot-uidvalidity
-r--r--r-- 1 andreas andreas     0  9. Sep 23:41 dovecot-uidvalidity.59b46010
drwx------ 2 andreas andreas     6 14. Sep 16:18 new
drwx------ 3 andreas andreas    81 14. Sep 16:16 sieve
-rw------- 1 andreas andreas    24  9. Sep 23:43 subscriptions
drwx------ 2 andreas andreas     6 14. Sep 15:51 tmp

# ls -l /home/andreas/Maildir/sieve
insgesamt 8
-rw------- 1 andreas andreas  97 14. Sep 16:16 
erste_sieve-regel_zum_testen.sieve
-rw------- 1 andreas andreas 483 14. Sep 13:27 managesieve.sieve
drwx------ 2 andreas andreas   6 14. Sep 16:16 tmp

Connected to amimanera.de.
Escape character is '^]'.
"IMPLEMENTATION" "Dovecot Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation subaddress 
comparator-i;ascii-numeric relational regex imap4flags copy include variables 
body enotify environment mailbox date ihave"
"NOTIFY" "mailto"
"SASL" "PLAIN"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot ready."
AUTHENTICATE "PLAIN" "AGFuZHxXxXMAIWFuPw=="
OK "Logged in."
listscripts
"erste_sieve-regel_zum_testen"
"managesieve"
OK "Listscripts completed."
PUTSCRIPT "erste_sieve-regel_zum_testen" {97+}
if header :comparator "i;ascii-casemap" :contains "Subject" "p0rn"  {
    discard;
    stop;
}
OK "PUTSCRIPT completed."

But when i loggin to roundcube and choose preferences/filer, it creates a new 
folder
Maildir with contents

# ls -al
insgesamt 4
drwx------  3 andreas andreas   39 14. Sep 16:29 .
drwx------ 11 andreas andreas 4096 14. Sep 16:29 ..
lrwxrwxrwx  1 andreas andreas   23 14. Sep 16:29 .dovecot.sieve -> 
sieve/managesieve.sieve
drwx------  3 andreas andreas   40 14. Sep 16:29 sieve

It's not clear to me, why the settings in 90-sieve.conf are ok for
telneting to the server and not for roundcube.

It must be a thing with the relative paths.

Greetings

  Andreas

Attachment: pgpWWh5qG9AsE.pgp
Description: Digitale Signatur von OpenPGP

_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to