Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
Subject: 0.16 Mail Lossage Alert
Date: Mon, 27 Nov 1995 18:10:32 +0100	[thread overview]
Message-ID: <199511271710.4396.surt.ifi.uio.no@ifi.uio.no> (raw)

September 0.16 will lose mail under certain circumstances.  (In
specific, if a mail contains a Content-Lenght header all subsequent
mails will try to use that content lenght, leading to some mails
slurping other mails into their bodies.  So your important mail might
be appended to some mail in your mail.junk group that you have a five
second expiry on.)

Here's a patch:

*** nnmail.el.~1~	Thu Nov 23 20:21:47 1995
--- nnmail.el	Mon Nov 27 18:03:08 1995
***************
*** 505,510 ****
--- 505,511 ----
  	  (insert "Message-ID: " (setq message-id (nnmail-message-id)) "\n"))
  	;; Look for a Content-Length header.
  	(goto-char (point-min))
+ 	(setq content-length nil)
  	(when (re-search-forward "^Content-Length: \\([0-9]+\\)" nil t)
  	  (setq content-length (string-to-int (match-string 1)))
  	  ;; We destroy the header, since none of the backends ever 

If you have used 0.16 to do mail splitting, I'd suggest grepping
through your entire mail spool for lines with "^From " (note trailing
space).  (This is for nnml and nnmh.  nnfolder, nnmbox and nnbabyl
should sort themselves out after a while automatically, I think.)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Ingebrigtsen


             reply	other threads:[~1995-11-27 17:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-27 17:10 Lars Magne Ingebrigtsen [this message]
1995-11-27 20:06 ` Steven L. Baur
1995-11-29 17:55   ` Lars Magne Ingebrigtsen
1995-11-29 20:05     ` Steven L. Baur
1995-12-01  3:57       ` Lars Magne Ingebrigtsen
1995-11-27 17:31 Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199511271710.4396.surt.ifi.uio.no@ifi.uio.no \
    --to=larsi@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).