From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28718 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai=?iso-8859-1?q?_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: POP/fancy-split bug? Date: 11 Jan 2000 16:35:09 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <8669-Tue11Jan2000085501-0500-ndw@nwalsh.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165516 31307 80.91.224.250 (21 Oct 2002 01:58:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:58:36 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id E8C45D051E for ; Tue, 11 Jan 2000 10:37:30 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB01270; Tue, 11 Jan 2000 09:37:08 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 11 Jan 2000 09:37:09 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA12520 for ; Tue, 11 Jan 2000 09:36:58 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id B8F8ED051E for ; Tue, 11 Jan 2000 10:35:24 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id QAA17878; Tue, 11 Jan 2000 16:35:10 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id QAA28493; Tue, 11 Jan 2000 16:35:09 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-6) id QAA31371; Tue, 11 Jan 2000 16:35:09 +0100 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Norman Walsh In-Reply-To: Norman Walsh's message of "Tue, 11 Jan 2000 08:55:01 -0500" Original-Lines: 31 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28718 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28718 Norman Walsh writes: > But now that I'm using POP, I've noticed that I sometimes get a > completely empty message in the "approval" folder and the > unapproved message in the "list" folder, as if it had been > approved. I haven't been able to nail down what's different > between messages that succeed and messages that fail, but most > seem to fail. Depending on how you fetch mail, the output of the fetching process may be a babyl file (default with movemail.c) or an mbox file (can happen with pop3.el but don't know if that always happens). If it is an mbox file, a message is considered to start with a From_ line and ends with an empty line. The unapproved message starts with a From_ line, hence it is conceivable that this From_ line is considered start of a message. But why does this not always happen? Well, I think Gnus also looks at the Content-Length (maybe also Lines) header. Gnus then moves forward that many bytes or lines to see if a new message begins there. If so, the header information is considered to be correct. If, however, there is no From_ line after the number of bytes/lines given by Content-Length, Gnus reverts to searching for From_ lines for beginnings of messages. Maybe everything works if the Content-Length header is good, and the message is split in two if the Content-Length header is wrong? kai -- A large number of young women don't trust men with beards. (BFBS Radio)