AGAIN: problem with starttls for gmail in the official mail-lib 1.76

Uwe Brauer oub
Sat Oct 14 12:03:35 EDT 2006


This message has been sent August 23 and concerns a problem with
smtpmail in mail-lib 1.76 for the smtp service of gmail.

Hello


My success report some days ago has been premature.

Using smtpmail as shipped with the most recent mail-lib (1.76) does
not work for gmail!!!!
I attach below some part of the lossage and the result of the bug
trace (debug-on-error t).

What does work for me is some old version of smtpmail (I don't
remember from which mail-lib version). The only problem there was that
_after_ sending xemacs got stuck and I had to use *C-g*. After adding 
the lines 
    (catch 'done
      (while response-continue

[snip]

That version of smtpmail works!!! That's why I consider this not as a
problem of smtpmail, but of the xemacs version of it.
I do remember to have seen similar mail on that topic (that is
smtpmail does not work with gmail) a couple of weeks ago, therefore I
think it is of general interest.


There are 2 possibilities.

    -  My setting is not correct

    -  There is a real bug. So could somebody who is responsible of
       mail-lib, check whether on can send with gmail?

Here is my setting:

(setq feedmail-buffer-eating-function 'feedmail-buffer-to-smtpmail
		message-send-mail-function    'feedmail-send-it
		send-mail-function            'feedmail-send-it
        smtpmail-auth-credentials nil
		smtpmail-starttls-credentials nil
		smtpmail-debug-info t
		smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
        smtpmail-auth-credentials '(("smtp.gmail.com" 587 "oub.oub.oub" nil))
		smtpmail-default-smtp-server "smtp.gmail.com" ;before loading smtp
		smtpmail-smtp-server "smtp.gmail.com" ;Version:1.54
		smtpmail-smtp-service 587
		vm-mail-header-from "Uwe Brauer <oub at mat.ucm.es>"
		user-full-name "Uwe Brauer"
		user-mail-address "oub at mat.ucm.es" 
		query-user-mail-address nil 
		mail-default-reply-to "Uwe Brauer <oub at mat.ucm.es>"
        gnus-posting-styles
		'((".*";;default
		   (name "Uwe Brauer")
		   (address "oub at mat.ucm.es")
		   ("BCC" "Uwe Brauer <oub at mat.ucm.es>") ;Version:1.98
		   ("Reply-To" "Uwe Brauer <oub at mat.ucm.es>")))) 

Here is part of my lossage:

--8<------------------------schnipp------------------------->8---
Recent minibuffer messages (most recent first):
Wrote /home/oub/bug-smtpmail-maillib
Entering debugger...
Loading debug...done
Loading debug...
FQM DB: gave it to buffer-eater
221 2.0.0 mx.google.com closing connection m1sm2913992ugc
530 5.7.0 Must issue a STARTTLS command first m1sm2913992ugc
250 ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-SIZE 20971520
250-mx.google.com at your service, [147.96.6.137]
220 mx.google.com ESMTP m1sm2913992ugc
FQM DB: >in-> feedmail-buffer-to-smtpmail (oub at mat.ucm.es)
FQM DB: calling buffer-eater feedmail-buffer-to-smtpmail
FQM DB: >in-> feedmail-give-it-to-buffer-eater
FQM DB: give it to buffer-eater
FQM DB: >in-> feedmail-deduce-address-list ^FROM: nil
FQM DB: >in-> feedmail-deduce-address-list ^SENDER: nil

FQM DB: looking for m-h-s "--text follows this line--"
FQM DB: >in-> feedmail-send-it-immediately
FQM: Immediate send...
FQM DB: >in-> feedmail-message-action-send
FQM: Message action (q, i, d, e, ?)? [queue]: 
FQM DB: >in-> feedmail-queue-send-edit-prompt-inner
FQM DB: >in-> feedmail-queue-send-edit-prompt
FQM DB: >in-> feedmail-send-it
Sending via mail...
Generating hashcash...done
Generating hashcash...
Sending...

--8<------------------------schnapp------------------------->8---

and here comes the bug trace:

Regards

Uwe Brauer 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-smtpmail-maillib
Type: application/octet-stream
Size: 832 bytes
Desc: not available
Url : http://calypso.tux.org/pipermail/xemacs-beta/attachments/20061013/3eac44d3/bug-smtpmail-maillib.obj


More information about the XEmacs-Beta mailing list