From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [cc@ivu-ac.de: Re: Problem sending bigger mails with CVS Gnus + CVS Emacs] Date: Sat, 18 May 2002 12:49:35 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205181849.g4IInZx22152@aztec.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021747959 30406 127.0.0.1 (18 May 2002 18:52:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 18 May 2002 18:52:39 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 1799Jn-0007uJ-00 for ; Sat, 18 May 2002 20:52:39 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1799Wt-0007nA-00 for ; Sat, 18 May 2002 21:06:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1799Jo-0008Gw-00; Sat, 18 May 2002 14:52:40 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1799Gu-0007xN-00; Sat, 18 May 2002 14:49:40 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g4IInZk10035; Sat, 18 May 2002 12:49:35 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4IInZx22152; Sat, 18 May 2002 12:49:35 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: jas@extundo.com Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4095 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4095 Can you do the right thing about this? Or if it is due to a problem in Emacs primitives, could you explain the problem to us so someone can try to fix it? ------- Start of forwarded message ------- To: emacs-pretest-bug@gnu.org Reply-to: cc@ivu-ac.de, christoph.conrad@gmx.de Organization: Church of GNU Emacs X-Public-Key: http://wwwkeys.de.pgp.net:11371/pks/lookup?op=get&search=0x1B488DEA Subject: Re: Problem sending bigger mails with CVS Gnus + CVS Emacs From: Christoph Conrad Date: Fri, 17 May 2002 15:50:13 +0200 In GNU Emacs 21.2.50.1 (i386-msvc-nt4.0.1381) of 2002-05-17 on CLI119 configured using `configure --with-msvc (12.00)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: DEU locale-coding-system: iso-latin-1 default-enable-multibyte-characters: nil I have some strange problem (and a workaround) with CVS Gnus and CVS Emacs, both from today. When i try to send a mail which is a little bit bigger than about 40K the following lines are in /var/log/mail ,---- | May 17 13:14:11 cli3 sendmail[23841]: g4HBCja23841: collect: premature EOM: Error 0 | May 17 13:14:11 cli3 sendmail[24045]: g4HBDxa24045: collect: unexpected close on connection from cli119.cli.de, sender=: Error 0 `---- and Emacs reports: "writing to process, invalid argument, SMTP The workaround is to (defadvice smtpmail-send-data(around smtpmail-send-data-delay act) (sleep-for 1) ad-do-it) which simply makes a pause of 1 sec in smtpmail.el's code: ,---- | ;; DATA | (smtpmail-send-command process "DATA") | | (if (or (null (car (setq response-code (smtpmail-read-response process)))) | (not (integerp (car response-code))) | (>= (car response-code) 400)) | (throw 'done nil) | ) | | ;; !!!! here: wait 1 sec | ;; Mail contents | (smtpmail-send-data process smtpmail-text-buffer) `---- ------- End of forwarded message -------