Gnus development mailing list
 help / color / mirror / Atom feed
From: Easior Lars <easior@126.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: ding@gnus.org
Subject: Re: how to configure smtp of ms live mail for gnus
Date: Sat, 15 Mar 2014 13:46:04 +0800	[thread overview]
Message-ID: <87a9cs580z.fsf@126.com> (raw)
In-Reply-To: <87eh2bfkx7.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Sun, 09 Mar 2014 16:31:32 +0100")

>>>>> "LI" == Lars Ingebrigtsen <larsi@gnus.org> writes:

    LI> Easior Lars <easior@126.com> writes:
    >>  hi, guys!
    >> 
    >>  I have a problem in setting up the smtp configuration of microsoft
    >>  Live mail in gnus. After I use the following 
    >> 
    >>     ,-----------------------------------------
    >>     | (setq smtpmail-stream-type 'plain
    >>     |       smtpmail-smtp-server smtp.live.com

    LI> That should be a string...

    >>  it report error as an unexpect tls packect when message is sent by
    >>  live smtp server. Therefore, I change the configuration into
    >> 
    >>     ,-----------------------------------------
    >>     | (setq smtpmail-stream-type 'ssl
    >>     |       smtpmail-smtp-server smtp.live.com
    >>     |       smtpmail-smtp-service 485 ; or 587
    >>     |       smtpmail-smtp-user xxxx)
    >>     `-----------------------------------------

    LI> You shouldn't really need to set anything.  Emacs will ask you what
    LI> server to use when you send messages.  (That is, in Emacs 24.)

It's necessary to me since I have to switch among multiple smtp
server before sending mails. After I try it again today, backtrace
give me the following information:
------------------------x-----------------------x----------------------------
 entered--Lisp error: (gnutls-error #<process smtpmail> -15)
  signal(gnutls-error (#<process smtpmail> -15))
  gnutls-negotiate(:process #<process smtpmail> :type gnutls-x509pki :hostname "smtp.live.com")
  open-gnutls-stream("smtpmail" #<buffer *trace of SMTP session to smtp.live.com*> "smtp.live.com" 587)
  network-stream-open-tls("smtpmail" #<buffer *trace of SMTP session to smtp.live.com*> "smtp.live.com" 587 (:type ssl :return-list t :capability-command "EHLO Arcadia\n" :end-of-command "^[0-9]+ .*\n" :success "^2.*\n" :always-query-capabilities t :starttls-function #[(capabilities) "\301\302\b\"\205\b\303\207" [capabilities string-match "[ -]STARTTLS" "STARTTLS\n"] 3] :client-certificate t :use-starttls-if-possible t))
  open-network-stream("smtpmail" #<buffer *trace of SMTP session to smtp.live.com*> "smtp.live.com" 587 :type ssl :return-list t :capability-command "EHLO Arcadia\n" :end-of-command "^[0-9]+ .*\n" :success "^2.*\n" :always-query-capabilities t :starttls-function #[(capabilities) "\301\302\b\"\205\b\303\207" [capabilities string-match "[ -]STARTTLS" "STARTTLS\n"] 3] :client-certificate t :use-starttls-if-possible t)
  byte-code("\306\307\310\b\"!r	q\210\311\312 \210)\313\211\x1c\314\315	\b\316@\317\311\320\307\321\322 \"\323\324\325\326\327\311\330\331\332\311\333\311&\x16A*A@\211B\204V\334\335\336AA\337\"\203S\336AA\337\"\202T\340\"\210\341B\342\"\210\336AA\343\"C\344C!\211D\204w\334\335\307\345C\"\"\210D\346Y\203\207\334\335\307\347C\"\"\210*r	q\210\350\351\211\"\210\352\353!\210e+\336AA\354\"E\344E!\211D\203\261\x0eD\346Y\203\276\355B\307\356\322 \"\"\210\2028\357\360\361\336AA\354\"\362\"\"\363F\211G\2037\x0eG@F\364 pHI\365\216\366J!\210\367\370\361F\371\363O\372\"\"+\211KG\373U\203\x01K@KK\203-\x0eK:\203\x01K@\202\x01K\374>\203\"\x0eKLBL\202-\x0eM\203-\375\376K\"\210)GA\211G\204\323**\377BL\b\x0eN%O\201W\x0eL\235\204W\201X\x0eL\235\203a\355B\307\201Y!\"\210P\203\202\201Z\x0eL\235\204x\201[\x0eL\235\203\202\355B\307\201\\!\"\210\201]\x0eL\235\203\225\355B\307\201^!\"\210\201_\x0eL\235\204\252\201`\201_\x0eL\"\203\302\307\201arQq\210deZ\201bed\"\\)\"\202\303\360\201c\x0eL\235\203\320\360\202\321\360RS\201d\x0eB\307\201e\x0eTSR$\"\210\201f\201g\x0eB!\211A!\2048\x0eO\203.\x0eN\204.\x0eA@\201h=\203.\363\201i\201j\217\210\201k\x0eB!\210\363B\334\335\201l\x0eUQ\311#\"\210\2028\334\335\201m\x0eA!\"\210*\201n\211VU8\203\315\201d\x0eB\307\201o\201p\x0eVU8!\"\"\210\201f\201g\x0eB!\211A!\204\304\x0eO\203\272\x0eN\204\272\x0eA@\250\203\272\x0eA@\201qY\203\272\x0eA@\201rX\203\272\201d\x0eB\201s\"\210\201g\x0eB!\210\201k\x0eB!\210\363B\334\335\201l\x0eUQ\311#\"\210\202\304\334\335\201m\x0eA!\"\210VT\211V\202?)\355B\201t\"\210\201u\x0eBQ\"\210\355B\201v\"\210)\363\207" [host process-buffer buffer-undo-list coding-system-for-write coding-system-for-read port get-buffer-create format "*trace of SMTP session to %s*" t erase-buffer binary open-network-stream "smtpmail" :type :return-list :capability-command "EHLO %s\n" smtpmail-fqdn :end-of-command "^[0-9]+ .*\n" :success "^2.*\n" :always-query-capabilities :starttls-function #[(capabilities) "\301\302\b\"\205\b\303\207" [capabilities string-match "[ -]STARTTLS" "STARTTLS\n"] 3] :client-certificate :use-starttls-if-possible throw done plist-get :error "Unable to contact server" set-process-filter smtpmail-process-filter :greeting smtpmail-response-code "No greeting: %s" 400 "Connection not allowed: %s" set-buffer-process-coding-system raw-text-unix make-local-variable smtpmail-read-point :capabilities smtpmail-command-or-throw "HELO %s" delete "" split-string ...] 24)
  ad-Orig-smtpmail-via-smtp(("xxxx@gmail.com") #<buffer  smtpmail temp> nil)
  smtpmail-via-smtp(("xxxx@gmail.com") #<buffer  smtpmail temp>)
  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)
  call-interactively(message-send-and-exit nil nil)
------------------------x-----------------------x----------------------------

Can anyone figure out what happened in emacs?

    LI> -- 
    LI> (domestic pets only, the antidote for overdose, milk.)
    LI> bloggy blog http://lars.ingebrigtsen.no/

-- 
Best regards,

Easior
-----
Ich bin von heute und ehedam, aber etwas ist in mir, das ist vor
morgen und ¼bermorgen und einstmal.»

                                     Friedrich Wilhelm Nietzsche




  parent reply	other threads:[~2014-03-15  5:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09  8:38 Easior Lars
2014-03-09 15:31 ` Lars Ingebrigtsen
2014-03-10  4:11   ` Easior Lars
2014-03-15  5:46   ` Easior Lars [this message]
2014-03-25  8:16     ` Easior Lars

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=87a9cs580z.fsf@126.com \
    --to=easior@126.com \
    --cc=ding@gnus.org \
    --cc=larsi@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).