From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vida =?UTF-8?Q?G=C3=A1bor?= Newsgroups: gmane.emacs.bugs Subject: bug#7589: smtpmail: bad line endings in queued mails on Windows Date: Sat, 11 Dec 2010 10:43:47 +0100 Message-ID: References: <83lj3x1yqx.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1292061208 6790 80.91.229.12 (11 Dec 2010 09:53:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Dec 2010 09:53:28 +0000 (UTC) Cc: 7589@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 11 10:53:23 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PRM8n-0001xM-Mn for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Dec 2010 10:53:21 +0100 Original-Received: from localhost ([127.0.0.1]:44505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRM8n-0004Cl-4Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Dec 2010 04:53:21 -0500 Original-Received: from [140.186.70.92] (port=38396 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRM7r-0003sH-K3 for bug-gnu-emacs@gnu.org; Sat, 11 Dec 2010 04:52:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRM7o-0000FK-B5 for bug-gnu-emacs@gnu.org; Sat, 11 Dec 2010 04:52:23 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRM7o-0000FA-9Q for bug-gnu-emacs@gnu.org; Sat, 11 Dec 2010 04:52:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PRLtx-0001mi-UL; Sat, 11 Dec 2010 04:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vida =?UTF-8?Q?G=C3=A1bor?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Dec 2010 09:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7589 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7589-submit@debbugs.gnu.org id=B7589.12920602776849 (code B ref 7589); Sat, 11 Dec 2010 09:38:01 +0000 Original-Received: (at 7589) by debbugs.gnu.org; 11 Dec 2010 09:37:57 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRLts-0001mQ-OZ for submit@debbugs.gnu.org; Sat, 11 Dec 2010 04:37:57 -0500 Original-Received: from b.relay.invitel.net ([62.77.203.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRLtp-0001mD-S6 for 7589@debbugs.gnu.org; Sat, 11 Dec 2010 04:37:54 -0500 Original-Received: from mail.invitel.hu (mail.invitel.hu [213.163.59.4]) by b.relay.invitel.net (Invitel Core SMTP Transmitter) with ESMTP id 84A5131A17E; Sat, 11 Dec 2010 10:43:57 +0100 (CET) Original-Received: from nedu.dyndns.org ([91.82.241.67]) by mail.invitel.hu (Invitel Messaging Server) with ESMTPA id <0LD9001ZOCD4DDC0@invitel.hu>; Sat, 11 Dec 2010 10:43:53 +0100 (CET) Original-Received: from EV001A4B593FDA (localhost [127.0.0.1]) by nedu.dyndns.org (Postfix) with ESMTP id 66D41150064; Sat, 11 Dec 2010 11:20:34 +0100 (CET) In-reply-to: <83lj3x1yqx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 11 Dec 2010 04:38:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42418 Archived-At: > I think your analysis is correct. Could you please try the patch > below? If it works for you, I will install it on the Emacs 23 branch, > so that it will be available in the upcoming Emacs 23.3 release. Still doesn't work. I put some (message ...) to see the value of some variables during the execution of smtpmail-send-it and I think the problem is possibly somewhere else. smtpmail-code-conv-from is nil and the return value of (coding-system-change-eol-conversion ...) is also nil right after the function call of (set-buffer-file-coding-system ...) that you modified in your patch. In the body of the very first let in smtpmail-send-it, just after the varlist, the enable-multibyte-characters is nil, and thus smtpmail-code-conv-from is also nil. But the global vaule of enable-multibyte-characters is t. Do you think it helps anything if I investigate where enable-multibyte-characters is set to nil? Here is the mail I wanted to send, the saved mail file and the trace of SMTP: To: vidagabor@gmail.com Subject: probe mail Date: Sat, 11 Dec 2010 10:02:47 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) Gcc: nnimap+nedu:incoming From: "Vida G=C3=A1bor" a b c --=20 =C3=9Cdv, G=C3=A1bor ---------------------------------------------------------------------------= --- From: =3D?utf-8?Q?Vida_G=3DC3=3DA1bor?=3D ^M To: vidagabor@gmail.com^M Subject: probe mail^M User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)^M Date: Sat, 11 Dec 2010 10:03:37 +0100^M Message-ID: ^M MIME-Version: 1.0^M Content-Type: text/plain; charset=3Dutf-8^M Content-Transfer-Encoding: base64^M ^M YQ0KYg0KYw0KDQotLSANCsOcZHYsDQpHw6Fib3INCg=3D=3D^M ---------------------------------------------------------------------------= --- Process SMTP deleted 220 nedu.dyndns.org ESMTP Postfix^M EHLO EV001A4B593FDA^M 250-nedu.dyndns.org^M 250-PIPELINING^M 250-SIZE 50000000^M 250-VRFY^M 250-ETRN^M 250-ENHANCEDSTATUSCODES^M 250-8BITMIME^M 250 DSN^M MAIL FROM: SIZE=3D401^M 250 2.1.0 Ok^M RCPT TO:^M 250 2.1.5 Ok^M DATA^M 354 End data with .^M From: =3D?utf-8?Q?Vida_G=3DC3=3DA1bor?=3D ^M^M To: vidagabor@gmail.com^M^M Subject: probe mail^M^M User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)^M^M Date: Sat, 11 Dec 2010 10:03:37 +0100^M^M Message-ID: ^M^M MIME-Version: 1.0^M^M Content-Type: text/plain; charset=3Dutf-8^M^M Content-Transfer-Encoding: base64^M^M ^M^M YQ0KYg0KYw0KDQotLSANCsOcZHYsDQpHw6Fib3INCg=3D=3D^M^M .^M 250 2.0.0 Ok: queued as A2FB814F727^M QUIT^M 221 2.0.0 Bye^M