From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84373 Path: news.gmane.org!not-for-mail From: Easior Lars Newsgroups: gmane.emacs.gnus.general Subject: Re: how to configure smtp of ms live mail for gnus Date: Sat, 15 Mar 2014 13:46:04 +0800 Message-ID: <87a9cs580z.fsf@126.com> References: <87mwgzahs1.fsf@126.com> <87eh2bfkx7.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1395185167 23707 80.91.229.3 (18 Mar 2014 23:26:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2014 23:26:07 +0000 (UTC) Cc: ding@gnus.org To: Lars Ingebrigtsen Original-X-From: ding-owner+M32619@lists.math.uh.edu Wed Mar 19 00:26:17 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WQ3Oh-00016Q-N6 for ding-account@gmane.org; Wed, 19 Mar 2014 00:26:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1WQ3Nx-00067c-8g; Tue, 18 Mar 2014 18:25:29 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1WOhQe-0002h6-CV for ding@lists.math.uh.edu; Sat, 15 Mar 2014 00:46:40 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WOhQP-0005Qt-57 for ding@lists.math.uh.edu; Sat, 15 Mar 2014 00:46:38 -0500 Original-Received: from m15-111.126.com ([220.181.15.111]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WOhQM-0006FS-Fy; Sat, 15 Mar 2014 06:46:23 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=3JG1k oRqbfkpfk0afKJHJ2SsNY/IPl+3BhuXsKb1n24=; b=GtuG1EHjt1JbLUkv1tAHk brkLSW+o3Tg/8xCagtYzJ/0FfR1Opau4qF1ARdptHT6Oa4MN/WMbJvuG/mfZ8n8f Q2SO13SNwCXRhF+Ofsu8+nQHMIYznrnoJ/4qNMG4Neg/jNmCaq9Fh50p+66wSqQk WyvYsJFSPdlzN+vbjGROXs= Original-Received: from Arcadia (unknown [202.121.137.57]) by smtp1 (Coremail) with SMTP id C8mowED51nUi6SNTCd4SAQ--.1381S2; Sat, 15 Mar 2014 13:46:11 +0800 (CST) X-Coremail-DSSMTP: 202.121.137.57 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAAK/INwWK6QAAABl0 RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAMUExURe/v7y8pJ5UdEpuRfs3NYikA AAE9SURBVHjaxJRbbsUgDEQ9nv3vuWAI2ASoo34URcrVzRz8GIPI/y3q+MUUgAGopgIAE2AO4JNb FoCiSIs+BZQabNkr16S5kAGUNfeGMeeCGZHVF7NoRqRL1tIlFUA/APoF6O1sKxWgEPgC0AWgfPIN lDyArMvNL8DKyDW1ZPKMHn/PxQ4Psz2ipdLTyWREIBC3abPNEAHc93X6u2suj0iUm6AGbofJ3U84 AbUDVQl7ZAEYIw056uHAJoLwFYqme1aIIBbzBZT/aMMbgS62bN8hetPDnTyjRr1d3dw3tgMhhG2+ BxrhR2kA5DGEhCKaa2d9/zzkzS7iQDxFcvazwQc9F6+Ve8OO00fgJp96LjbvATrJIublNNA1aVUv 6fn6pn7Y7yWvUx0babPXR7C/dm7Mfdpw3Rp8LPMP60eAAQAtmgbkuFBEMwAAAABJRU5ErkJgggo= Mail-Followup-To: Lars Ingebrigtsen , ding@gnus.org In-Reply-To: <87eh2bfkx7.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Sun, 09 Mar 2014 16:31:32 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-CM-TRANSID: C8mowED51nUi6SNTCd4SAQ--.1381S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxKr48Cw1DZrW7uF17tr48Crg_yoW7Kryrpr 93JF9xJryDGry8uw1IyryxK3WYqryktr95Xr1UJryxtr98Aa42yr4Fyr18AasrCr9rC34j qr4kZw1kur1UZ3DanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jUHUDUUUUU= X-Originating-IP: [202.121.137.57] X-CM-SenderInfo: 5hdvx0bu6rjloofrz/1tbi1xNPaUgY4FwVVwAAsM X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84373 Archived-At: >>>>> "LI" =3D=3D Lars Ingebrigtsen writes: LI> Easior Lars writes: >> hi, guys! >>=20 >> I have a problem in setting up the smtp configuration of microsoft >> Live mail in gnus. After I use the following=20 >>=20 >> ,----------------------------------------- >> | (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 >>=20 >> ,----------------------------------------- >> | (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 # -15) signal(gnutls-error (# -15)) gnutls-negotiate(:process # :type gnutls-x509pki :hostn= ame "smtp.live.com") open-gnutls-stream("smtpmail" # "smtp.live.com" 587) network-stream-open-tls("smtpmail" # "smtp.live.com" 587 (:type ssl :return-list t :capability-comm= and "EHLO Arcadia\n" :end-of-command "^[0-9]+ .*\n" :success "^2.*\n" :alwa= ys-query-capabilities t :starttls-function #[(capabilities) "\301\302\"\20= 5\303\207" [capabilities string-match "[ -]STARTTLS" "STARTTLS\n"] 3] :cli= ent-certificate t :use-starttls-if-possible t)) open-network-stream("smtpmail" # "smtp.live.com" 587 :type ssl :return-list t :capability-command "= EHLO Arcadia\n" :end-of-command "^[0-9]+ .*\n" :success "^2.*\n" :always-qu= ery-capabilities t :starttls-function #[(capabilities) "\301\302\"\205\30= 3\207" [capabilities string-match "[ -]STARTTLS" "STARTTLS\n"] 3] :client-c= ertificate t :use-starttls-if-possible t) byte-code("\306\307\310\"!r q\210\311\312 \210)\313\211=1C\314\315 \316= @\317\311\320\307\321\322 \"\323\324\325\326\327\311\330\331\332\311\333\31= 1&=16A*A@\211B\204V\334\335\336AA\337\"\203S\336AA\337\"\202T\340\"\210\341= B\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+\336A= A\354\"E\344E!\211D\203\261=0ED\346Y\203\276\355B\307\356\322 \"\"\210\2028= \357\360\361\336AA\354\"\362\"\"\363F\211G\2037=0EG@F\364 pHI\365\216\366J!= \210\367\370\361F\371\363O\372\"\"+\211KG\373U\203=01K@KK\203-=0EK:\203=01K= @\202=01K\374>\203\"=0EKLBL\202-=0EM\203-\375\376K\"\210)GA\211G\204\323**\= 377BL=0EN%O\201W=0EL\235\204W\201X=0EL\235\203a\355B\307\201Y!\"\210P\203\= 202\201Z=0EL\235\204x\201[=0EL\235\203\202\355B\307\201\\!\"\210\201]=0EL\2= 35\203\225\355B\307\201^!\"\210\201_=0EL\235\204\252\201`\201_=0EL\"\203\30= 2\307\201arQq\210deZ\201bed\"\\)\"\202\303\360\201c=0EL\235\203\320\360\202= \321\360RS\201d=0EB\307\201e=0ETSR$\"\210\201f\201g=0EB!\211A!\2048=0EO\203= .=0EN\204.=0EA@\201h=3D\203.\363\201i\201j\217\210\201k=0EB!\210\363B\334\3= 35\201l=0EUQ\311#\"\210\2028\334\335\201m=0EA!\"\210*\201n\211VU8\203\315\2= 01d=0EB\307\201o\201p=0EVU8!\"\"\210\201f\201g=0EB!\211A!\204\304=0EO\203\2= 72=0EN\204\272=0EA@\250\203\272=0EA@\201qY\203\272=0EA@\201rX\203\272\201d= =0EB\201s\"\210\201g=0EB!\210\201k=0EB!\210\363B\334\335\201l=0EUQ\311#\"\2= 10\202\304\334\335\201m=0EA!\"\210VT\211V\202?)\355B\201t\"\210\201u=0EBQ\"= \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 "*tr= ace of SMTP session to %s*" t erase-buffer binary open-network-stream "smtp= mail" :type :return-list :capability-command "EHLO %s\n" smtpmail-fqdn :end= -of-command "^[0-9]+ .*\n" :success "^2.*\n" :always-query-capabilities :st= arttls-function #[(capabilities) "\301\302\"\205\303\207" [capabilities s= tring-match "[ -]STARTTLS" "STARTTLS\n"] 3] :client-certificate :use-startt= ls-if-possible throw done plist-get :error "Unable to contact server" set-p= rocess-filter smtpmail-process-filter :greeting smtpmail-response-code "No = greeting: %s" 400 "Connection not allowed: %s" set-buffer-process-coding-sy= stem raw-text-unix make-local-variable smtpmail-read-point :capabilities sm= tpmail-command-or-throw "HELO %s" delete "" split-string ...] 24) ad-Orig-smtpmail-via-smtp(("xxxx@gmail.com") # nil) smtpmail-via-smtp(("xxxx@gmail.com") #) 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> --=20 LI> (domestic pets only, the antidote for overdose, milk.) LI> bloggy blog http://lars.ingebrigtsen.no/ --=20 Best regards, Easior ----- Ich bin von heute und ehedam, aber etwas ist in mir, das ist vor morgen und =BCbermorgen und einstmal.=BB Friedrich Wilhelm Nietzsche