unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [cc@ivu-ac.de: Re: Problem sending bigger mails with CVS Gnus + CVS Emacs]
@ 2002-05-18 18:49 Richard Stallman
  2002-05-19  0:07 ` Simon Josefsson
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Richard Stallman @ 2002-05-18 18:49 UTC (permalink / raw)
  Cc: emacs-devel

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 <cc@ivu-ac.de>
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=<cc@ivu-ac.de>: 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 -------

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2002-05-24 21:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-18 18:49 [cc@ivu-ac.de: Re: Problem sending bigger mails with CVS Gnus + CVS Emacs] Richard Stallman
2002-05-19  0:07 ` Simon Josefsson
2002-05-19 19:40   ` Richard Stallman
2002-05-20  9:35     ` Alex Schroeder
2002-05-21 15:58       ` Richard Stallman
2002-05-24  0:45         ` Alex Schroeder
2002-05-24 21:14           ` Richard Stallman
2002-05-20 10:58     ` Simon Josefsson
2002-05-20 21:33       ` Richard Stallman
2002-05-21 10:02   ` Christoph Conrad
2002-05-19 10:23 ` Jason Rumney
2002-05-20 14:47   ` Richard Stallman
2002-05-20 21:47 ` Jason Rumney
2002-05-20 23:36   ` Tak Ota
2002-05-21 20:32     ` Jason Rumney
2002-05-21 22:40       ` Tak Ota
2002-05-22  1:41         ` Tak Ota
2002-05-22 16:03       ` Tak Ota
2002-05-21  9:53   ` Christoph Conrad

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).