From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4716 Path: main.gmane.org!not-for-mail From: raeburn@cygnus.com (Ken Raeburn) Newsgroups: gmane.emacs.gnus.general Subject: POP handling bug Date: 16 Jan 1996 00:24:56 -0500 Organization: Cygnus Support, Cambridge MA Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145424 30564 80.91.224.250 (20 Oct 2002 20:23:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:23:44 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.7.3/8.6.9) with SMTP id VAA19308 for ; Mon, 15 Jan 1996 21:51:57 -0800 Original-Received: from cygnus.com (cygnus.com [140.174.1.1]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id ; Tue, 16 Jan 1996 06:25:05 +0100 Original-Received: from tweedledumb.cygnus.com (tweedledumb.cygnus.com [192.80.44.1]) by cygnus.com (8.6.12/8.6.9) with SMTP id VAA12106; Mon, 15 Jan 1996 21:25:01 -0800 Original-Received: from cujo.cygnus.com by tweedledumb.cygnus.com (4.1/4.7) id AA27824; Tue, 16 Jan 96 00:24:59 EST Original-Received: by cujo.cygnus.com; (5.65v3.2/1.1.8.2/20Sep95-0235PM) id AA23876; Tue, 16 Jan 1996 00:24:57 -0500 Original-To: gnus-bug@ifi.uio.no (The Gnus Bugfixing Girls + Boys) Original-Lines: 50 Xref: main.gmane.org gmane.emacs.gnus.general:4716 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4716 September Gnus v0.26; nntp 4.0; nnvirtual 1.0; nnml 1.0; nnmh 1.0 GNU Emacs 19.30.1 (alpha-dec-osf3.2) of Tue Dec 12 1995 on cujo.cygnus.com Greg Stark and I just sat down and tracked down a long-standing problem he and others have been seeing with the POP code I submitted some time ago. It turns out there are variations in how movemail writes the mail headers. One version (which is the one my company includes with its network security software) writes the "EOOH" line. The version in the current emacs release does not. The code I submitted (and sgnus-0.26) assumed the line would always be there. This patch should make the line optional: --- nnmail.el~ Wed Dec 20 22:09:47 1995 +++ nnmail.el Mon Jan 15 23:56:02 1996 @@ -451,7 +451,7 @@ (let (start message-id content-length do-search end) (while (not (eobp)) (goto-char (point-min)) - (re-search-forward " \n0, *unseen,+\n\\*\\*\\* EOOH \\*\\*\\*\n" nil t) + (re-search-forward " \n0, *unseen,+\n\\(\\*\\*\\* EOOH \\*\\*\\*\n\\)?" nil t) (goto-char (match-end 0)) (delete-region (match-beginning 0) (match-end 0)) (setq start (point)) ------------------- Environment follows ------------------- (setq gnus-default-nntp-server "") (setq gnus-local-domain "cygnus.com") (setq gnus-local-organization "Cygnus Support, Cambridge MA") (setq gnus-select-method '(nntp "cambridge-news.cygnus.com")) (setq gnus-secondary-select-methods '((nnml ""))) (setq gnus-startup-file "~/News/.newsrc") (setq gnus-use-cross-reference 42) (setq gnus-summary-make-false-root nil) (setq gnus-summary-gather-subject-limit 'fuzzy) (setq gnus-decode-encoded-word-method #[nil "@" [nil] 1]) (setq gnus-ignored-newsgroups "^aus\\.\\|^ba\\.\\|^bionet\\.\\|^bit\\.\\|^dc\\.\\|^de\\.\\|^eunet\\.\\|^fj\\.\\|^fr\\.\\|^hiv\\.\\|^info\\.\\|^k12\\.\\|^k5\\.\\|^k7\\.\\|^no\\.\\|^ny\\.\\|^soc\\.\\|^sub\\.\\|^talk\\.\\|^usa-today\\.\\|^vmsnet\\.") (setq gnus-auto-center-summary nil) (setq gnus-summary-line-format "%U%R%z%I%6N %d%[%4L:%-15,15n%] %s ") (setq gnus-auto-expirable-newsgroups "nnml:.*") (setq gnus-hidden-properties '(invisible t)) (setq gnus-startup-hook '(#[nil "@AB\"@AC\"D@FB\"" [remove-hook gnus-summary-prepare-hook hilit-rehighlight-buffer-quietly hilit-install-line-hooks (gnus-summary-mark-unread-as-read) gnus-mark-article-hook gnus-article-prepare-hook] 3])) (setq nnmail-split-methods 'nnmail-split-fancy) (setq nnmail-keep-last-article t) (setq nnmail-expiry-wait 5) (setq nnmail-spool-file "po:raeburn") (setq nnmail-movemail-program "/usr/kerberos/bin/movemail")