From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Shukaev Newsgroups: gmane.emacs.help Subject: Re: Can't send e-mail via `smtpmail' Date: Tue, 14 Jul 2015 22:40:37 +0200 Message-ID: References: <83wpy589dg.fsf@gnu.org> <83si8t87tc.fsf@gnu.org> <83380s82g2.fsf@gnu.org> <831tgc821n.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1436906469 4895 80.91.229.3 (14 Jul 2015 20:41:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jul 2015 20:41:09 +0000 (UTC) Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 14 22:41:02 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 1ZF70e-0008KE-Ci for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jul 2015 22:41:00 +0200 Original-Received: from localhost ([::1]:32949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF70d-00028f-Bv for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jul 2015 16:40:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF70R-00028X-1y for help-gnu-emacs@gnu.org; Tue, 14 Jul 2015 16:40:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZF70P-0004bZ-DY for help-gnu-emacs@gnu.org; Tue, 14 Jul 2015 16:40:46 -0400 Original-Received: from mail-lb0-x244.google.com ([2a00:1450:4010:c04::244]:35244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF70J-0004W6-Ba; Tue, 14 Jul 2015 16:40:39 -0400 Original-Received: by lbvb1 with SMTP id b1so930681lbv.2; Tue, 14 Jul 2015 13:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8S0jyIwls3pDZV/ZZqm6vqnE4Z2xUIV5qL4JJM19VVk=; b=D+aQGJFtGlk/ZPh0bbgjEl3cw6UGTqTviy/ewqeMuUinbFyVcaIIStT8K2k24w/XbA b03xrwCYHBhMLLvaTrSjcFTB13qB7rWskBcu8WZM3GraeIca2HbuwqRYepQFrD2sQO39 3lxxUJS3Zi8C+Gig57nOoPK5W9HqA1B5ees2DxJbL8fdkTSWCsjQKnMth3KhvRwmzZy9 JFEk+54jOu0MkwKz+F1nGiRgHV+045arqR/rpzcd8GuZz2yNopng6YuhT6db7FbcJbm/ m/Az+zkmygTpJ1WJ9O2JXxVIoMijIHFlIcCe7mauQPM68I32dyRGWHn4vW0ChB8on/ri Isbg== X-Received: by 10.152.164.193 with SMTP id ys1mr450964lab.65.1436906437757; Tue, 14 Jul 2015 13:40:37 -0700 (PDT) Original-Received: by 10.112.46.165 with HTTP; Tue, 14 Jul 2015 13:40:37 -0700 (PDT) In-Reply-To: <831tgc821n.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::244 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:105720 Archived-At: >> Date: Mon, 13 Jul 2015 19:09:01 +0300 >> From: Eli Zaretskii >> >> > Date: Mon, 13 Jul 2015 15:29:17 +0200 >> > From: Alexander Shukaev >> > Cc: help-gnu-emacs >> > >> > Tried with the 'gnutls-cli': >> > >> > $ gnutls-cli --verbose --starttls --tofu -p 587 mail.gandi.net >> > Processed 161 CA certificate(s). >> > Resolving 'mail.gandi.net'... >> > Connecting to '217.70.184.11:587'... >> > Connecting to '2001:4b98:c:521::11:587'... >> > Could not connect to 2001:4b98:c:521::11:587: Connection refused > ^^^^^^^^^^^^^^^^^^^ > Btw, the above is an IPv6 address, whereas my port of GnuTLS only > supports IPv4. Maybe that's the problem here. (I know nothing about > these issues.) > It's amazing... Today I'm in another city. I didn't change anything in my configuration, only the internet end-point from where I send e-mails, and now it works: $ gnutls-cli --verbose --starttls --tofu -p 587 mail.gandi.net Processed 161 CA certificate(s). Resolving 'mail.gandi.net'... Connecting to '217.70.184.11:587'... - Simple Client Mode: - Received[40]: 220 relay.mail.gandi.net ESMTP Postfix EHLO - Sent: 5 bytes - Received[27]: 501 Syntax: EHLO hostname QUIT - Sent: 5 bytes - Received[15]: 221 2.0.0 Bye - Peer has closed the GnuTLS connection Similarly, sending with `smtpmail' works as well. Kek, how come? Something wrong with DNS at the previous place?