procmail
[Top] [All Lists]

my spam/ham sorting

2003-12-09 17:35:23
I've found (surprise, surprise) that dates in the Date: header are truly
unreliable (I have a range from 1970 to 2068).

All I really care about is when I received the email, since I know my mail
machine's date is correct.

I want to sort and file based on the Received: header date, but there are
typically a lot of them in each message, depending on where the message has 
gone en route to me.

Questions:

1)Is the last Received header ALWAYS the one for my machine? (e.g. the only
one I care about)?

2)Does procmail do a specific ordering of headers?  IOW, does it process
from the top to the bottom (I assume so)?

 or

3)Do I need to write a recipe to match my mail machine, then extract a 
date from that Received header?

4)Will I want to extract a date using a regexp, or is there an easier way?

thanks,
-chuck

-- 

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>