From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79534 Path: news.gmane.org!not-for-mail From: George McNinch Newsgroups: gmane.emacs.gnus.general Subject: problem sending drafts Date: Fri, 22 Jul 2011 13:31:05 -0400 Message-ID: <877h7ab4ti.fsf@gmail.com> Reply-To: George McNinch NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311355979 9596 80.91.229.12 (22 Jul 2011 17:32:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2011 17:32:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27830@lists.math.uh.edu Fri Jul 22 19:32:51 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QkJak-000687-B7 for ding-account@gmane.org; Fri, 22 Jul 2011 19:32:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QkJZV-0001Dp-Nd; Fri, 22 Jul 2011 12:31:33 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QkJZT-0001Dd-Vx for ding@lists.math.uh.edu; Fri, 22 Jul 2011 12:31:31 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QkJZP-0006KW-SZ for ding@lists.math.uh.edu; Fri, 22 Jul 2011 12:31:29 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QkJZN-0004UP-R6 for ding@gnus.org; Fri, 22 Jul 2011 19:31:25 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QkJZK-0005X7-6Q for ding@gnus.org; Fri, 22 Jul 2011 19:31:22 +0200 Original-Received: from 209-6-122-78.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com ([209.6.122.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2011 19:31:22 +0200 Original-Received: from gmcninch by 209-6-122-78.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2011 19:31:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 98 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 209-6-122-78.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com User-Mail-Address: gmcninch@gmail.com User-Full-Name: George McNinch User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:ZtJDv/afYvN0QE7hwNmH2PgXbd0= X-Spam-Score: -5.2 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79534 Archived-At: Hi-- I'm using "recent gnus" via git, and I'm having some trouble sending drafts. Well, the drafts do get sent, but gnus subsequently hangs until I `C-g'. I have two gmail imap accounts ,---- | (nnimap "personal" | (nnimap-address "imap.gmail.com") | (nnimap-inbox "INBOX") | (nnimap-stream ssl) | ) | (nnimap "gmail-tufts" | (nnimap-address "imap.gmail.com") | (nnimap-inbox "INBOX") | (nnimap-stream ssl) | ) `---- I send mail as follows: ,---- | ;; use msmtp to send mail | (setq message-send-mail-function 'message-send-mail-with-sendmail) | (setq sendmail-program "msmtp") `---- And I have gnus-posting-styles set with the following ,---- | (setq gnus-posting-styles | '( | (".*" | (eval (setq message-sendmail-extra-arguments '("-a" "gmcninch-gmail"))) | | ) | ("tufts" | (eval (setq message-sendmail-extra-arguments '("-a" "gmcninch-tufts"))) | | ) | )) `---- where "gmcninch-gmail" and "gmcninch-tufts" are accounts defined in ~/.msmtprc If I start composing a message in gnus, save it (`C-x C-s'), and then try to send it, the mail is indeed sent, but then gnus seems to hang trying to make some connection, as shown in these *Messages*: For mail composed/sent as "gmcninch-gmail" ,---- | Sending... | Sending via mail... | Sending...done | Opening connection to personal via tls... | Opening TLS connection to `personal'... | Opening TLS connection with `gnutls-cli --insecure -p imaps personal'... | Quit [2 times] `---- and for mail composed/sent as "gmcninch-tufts" ,---- | Sending... | Sending via mail... | Sending...done | Opening connection to gmail-tufts via tls... | Opening TLS connection to `gmail-tufts'... | Opening TLS connection with `gnutls-cli --insecure -p imaps gmail-tufts'... | Quit `---- In both cases the Quit(s) are the result of me `C-g'-ing because gnus was hung. I'm actually a little confused why gnus is trying to make a connection then at all. The variable gnus-message-archive-group is set to ,---- | (add-to-list 'gnus-message-archive-group | (list "gmail-tufts" "nnimap+gmail-tufts:[Gmail]/Sent Mail")) `---- so in one case maybe the connection is an attempt to archive the mail, and it is hanging (but that archiving seems to be unaffected by the hang-up). best, george -- George McNinch http://gmcninch.math.tufts.edu