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

Uwe Brauer oub at mat.ucm.es
Wed Aug 23 06:05:45 EDT 2006


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---
Wrote /home/oub/bug-smtp-mail-lib1.76
A buffer is visiting /home/oub/bug-smtp-mail-lib1.76; proceed? (y or n) Yes
A buffer is visiting /home/oub/bug-smtp-mail-lib1.76; proceed? (y or n) 
A buffer is visiting /home/oub/bug-smtp-mail-lib1.76; proceed? 
File `~/bug-smtp-mail-lib1.76' exists; overwrite? (y or n) Yes
File `~/bug-smtp-mail-lib1.76' exists; overwrite? (y or n) 
Entering debugger...
FQM DB: gave it to buffer-eater
221 2.0.0 mx.gmail.com closing connection p4sm85170qba
530 5.7.0 Must issue a STARTTLS command first p4sm85170qba
250 ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-SIZE 20971520
250-mx.gmail.com at your service, [81.35.5.176]
--8<------------------------schnapp------------------------->8---

and here comes the bug trace:

Regards

Uwe Brauer 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-smtp-mail-lib1.76
Type: application/octet-stream
Size: 1978 bytes
Desc: not available
Url : http://lists.xemacs.org/pipermail/xemacs-beta/attachments/20060823/0717a079/bug-smtp-mail-lib1.obj


More information about the XEmacs-Beta mailing list