From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Endless Story" Newsgroups: gmane.emacs.help Subject: Why would sending mail in Wanderlust be successful in XP, but fail in Linux when using a Sun server? Date: 13 Feb 2007 03:34:03 -0800 Organization: http://groups.google.com Message-ID: <1171366443.126995.6630@q2g2000cwa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1171366925 3831 80.91.229.12 (13 Feb 2007 11:42:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Feb 2007 11:42:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 13 12:41:58 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HGw2o-0007oy-D8 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Feb 2007 12:41:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGw2n-0006dM-W2 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Feb 2007 06:41:58 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!postnews.google.com!q2g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: 162.84.222.82 Original-X-Trace: posting.google.com 1171366448 24632 127.0.0.1 (13 Feb 2007 11:34:08 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 13 Feb 2007 11:34:08 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.02 (X11; Linux i686; U; en),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: q2g2000cwa.googlegroups.com; posting-host=162.84.222.82; posting-account=JP8pbg0AAADYDr61n41ZYs45c0xuivey Original-Xref: shelby.stanford.edu gnu.emacs.help:145556 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41160 Archived-At: I have already queried the Wanderlust mailing list on this question, but no one has been able to help. I'll try to put the problem simply - I can add detail later if anyone has any thoughts. I dual-boot (probably for masochistic reasons), and on both XP and Linux I am running Wanderlust in Emacs 22. I am fairly confident the problem doesn't relate to any bug in Emacs 22 - on both platforms it has been perfectly stable for me. Besides, the problem occurs only on the Linux side (Gentoo), and I can reproduce it in Emacs 21 as well as in 22. Essentially, when in Linux, if I try to use Emacs/Wanderlust to send mail to my ISP's server for SMTP (which happens to be a Sun), I can login in and authenticate OK, but when it comes time to send the data, the operation times out - the server is waiting for the client to start sending, but it never happens. No problem on the XP side with this same server. Weirdly, the problem only involves forwarding or replying (with cited/ quoted text) to a non-plain-text message! I have no problem at all with plain text messages - I can forward these or reply to them without a hitch. And I can send an original message with MIME types - for example, a PDF attachment - without a problem. Very weird. The reason I think the server is important is twofold: First, I can forward/reply using the SMTP server for a different ISP, whose server is NOT a Sun, and everything works fine. And second, inside some of the SMTP sending code for Wanderlust there is a little comment saying that the next couple of lines of code are to test whether it's a Sun server that eats newlines - in which case an extra newline must be added between the head and body of the message. Not sure why this would be a problem only with non-plain text forwarding/replying, though. I have Googled for hours trying to find a potential cure - changing the buffer to DOS to get a DOS line ending, setting the language environment, setting the coding system for network interaction to various values, etc. Nothing makes a difference. The one thing I haven't tried yet is to set up a different mailer in Emacs, such as VM or even RMAIL, and see what happens when I try to forward/reply under those conditions, using (I assume) the basic SMTP module for Emacs.