Gnus development mailing list
 help / color / mirror / Atom feed
From: Hiroshi Fujishima <hiroshi.fujishima@gmail.com>
Cc: ding@gnus.org
Subject: Re: gnus and smtp auth
Date: Tue, 31 May 2005 11:28:36 +0900	[thread overview]
Message-ID: <7c7jhgxh63.fsf@nature.tsukuba.ac.jp> (raw)
In-Reply-To: <87mzrokrnl.fsf@info.unicaen.fr> (Samir Saidani's message of "Sun, 24 Apr 2005 19:31:42 +0200")

Samir Saidani <saidani@info.unicaen.fr> writes:

> I managed to send mail through smtpmail and without authentification
> with no problems, and I can send mails through smtpmail with
> authentification using gmail (I tried the .gnus here :
> http://web.phys.ntnu.no/~terjeros/gnus-gmail/)
>
> When I replace the .gnus configuration (from terjeros) with the right
> settings, it hangs and there is nothing in smtp debug.

I encountered the same trouble, too. 

In the cause, the behavior of gnutls-cli is of change according to the
value of process-connection-type:

(let ((process-connection-type t))
  (start-process "test" (current-buffer) "gnutls-cli" "-s" "-p" "587" "smtp.gmail.com"))

	Resolving 'smtp.gmail.com'...
	Connecting to '64.233.185.109:587'...
	
	- Simple Client Mode:
	
	220 mx.gmail.com ESMTP d61sm300512wra
	
(let ((process-connection-type nil))
  (start-process "test" (current-buffer) "gnutls-cli" "-s" "-p" "587" "smtp.gmail.com"))

	220 mx.gmail.com ESMTP 33sm823777wra

Since default value of starttls-process-connection-type is nil,
starttls-connect regexp in starttls-open-stream-gnutls() does not
match.  So emacs hangs.  Gnutls version which I use is:

% gnutls-cli --version
GNU TLS test client, version 1.2.4. Libgnutls 1.2.4.

-- 
Hiroshi Fujishima



  parent reply	other threads:[~2005-05-31  2:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-24 17:31 Samir Saidani
2005-04-29  8:38 ` Simon Josefsson
2005-04-29 20:59   ` Samir Saidani
2005-04-30 20:23 ` Steinar Bang
2005-05-31  2:28 ` Hiroshi Fujishima [this message]
2005-05-31  9:12   ` Simon Josefsson
2005-05-31  9:46     ` Hiroshi Fujishima
2005-04-26 21:58 Samir Saidani

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=7c7jhgxh63.fsf@nature.tsukuba.ac.jp \
    --to=hiroshi.fujishima@gmail.com \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).