[Dovecot] Problems getting Squirrelmail and Avelsieve to connect to Pigeonhole
Hi,
I have been going around in circles trying to find the solution. Many others appear to have the same problem, but never a solution or explanation.
I am running Dovecot 2.0.21 under Fedora 16.
All components are running on the same server, whose IP address is shown as '192.168.x.y'.
The dovecot -n output is: <quote>
/SSH Secure Shell 3.2.0 (Build 267)/
/Copyright (c) 2000-2002 SSH Communications Security Corp -
http://www.ssh.com//
/This copy of SSH Secure Shell is a non-commercial version./
/This version does not include PKI and PKCS #11 functionality./
/Last login: Sun Oct 6 17:00:08 2013 from 192.168.2.196/
/[root@nsi-server2 ~]# /usr/sbin/dovecot -n/
/# 2.0.21: /etc/dovecot/dovecot.conf/
/# OS: Linux 3.6.11-4.fc16.x86_64 x86_64 Fedora release 16 (Verne) /
/auth_debug_passwords = yes/
/auth_verbose = yes/
/auth_verbose_passwords = plain/
/log_path = /var/log/mail/dovecot.log/
/mail_access_groups = mail/
/mail_location = mbox:~/mail:INBOX=/var/mail/%u/
/managesieve_notify_capability = mailto/
/managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave/
/mbox_write_locks = fcntl/
/passdb {/
/ driver = pam/
/}/
/passdb {/
/ args = /etc/dovecot/users/
/ driver = passwd-file/
/}/
/plugin {/
/ sieve = ~/.dovecot.sieve/
/ sieve_dir = ~/sieve/
/ sieve_global_path = /var/lib/dovecot/sieve/default.sieve/
/}/
/protocols = imap pop3 sieve sieve/
/service imap-login {/
/ inet_listener imap {/
/ address = 192.168.x.y,localhost/
/ }/
/ inet_listener imaps {/
/ address = 192.168.x.y/
/ }/
/}/
/service managesieve-login {/
/ inet_listener sieve {/
/ port = 4190/
/ }/
/}/
/service pop3-login {/
/ inet_listener pop3 {/
/ address = 192.168.x,y,localhost/
/ }/
/ inet_listener pop3s {/
/ address = 192.168.x.y/
/ }/
/}/
/ssl_cert = </etc/pki/dovecot/certs/dovecot.pem/
/ssl_key = </etc/pki/dovecot/private/dovecot.pem/
/userdb {/
/ driver = passwd/
/}/
/userdb {/
/ args = /etc/dovecot/users/
/ driver = passwd-file/
/}/
</quote>
On attempting to connect to the managesieve port from Squirrelmail, using the 'Filter' button i get the following error message:
/*Could not log on to timsieved daemon on your IMAP server localhost.*/
/*Please contact your administrator*/
Running/*# /usr/sbin/ngrep -d lo port 4190 */produces the following trace: <quote>
/[root@nsi-server root]# /usr/sbin/ngrep -d lo port 4190/
/interface: lo (127.0.0.0/255.0.0.0)/
/filter: (ip or ip6) and ( port 4190 )/
/####/
/T 127.0.0.1:4190 -> 127.0.0.1:35495 [AP]/
/ "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.".. /
/##/
/T 127.0.0.1:35495 -> 127.0.0.1:4190 [AP]/
/ AUTHENTICATE "PLAIN" \{28+}.. /
/##/
/T 127.0.0.1:35495 -> 127.0.0.1:4190 [AP]/
/c3RldmUAc3RldmUAbWFnaWNsaWs=.. /
/##/
/T 127.0.0.1:4190 -> 127.0.0.1:35495 [AP]/
/ NO "Invalid characters in atom"..NO "Error in MANAGESIEVE command
received by server.".. /
/###/
</quote>
I hope that someone can provide a way to get the filter management working as I am more that happy with the way Dovecot and Squirrelmail are working, but just want to add server-side filtering, especially tagged mail produced by Spamassassin :)
Many thanks
Steve
On 10/6/2013 9:01 PM, Steve wrote:
Running/*# /usr/sbin/ngrep -d lo port 4190 */produces the following trace:
/##/ /T 127.0.0.1:35495 -> 127.0.0.1:4190 [AP]/ / AUTHENTICATE "PLAIN" \{28+}.. / /##/ /T 127.0.0.1:35495 -> 127.0.0.1:4190 [AP]/ /c3RldmUAc3RldmUAbWFnaWNsaWs=.. / /##/ /T 127.0.0.1:4190 -> 127.0.0.1:35495 [AP]/ / NO "Invalid characters in atom"..NO "Error in MANAGESIEVE command received by server.".. / /###/
I hope that someone can provide a way to get the filter management working as I am more that happy with the way Dovecot and Squirrelmail are working, but just want to add server-side filtering, especially tagged mail produced by Spamassassin :)
I was a bit confused by what your screen dump looks like with all those slashes, so initially I didn't notice one strange slash that is actually causing this phenomenon. I went as far as installing 2.0.21 with Pigeonhole 0.2.6 to reproduce this, only to find out that I couldn't.
But.. when I copied this literally into my manual ManageSieve telnet session:
AUTHENTICATE "PLAIN" \{28+}
it failed in the same manner. The reason is quite obvious: this is not a valid ManageSieve command. That '\' is not supposed to be there.
So, it looks like AvelSieve is severely broken.
Regards,
Stephan.
participants (2)
-
Stephan Bosch
-
Steve