From: Joshua Schmidlkofer (no email)
Date: Sat Dec 07 2002 - 11:44:44 EST
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: <>
> > Delivered-To:
> > 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 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
> > <>; Tue, 12 Nov 2002 00:41:17 -0500 (EST)
> > Subject: Welcome to the "redhat-list" mailing list
> > From:
> > To:
> > X-No-Archive: yes
> > X-Ack: no
> > Sender:
> > Errors-To:
> > X-BeenThere:
> > X-Mailman-Version: 2.0.1
> > Precedence: bulk
> > List-Help: <mailto:?subject=help>
> > List-Post: <mailto:>
> > List-Subscribe:
> > <https://listman.redhat.com/mailman/listinfo/redhat-list>,
> > <mailto:?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:?subject=unsubscribe>
> > List-Archive: <https://listman.redhat.com/pipermail/redhat-list/>
> > Message-Id: <20021112054117 dot E46FD3EA21 at listman dot redhat dot com>
> > 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:///
> > Mime-Version: 1.0
> > <snip>
> >
> > from Mozilla:
> > <snip>
> > From 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: <>
> > 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 ; 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 <>; Thu, 06 Jun 2002 03:45:20 -0400
> > From: JSN <>
> > To:
> > 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:
> > X-MDaemon-Deliver-To:
> > Reply-To:
> > Message-ID: <auto-000087870014 at zipcode dot neonova dot net>
> > 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.
|
|
|