On Sat, 4 May 2002, Gerrit P. Haase wrote:
>
> JT schrieb:
>
> >>> A 'From ' followed by the original sender address (at least).
> >>> ^^^^^^^ note the space.
>
> >>> Ecartis writes the mbox files to start with this:
>
> >>> Received: from ismene.koeln.convey.de (192.168.5.3)
>
> >>> which is from the original header. So it isn't recognized as
> >>> startline for a new mbox format mail.
>
> >> I'm honestly not sure, thats a question for JT and Rachel to be honest,
> >> I haven't even touched the archiving portion of Ecartis yet...
>
> > Ecartis is only using the information that comes handed to it from the
> > MTA, which is LACKING that From line in your case. You should be able to
> > tell your MTA to give it to you. Otherwise, Ecartis has no way of knowing
> > what to put there (the From: header could be forged, so we cannot use it!)
> > Note, that UNIX MTAs (such as postfix and sendmail) give that line as part
> > of the mail by default.
>
> In every mail I send is a 'From: Gerrit <[EMAIL PROTECTED]>"
> but not in the first place and not with a whitespace behind 'From'
>
> >> However if its not a valid mbox format, then it *should* be, and we need
> >> to fix it :)
>
> > Not sure we can at the ecartis level. It probably needs fixing at the MTA
> > level.
>
> No. Look at the headers of a raw mail.
> Yours here started with:
> Return-Path: <[EMAIL PROTECTED]>
>
> and not with 'From <[EMAIL PROTECTED]>'
>
> When I export this mail from my mailer to Unix mbox format then
> >From <[EMAIL PROTECTED]>
> gets added in the first line like it is default for mbox format.
>
> I fetched a mail from my ISP's mailserver (Qmail on Linux):
>
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 23949 invoked by uid 101); 3 May 2002 22:17:08 -0000
> Received: from unknown (HELO koeln.convey.de) (62.138.63.18)
> by mail3.netbeat.de with SMTP; 3 May 2002 22:17:08 -0000
> Received: from ismene.koeln.convey.de (192.168.5.3)
> by koeln.convey.de with [XMail 1.8 (Win32/Ix86) ESMTP Server]
> id <S8F41> for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>;
> Sat, 04 May 2002 00:16:41 +0200
> Date: Sat, 4 May 2002 00:15:51 +0200
> From: "Gerrit P. Haase" <[EMAIL PROTECTED]>
> X-Mailer: The Bat! (v1.54 Beta/45) Business
> Reply-To: "Gerrit P. Haase" <[EMAIL PROTECTED]>
> Organization: Esse keine toten Tiere
> X-Priority: 3 (Normal)
> Message-ID: <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Looks like it is pretty standard that there is the Return-Path:
> in the first line. Even if I connect a mailserver with telnet
> and hack in the SMTP commands manually, the resulting mail
> will have this Return-Path: in the first line.
>
> So it is not a problem with the MTA.
> It needs to be handled by the archiving software.
>
> I guess it is no major problem for me here to write an
> additional function in the wrapper we use for Xmail to
> cleanup the mails for Ecartis, but that will not help
> much if someone uses another MTA where no wrapper exists.
>
> >> Thanks a lot guys for all your work, let me know if commit access is
> >> desired (I know I certainly desire you guys to have it) and I'll talk it
> >> over with Rachel, JT, and Peter and get you guys access....
>
> > I have no issues on that score.
>
> I think the archive module could be fixed. Should be
> pretty simple to add a function that parses the header
> and spits out the correct first line for mbox style
> archiving. Ecartis writes the mails to the mbox, so it
> is the job of Ecartis to verify that it is the correct
> format.
>
> How does this work on Linux?
> Can you tell Exim or Postfix how to hand over the mails
> to Ecartis?
What are you talking about ? Can you formulate a shorter question, you
know i'm quite lazy :) ?
Anyway it's not true that ecartis does not touch headers, it seems to
screw up them :
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: from 161.69.79.192 [161.69.79.192]
by localhost with POP3 (fetchmail-5.9.5)
for davide@localhost (single-drop); Fri, 03 May 2002 15:38:16 -0700 (PDT)
Received: from x35.xmailserver.org (127.0.0.1)
by localhost.localdomain with [XMail 1.8 (Linux/Ix86) ESMTP Server]
id <S3E0E6> for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>;
Fri, 03 May 2002 15:42:50 -0700
+Received: from koeln.convey.de (62.138.63.18)
+Received: with ECARTIS (v1.0.0; list xmail); Fri, 03 May 2002 15:42:42 -0700 (PDT)
by xmailserver.org with [XMail 1.8 (Linux/Ix86) ESMTP Server]
id <S3E0E0> for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>;
Fri, 03 May 2002 15:42:41 -0700
Received: from ismene.koeln.convey.de (192.168.5.3)
by koeln.convey.de with [XMail 1.8 (Win32/Ix86) ESMTP Server]
id <S8F42> for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>;
Sat, 04 May 2002 00:27:37 +0200
this is your message and the two lines starting with + have been clearly
swapped.
- Davide
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]