On Wed, Oct 13 2010, Ludovic Courtès wrote: > ‘sieve-manage’ fails for me: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > string-match("DIGEST-MD5" nil) > sieve-manage-capability("SASL" "DIGEST-MD5" " *sieve* imap.example.com:2000") > sieve-manage-digest-md5-p(" *sieve* imap.example.com:2000") > sieve-manage-open("imap.example.com") > sieve-open-server("imap.example.com" nil) > sieve-manage("imap.example.com") > call-interactively(sieve-manage t nil) > execute-extended-command(nil) > call-interactively(execute-extended-command nil nil) I've fixed that bug recently. But maybe you use an older version. > Connecting to that server on port 2000 shows this: > > Connected to imap.example.com. > Escape character is '^]'. > "IMPLEMENTATION" "dovecot" > "SASL" "" This is not valid. The server is saying there's no way to SASL method to authenticate with. > Any idea what could go wrong or how I should proceed to debug further? > It seems to be trying to use SASL, which isn’t supported by this server. Just put: disable_plaintext_auth = no in dovecot.conf. It will then tells you: "SASL" "PLAIN" And things will work. You can also put other authentification mechanisms such as CRAM-MD5, etc, in auth default { mechanisms = … } in dovecot.conf. I did not had the time to play with that yet however, but it should also work with sieve-manage. -- Julien Danjou // ᐰ http://julien.danjou.info