On Sat, 2002-12-07 at 06:23, Ken Murchison wrote: > Joshua Schmidlkofer wrote: > > > > I have about 50,000 messages in a maildir. I am trying to import them > > into my Cyrus mailbox, and I have gotten one to import successfully. I > > continually get a message 'invalid headers'. Mozilla [1.2.1] says: > > > > The current command did not succeed the mail server responded: Message > > contains invalid headers > > What version of Cyrus? > > > > > > I have tried a variety of messages here are some sample headers: > > > > [fgom Evo] > > <snip> > > Return-Path: <[EMAIL PROTECTED]> > > Delivered-To: [EMAIL PROTECTED] > > Received: (qmail 15633 invoked from network); 12 Nov 2002 05:41:23 -0000 > > Received: from localhost (HELO xxxxx.xxxx) (127.0.0.1) by localhost with > > SMTP; 12 Nov 2002 05:41:23 -0000 > > >From [EMAIL PROTECTED] Mon Nov 11 21: 41:22 2002 > ^^^^^^ > Older versions (< 2.1.3) would choke on this (didn't like '>'). > > > > Received: from UNKNOWN(66.187.233.211), claiming to be > > "listman.redhat.com" > > via SMTP by mail.asylumwear.com, id smtpdnx8HDj; Mon Nov 11 > > 21:41:18 2002 > > Received: from listman.redhat.com (localhost.localdomain [127.0.0.1]) by > > listman.redhat.com (Postfix) with ESMTP id E46FD3EA21 for > > <[EMAIL PROTECTED]>; Tue, 12 Nov 2002 00:41:17 -0500 (EST) > > Subject: Welcome to the "redhat-list" mailing list > > From: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > X-No-Archive: yes > > X-Ack: no > > Sender: [EMAIL PROTECTED] > > Errors-To: [EMAIL PROTECTED] > > X-BeenThere: [EMAIL PROTECTED] > > X-Mailman-Version: 2.0.1 > > Precedence: bulk > > List-Help: <mailto:[EMAIL PROTECTED]?subject=help> > > List-Post: <mailto:[EMAIL PROTECTED]> > > List-Subscribe: > > <https://listman.redhat.com/mailman/listinfo/redhat-list>, > > <mailto:[EMAIL PROTECTED]?subject=subscribe> > > List-Id: General Red Hat Linux discussion list <redhat-list.redhat.com> > > List-Unsubscribe: > > <https://listman.redhat.com/mailman/listinfo/redhat-list>, > > <mailto:[EMAIL PROTECTED]?subject=unsubscribe> > > List-Archive: <https://listman.redhat.com/pipermail/redhat-list/> > > Message-Id: <[EMAIL PROTECTED]> > > Date: Tue, 12 Nov 2002 00:41:17 -0500 (EST) > > X-Spam-Status: No, hits=-1.1 required=5.0 tests=NO_REAL_NAME > > version=2.30 > > X-Spam-Level: > > X-Evolution-Source: imap:[EMAIL PROTECTED]/ > > Mime-Version: 1.0 > > <snip> > > > > from Mozilla: > > <snip> > > From [EMAIL PROTECTED] Thu Jun 6 00:46:03 2002 > ^^^^^ > I believe that it will still choke on this, as it is an illegal header > (no ':'). > > > > Return-Path: <[EMAIL PROTECTED]> > > Received: from out1.jobseekernews.net ([208.147.43.251] verified) > > by zipcode.neonova.net (CommuniGate Pro SMTP 3.5.9) > > with ESMTP id 87870014 for [EMAIL PROTECTED]; Thu, 06 Jun 2002 03:49:20 > > -0400 > > Received: from 208.147.47.159 [208.147.47.159] > > by out1.jobseekernews.net [208.147.43.251] > > with SMTP (MDaemon.PRO.v5.0.5.R) > > for <[EMAIL PROTECTED]>; Thu, 06 Jun 2002 03:45:20 -0400 > > From: JSN <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Free Information from Capella University > > Date: Thu, 6 Jun 2002 03:46:03 -0400 > > X-Mailer: QUALCOMM Windows Eudora Version 5.0 > > X-MDRemoteIP: 208.147.47.159 > > X-Return-Path: [EMAIL PROTECTED] > > X-MDaemon-Deliver-To: [EMAIL PROTECTED] > > Reply-To: [EMAIL PROTECTED] > > Message-ID: <[EMAIL PROTECTED]> > > Status: R > > X-Status: N > > </snip>
Thanks for the pointers Ken. Sorry I completely forgot to put anything usefull in my post: Cyrus v2.1.10, [thanks to Simon's wonderful RPMS], SASL 2.1.7 [stock redhat], Evolution 1.2, and Mozilla 1.2.1 as the MUAs. If I insert a ':' in the From line, it breaks Mozilla, but I will make a little snake [Python] to see if I can control the environment better and try again. Is there a MIME header validator that is written? In Perl, or Python, well... anything but C++ would do. -- VB programmers ask why no one takes them seriously, it's somewhat akin to a McDonalds manager asking employees why they don't take their 'career' seriously.
signature.asc
Description: This is a digitally signed message part