From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.bugs Subject: bug#20561: 24.3; sieve-manage should support starttls Date: Tue, 12 May 2015 18:13:24 +0200 Message-ID: <87fv71vknv.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1431447934 6671 80.91.229.3 (12 May 2015 16:25:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2015 16:25:34 +0000 (UTC) To: 20561@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 12 18:25:20 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YsCzc-0006Wf-RW for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2015 18:25:17 +0200 Original-Received: from localhost ([::1]:43946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsCzc-0005GY-2d for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2015 12:25:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsCzU-0005GF-Va for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 12:25:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsCzP-0005m2-Sp for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 12:25:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsCzP-0005lk-Pt for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 12:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YsCzP-00054S-Aq for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 12:25:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reiner Steib Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 May 2015 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20561 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143144786919436 (code B ref -1); Tue, 12 May 2015 16:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 May 2015 16:24:29 +0000 Original-Received: from localhost ([127.0.0.1]:42585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsCyq-00053Q-JI for submit@debbugs.gnu.org; Tue, 12 May 2015 12:24:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49669) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsCyo-000538-Vu for submit@debbugs.gnu.org; Tue, 12 May 2015 12:24:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsCyR-00059l-RK for submit@debbugs.gnu.org; Tue, 12 May 2015 12:24:21 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsCyR-00055l-KD for submit@debbugs.gnu.org; Tue, 12 May 2015 12:24:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsCoG-00012T-Pe for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 12:13:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsCoB-0001Ca-Lc for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 12:13:32 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:49294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsCoB-0001CA-BJ for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 12:13:27 -0400 Original-Received: from rqn17961lx ([84.168.141.203]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LbuCq-1ZbOuf2Mku-00jKMR for ; Tue, 12 May 2015 18:13:25 +0200 X-Provags-ID: V03:K0:1/EY6zH0y0/ppG9hzrhfZ2Acjfd1GFQUvYmZfsP4PTvLa2UaUAN TIx4+qnUCeXwIv3RHw5XZ/Ek6dSH79z70mMSAYm3zH1caGB/cHnDm05Mnh+jKDRI26WPzZU fcL1wt349iINyCzNOuYokuJFOnxbMMjx5RHF/0zYflMGNW5f/cYQg47pf5+xXVpImRXse6j r5OQGUqnJred3JUrbeSFA== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102712 Archived-At: Hi, AFAICS, sieve-manage.el doesn't support STARTTLS at all. (The comment in sieve-manage.el says it is not well tested - is it tried at all?) ;;; Commentary: ;; This library provides an elisp API for the managesieve network ;; protocol. ;; ;; It uses the SASL library for authentication, which means it ;; supports DIGEST-MD5, CRAM-MD5, SCRAM-MD5, NTLM, PLAIN and LOGIN ;; methods. STARTTLS is not well tested, but should be easy to get to ;; work if someone wants. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': $ emacs -Q -l sieve ;; example from sieve-manage.el ... (with-current-buffer (sieve-manage-open "imap.example.com" 4190) (sieve-manage-authenticate) (sieve-manage-listscripts)) ;; Type C-x C-e ... Debugger entered--Lisp error: (error "Couldn't figure out authenticator for server") signal(error ("Couldn't figure out authenticator for server")) error("Couldn't figure out authenticator for server") sieve-manage-open("imap.example.com" 4190) (set-buffer (sieve-manage-open "imap.example.com" 4190)) (save-current-buffer (set-buffer (sieve-manage-open "imap.example.com" 4190)) (sieve-manage-authenticate) (sieve-manage-listscripts)) (with-current-buffer (sieve-manage-open "imap.example.com" 4190) (sieve-manage-authenticate) (sieve-manage-listscripts)) eval((with-current-buffer (sieve-manage-open "imap.example.com" 4190) (sieve-manage-authenticate) (sieve-manage-listscripts)) nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) ;; Buffer *sieve-manage-log* "IMPLEMENTATION" "Cyrus timsieved v2.4.17" "SASL" "" "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify include envelope body relational regex subaddress copy" "STARTTLS" "UNAUTHENTICATE" OK Bye Reiner In GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on toyol, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.2 LTS Configured using: `configure '--build' 'i686-linux-gnu' '--build' 'i686-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=i686-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t