all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Herbert J. Skuhra" <herbert@mailbox.org>
To: help-gnu-emacs@gnu.org
Subject: sieve-manage hangs while connecting
Date: Tue, 08 Nov 2016 12:37:03 +0100	[thread overview]
Message-ID: <86fun2gq3k.wl-herbert@mailbox.org> (raw)

Hi,

I am running Emacs on FreeBSD 11-STABLE (i386/amd64) and I have a
strange problem with sieve-manage: the connection almost every time
hangs during sieve-manage-authenticate.

- Run 'emacs -q'
- M-x sieve-manage
- Enter imap server (e.g: imap.mailbox.org)
- credentials are stored in ~/.authinfo.gpg (entering them manually
makes no difference)
- Emacs hangs
- With ("setq debug-on-quit t) and pressing C-q I get:

Debugger entered--Lisp error: (quit)
  accept-process-output(#<process SIEVE> 1)
  sieve-sasl-auth(#<buffer  *sieve nil:sieve*> "PLAIN")
  sieve-manage-plain-auth(#<buffer  *sieve nil:sieve*>)
  sieve-manage-authenticate()
  sieve-open-server("imap.mailbox.org" nil)
  sieve-manage("imap.mailbox.org")
  funcall-interactively(sieve-manage "imap.mailbox.org")
  call-interactively(sieve-manage record nil)
  command-execute(sieve-manage record)
  execute-extended-command(nil "sieve-manage" "sieve-ma")
  funcall-interactively(execute-extended-command nil "sieve-manage" "sieve-ma")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

- In sieve-manage-log the last lines are:

OK "TLS negotiation successful."
AUTHENTICATE "PLAIN" "..."

- After pressing Q in sieve buffer the following lines are added to
  sieve-manage-log:

LOGOUT
"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 index ihave duplicate vacation-seconds imapflags notify vnd.dovecot.pgp-encrypt"
"NOTIFY" "mailto"
"SASL" "PLAIN LOGIN"
"VERSION" "1.0"
OK "Capability completed."
OK "Logged in."
OK "Logout completed."
Process SIEVE connection broken by remote peer

Any ideas how to debug/fix this?

Thanks.

--
Herbert



             reply	other threads:[~2016-11-08 11:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08 11:37 Herbert J. Skuhra [this message]
2016-11-13 23:33 ` sieve-manage hangs while connecting Herbert J. Skuhra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86fun2gq3k.wl-herbert@mailbox.org \
    --to=herbert@mailbox.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.