[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improvements to mhonarc.pl filter for Namazu
On September 1, 2002 at 11:15, Makoto Fujiwara wrote:
> ewh> Now, if MHonArc is having problems extracting the date from a Received
> ewh> header field, please send me a sample message that you are seeing this.
>
> I will attach the Mail (with minumum changes,@ -> $$, IP addres
> mod only, host name of ML) and beginning of 2.5.3 converted file.
...
> Received: from ki.nu (n.ki.nu [218.44.234.234])
> by yy.ki.nu (8.9.3+3.2W/3.7W-01050320) with ESMTP id LAA06639
---------------------------------------------------------------------^
NO semi-colon.
> Sun, 1 Sep 2002 11:03:19 +0900 (JST)
> Received: from u.ki.nu (u.ki.nu [192.168.90.70])
> by ki.nu (8.9.3+3.2W/3.7W-01120807) with ESMTP id LAA18899;
------------------------------------------------------------------^
Has semi-colon.
> Sun, 1 Sep 2002 11:03:18 +0900 (JST)
If you have control of the MTA at yy.ki.nu, you should check out
its configuration and the format of the Received header it adds.
I'll see about beefing up MHonArc to handle this case better (either
skipping the header and using the next received header, and if there
is not another received header, check the next field specified in
DATEFIELDS). Also, I'd like to add the ability so you can specify
which Received field to use. For example:
<DateFields>
received[1]:received:date
</DateFields>
This says to check the second Received first (index numbering starts
at 0), then the first Received then date. The following
are equivalent: received[0] === received.
I can actually use this type of feature for my local archives where
I prefer to use the date the message was received by my ISP's server
and not when I download it to my system.
--ewh
---------------------------------------------------------------------
To sign-off this list, send email to majordomo@mhonarc.org with the
message text UNSUBSCRIBE MHONARC-USERS
[Index of Archives]
[Bugtraq]
[Yosemite News]
[Mhonarc Home]