From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: Re: Dynamically switching send-mail settings Date: Tue, 17 Feb 2015 21:10:58 -0500 Message-ID: <878ufwotot.fsf@gmail.com> References: <87d25khy5u.fsf@robertthorpeconsulting.com> <87y4o7znff.fsf@building.gnus.org> <87iofbuvlr.fsf@gmail.com> <87mw4caucd.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424225483 29020 80.91.229.3 (18 Feb 2015 02:11:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2015 02:11:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Robert Thorpe To: Lars Ingebrigtsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 03:11:22 2015 Return-path: Envelope-to: geh-help-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 1YNu6j-0003oY-6k for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Feb 2015 03:11:21 +0100 Original-Received: from localhost ([::1]:48097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNu6i-0007hk-F7 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Feb 2015 21:11:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNu6U-0007go-9b for help-gnu-emacs@gnu.org; Tue, 17 Feb 2015 21:11:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNu6P-0002dH-G8 for help-gnu-emacs@gnu.org; Tue, 17 Feb 2015 21:11:06 -0500 Original-Received: from mail-qg0-x22e.google.com ([2607:f8b0:400d:c04::22e]:50972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNu6P-0002d3-Bj for help-gnu-emacs@gnu.org; Tue, 17 Feb 2015 21:11:01 -0500 Original-Received: by mail-qg0-f46.google.com with SMTP id z107so30913117qgd.5 for ; Tue, 17 Feb 2015 18:11:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=rBFibnkx/FIPWQBw4JNgjN8PRpKswt4XACo9hNnhvv0=; b=hIxDMssiuRjmbQw9yHRDcaVi98g0boXtMbdTApHlG4J4PgvTpn+fspnvTWXqRoEpr/ Kca+3oQX0YVtmGe58SL+FQ8tyGRUIXZbr3Osp9jzrwcGav8G0dZfRi29RWoMSUG7Qm4a eGaAZW2672Ve9XLdy8PJiNZ6TbrcJCgascIeW4Jyj5DndEUOwFWHl/V4bNFvrBaF1kv6 pT1wJ1dVmiBmUtE8QAXKv6EJofka6wTP7WXcUMG3VUC0KA03ujMc3gPAsVGYH42UW50U BAdVnDo38QzysMoc43u5uPBSJW5SMmo05jUcGKBylKqoB7jQ+r3rdKy8SnpFCHzzsMT5 /Zaw== X-Received: by 10.140.145.4 with SMTP id 4mr2863986qhr.52.1424225460908; Tue, 17 Feb 2015 18:11:00 -0800 (PST) Original-Received: from localhost.localdomain ([2601:0:a640:1577:ee55:f9ff:feb5:5589]) by mx.google.com with ESMTPSA id v6sm7231562qah.19.2015.02.17.18.10.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Feb 2015 18:10:59 -0800 (PST) In-Reply-To: <87mw4caucd.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Wed, 18 Feb 2015 12:20:34 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c04::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102776 Archived-At: Thanks. I was able to fix this as part of a veritable ordeal. I'm not sure which things fixed this particular problem (I was trouble shooting various things at once), but steps included: - Building emacs with gnutls support (which I hadn't originally realized wasn't being done) - Ensuring that there were no blank lines separating authinfo entries - Validating that my email-switching functions were on the correct sendmail hooks - Ensuring that I was using consistent smtp-server port numbers between the .gnus config and the .authinfo entries Lars Ingebrigtsen writes: > torys.anderson@gmail.com (Tory S. Anderson) writes: > >> gnutls.c: [1] (Emacs) non-fatal error: Resource temporarily >> unavailable, try again. [11798 times] >> gnutls.c: [audit] Received record packet of unknown type 50 >> >> gnutls.c: [0] (Emacs) fatal error: An unexpected TLS packet was received. >> gnutls.el: (err=[-15] An unexpected TLS packet was received.) >> boot: (:priority NORMAL :hostname mail.toryanderson2.com :loglevel 1 >> :min-prime-bits 256 :trustfiles (/etc/pki/tls/certs/ca-bundle.crt) >> :crlfiles nil :keylist nil :verify-flags nil :verify-error nil >> :callbacks nil) > > I think this probably means that the SMTP server is closing the > connection for some reason or other. Try setting `smtpmail-debug-info' > and look in the trace buffer to see whether it has anything interesting > to say.