info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMPT no longer works in Starttls upon upgrading from emacs-22.3-bin-


From: Benjamin L. Russell
Subject: Re: SMPT no longer works in Starttls upon upgrading from emacs-22.3-bin-i386 to emacs-23.1-bin-i386 on Windows XP Professional, Service Pack 3.
Date: Thu, 03 Sep 2009 21:57:31 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

DekuDekuplex@Yahoo.com (Benjamin L. Russell) writes:

> DekuDekuplex@Yahoo.com (Benjamin L. Russell) writes:
>
>> I copied starttls.el directly without installing gnutils, which is more
>> difficult to install on Windows than on Linux/UNIX.
>
> Actually, I just installed GnuTLS using the Windows installer
> executable (gnutls-2.9.3.exe), downloaded from "Index of /gnutls4win"
> (see http://josefsson.org/gnutls4win/); however, the bug persists.
>
> Do I need to reboot Windows?
>
> Here is my the relevant portion from my .gnus.el file:
>
>> (setq send-mail-function 'message-send-mail-with-sendmail)
>
>> (setq message-send-mail-function 'message-send-mail-with-sendmail)
>
>> (add-to-list 'gnus-secondary-select-methods '(nnml ""))
>
>> (setq gnus-permanently-visible-groups "mail")
>
>> (setq mail-sources                                   
>>       '((file :path "c:/var/mail/benjamin")
>>      ))
>
>> ;; Configure outbound mail (SMTP)
>> (setq smtpmail-starttls-credentials '(("plus.smtp.mail.yahoo.com" 587 nil 
>> nil))
>>       smtpmail-smtp-server "plus.smtp.mail.yahoo.com"
>>       smtpmail-default-smtp-server "plus.smtp.mail.yahoo.com"
>>       send-mail-function 'smtpmail-send-it
>>       message-send-mail-function 'smtpmail-send-it
>>       smtpmail-smtp-service 587
>>       smtpmail-auth-credentials '(("plus.smtp.mail.yahoo.com"
>>                                 587
>>                                 "dekudekuplex@yahoo.com"
>>                                 nil)))
>
> Any ideas on the cause of the error, and a solution thereof?

When I renamed C:\bin\emacs-23.1 to C:\bin\emacs, the previous error
message went away, only to be replaced by the following error message:

> Sending via mail...
> Opening STARTTLS connection to `plus.smtp.mail.yahoo.com'...done
> 220 smtp110.prem.mail.sp1.yahoo.com ESMTP
> 250-smtp110.prem.mail.sp1.yahoo.com
> 250-AUTH LOGIN PLAIN XYMCOOKIE
> 250-PIPELINING
> 250 8BITMIME
> 235 OK, go ahead
> 250 OK , completed
 [4 times]
> 354 Start Mail. End with CRLF.CRLF
> 451 Invalid Smtp line - Should end with CRLF
> smtpmail-send-command: writing to process: invalid argument, SMTP

Here are the modified settings in my .gnus.el file:

> (setq send-mail-function 'message-send-mail-with-sendmail)

> (setq message-send-mail-function 'message-send-mail-with-sendmail)

> ; The following settings were adapted from the article "Re: Debugging msmtp 
> in gnus," by Sivaram Neelakantan <nsivaram.net@gmail.com>, dated "Wed, 02 Sep 
> 2009 22:36:12 +0530," on gnu.emacs.gnus
> (setq sendmail-program "c:/cygwin/usr/sbin/msmtp")
> (setq message-sendmail-extra-arguments '("-a" "xxxxxx"))
> (setq smtpmail-debug-info t) ; only to debug problems set to t if needed
> (setq smtpmail-debug-verb t)

> (setq starttls-use-gnutls t)

> (setq starttls-gnutls-program "c:/Program 
> Files/GnuTLS-2.9.3/bin/gnutls-cli.exe")

Any ideas?

-- Benjamin L. Russell
-- 
Benjamin L. Russell  /   DekuDekuplex at Yahoo dot com
http://dekudekuplex.wordpress.com/
Translator/Interpreter / Mobile:  +011 81 80-3603-6725
"Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^ 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]