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: Mon, 13 Jul 2015 17:29:30 +0200 Message-ID: References: <83wpy589dg.fsf@gnu.org> <83si8t87tc.fsf@gnu.org> <83k2u485s0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1436801398 2857 80.91.229.3 (13 Jul 2015 15:29:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2015 15:29:58 +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 Mon Jul 13 17:29:57 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 1ZEfg4-0004S8-Rm for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 17:29:56 +0200 Original-Received: from localhost ([::1]:55368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEfg4-00078h-CA for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 11:29:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEffo-000767-71 for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 11:29:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEffn-0003zP-8Z for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 11:29:40 -0400 Original-Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:34899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEfff-0003h6-Eq; Mon, 13 Jul 2015 11:29:31 -0400 Original-Received: by lblf12 with SMTP id f12so57498163lbl.2; Mon, 13 Jul 2015 08:29:30 -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:content-transfer-encoding; bh=GRQYUPmgjVKAQ6hz4RRgoTj1qEyON61cx/i+eiuTh9o=; b=jR6P04LPChnGgTmHjHfNZKx/8WOTDFb5wS65S3zZihAVo4XXxLBw4RmVBuDSE1emol zqPvMfHT/ZBfOlkUkqjSpShMuUn6GxzkDCEUqndXRVEyI2hPbdmaN4STSeNnLBTBYehx hLwxFXcPZ0XCcmgBkbLbt0iORDQ3cGCQmY/l3sSkanQW9D5g6zppMM5OcKGQFb+QaqU3 M11vIllSKpARpk7WThHprNsRRdYhkUgWNezKXQ4Lc/jXkCyr7McH6C/yDxFzu+r1Cvra 0Idf+9qNPapx4G2PQAWF6jdw+xpVhACcXmt7Q6OVoiBEFjZzndyKXn5l1xkcyONWyfcT w6ww== X-Received: by 10.152.30.4 with SMTP id o4mr31947156lah.74.1436801370576; Mon, 13 Jul 2015 08:29:30 -0700 (PDT) Original-Received: by 10.112.46.165 with HTTP; Mon, 13 Jul 2015 08:29:30 -0700 (PDT) In-Reply-To: <83k2u485s0.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::235 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:105691 Archived-At: >> > Is smtpmail-send-it at all invoked in this scenario? Or does the >> > failure happen before it is called? >> > >> >> I've tried `edebug-defun' on `smtpmail-send-it' and it throws me there >> every time I try to send a message, so it must happen after that. In >> any case, `smtpmail' debug facilities didn't provide any info (the >> trace buffer is empty). What do we do now? > > I'd start with setting debug-on-error non-nil, so that the Lisp > backtrace could show which function errors out. > Here is the result: Debugger entered--Lisp error: (file-error "make client process failed" "Connection timed out" :name "smtpmail" :buffer # :host "mail.gandi.net" :service 587) make-network-process(:name "smtpmail" :buffer # :host "mail.gandi.net" :service 587) network-stream-open-starttls("smtpmail" # "mail.gandi.net" 587 (:type nil :return-list t :warn-unless-encrypted nil :capability-command "EHLO G75VW \n" :end-of-command "^[0-9]+ .* \n" :success "^2.*\n" :always-query-capabilities t :starttls-function #[(capabilities) "\301\302=08\"\205 open-network-stream("smtpmail" # "mail.gandi.net" 587 :type nil :return-list t :warn-unless-encrypted nil :capability-command "EHLO G75VW \n" :end-of-command "^[0-9]+ .* \n" :success "^2.*\n" :always-query-capabilities t :starttls-function #[(capabilities) "\301\302=08\"\205=08=08 smtpmail-via-smtp(("...@...") #) smtpmail-send-it() message-multi-smtp-send-mail() gnus-agent-send-mail() message-send-mail(nil) message-send-via-mail(nil) message-send(nil) message-send-and-exit(nil) funcall-interactively(message-send-and-exit nil) call-interactively(message-send-and-exit nil nil) command-execute(message-send-and-exit)