Roundcube Community Forum

 

managesieve not working

Started by rakso, April 11, 2015, 11:59:49 AM

Previous topic - Next topic

rakso

Hello,
the managesieve plugin does not work.

see screenshot attached: roundcube.jpg

If I click on the "filtersätze" I get in the log:

Quote[11-Apr-2015 17:55:30 Europe/Berlin] ERROR: (NONEXISTENT) "Sieve script `IMPLEMENTATION\" \"Dovecot Pigeonhole' not found" (3)
an[11-Apr-2015 18:02:22 Europe/Berlin] ERROR: (NONEXISTENT) "Sieve script `VERSION\" \"1.0' not found" (3)
[11-Apr-2015 18:02:23 Europe/Berlin] ERROR: (NONEXISTENT) "Sieve script `IMPLEMENTATION\" \"Dovecot Pigeonhole' not found" (3)

RC 1.1.1 seems misunderstood something. The filters are created with tunderbird and working fine with dovecot.

And ideas?


Regards

alec

What dovecot/pigeonhole version? Enable managesieve_debug and provide the log.

rakso

Hi!

dovecot-pigeonhole-0.4.7       Sieve plugin for the Dovecot 'deliver' LDA and LMTP
dovecot2-2.2.16_1              Secure, fast and powerful IMAP and POP3 server


2015-04-12 10:41:03 managesieve-login: Info: Login: user=<[email protected]>, method=PLAIN, rip=217.xxx, mpid=96894, TLS, TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits) zlib compression
2015-04-12 10:41:03 managesieve([email protected]): Debug: Added userdb setting: plugin/maildir=domain.xx/redaktion/
2015-04-12 10:41:03 managesieve([email protected]): Debug: Effective uid=130, gid=130, home=/data/maildirs/domain.xx/redaktion
2015-04-12 10:41:03 managesieve([email protected]): Debug: maildir++: root=/data/maildirs/domain.xx/redaktion, index=, indexpvt=, control=, inbox=/data/maildirs/domain.xx/redaktion, alt=
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: Pigeonhole version 0.4.7 initializing
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: include: sieve_global is not set; it is currently not possible to include `:global' scripts.
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file storage: Performing auto-detection
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file storage: Root exists (/data/maildirs/domain.xx/redaktion)
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file storage: Using active Sieve script path: /data/maildirs/domain.xx/redaktion/sieve/.dovecot.sieve
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file storage: Using script storage path: /data/maildirs/domain.xx/redaktion/sieve
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file storage: Using permissions from /data/maildirs/domain.xx/redaktion/sieve: mode=0700 gid=-1
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file storage: Relative path to sieve storage in active link:
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file storage: sync: Synchronization active
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file storage: quota: Storage limit: 10485760 bytes
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file storage: quota: Script count limit: 10 scripts
2015-04-12 10:41:03 managesieve([email protected]): Debug: sieve: file script: Opened script `redaktionsieve' from `/data/maildirs/domain.xx/redaktion/sieve/redaktionsieve.sieve'
2015-04-12 10:41:03 managesieve([email protected]): Info: Disconnected: Logged out bytes=72/2736


its maybe about sieve_global ?


alec

I was talking about the debugging option in Roundcube.

rakso



"IMPLEMENTATION" "Cyrus timsieved v2.2.12"  is faked...


[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "IMPLEMENTATION" "Cyrus timsieved v2.2.12"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "NOTIFY" "mailto"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "SASL" "PLAIN LOGIN"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "STARTTLS"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "VERSION" "1.0"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: OK "mailserver ready"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> C: CAPABILITY
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "IMPLEMENTATION" "Cyrus timsieved v2.2.12"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "NOTIFY" "mailto"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "SASL" "PLAIN LOGIN"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "STARTTLS"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: "VERSION" "1.0"
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: OK "Capability completed."
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> C: STARTTLS
[12-Apr-2015 15:22:55 +0200]: <9ceb1423> S: OK "Begin TLS negotiation now."
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> STARTTLS negotiation successful
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> C: CAPABILITY
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "IMPLEMENTATION" "Cyrus timsieved v2.2.12"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "NOTIFY" "mailto"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "SASL" "PLAIN LOGIN"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "VERSION" "1.0"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: OK "TLS negotiation successful."
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> C: AUTHENTICATE "PLAIN" "AHJlZGFrdGlvbkA3YWt0dWVsbC5kZQBORVdTL3NjaHJlaWJ0aXNjaA=="
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "IMPLEMENTATION" "Cyrus timsieved v2.2.12"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "NOTIFY" "mailto"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "SASL" "PLAIN LOGIN"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "VERSION" "1.0"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: OK "Capability completed."
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> C: CAPABILITY
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: OK "Logged in."
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> C: LISTSCRIPTS
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "IMPLEMENTATION" "Dovecot Pigeonhole"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "MAXREDIRECTS" "20"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "NOTIFY" "mailto"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "VERSION" "1.0"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: OK "Capability completed."
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> C: LISTSCRIPTS
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "redaktionsieve" ACTIVE
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: OK "Listscripts completed."
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> C: GETSCRIPT "redaktionsieve"
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: "redaktionsieve" ACTIVE
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: OK "Listscripts completed."
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> C: LOGOUT
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: {2214}
[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: #
# 2015-3-25

require "fileinto";
require "reject";

[.... my sieve script.... ]


[12-Apr-2015 15:22:56 +0200]: <9ceb1423> S: OK "Getscript completed."



rakso


alec

I have no idea why it responds with two different IMPLEMENTATION strings. Looks like a bug. I propose to change the dovecot config so it does not introduce itself as Cyrus.

rakso

ok, that was the reason. It works now with no-faked implementation string ;)
thanks!