procmail
[Top] [All Lists]

Re: procmail rename.

2001-02-17 00:01:23
it is because, when i tried to use IMAP to the mailbox. the sorting of the 
message no. is not sequence of the UID of the email... 

so when there have 20 mail in mail box if new mail come..it will not be msg 
no.. 21 ,, it maybe 16. or something else.

Nick
-----Original Message-----
From: Philip Guenther <guenther(_at_)gac(_dot_)edu>
Date: Fri, 16 Feb 2001 03:06:36 -0600
To: email(_at_)mcmug(_dot_)org
Subject: Re: procmail rename. 


email(_at_)mcmug(_dot_)org writes:
  i use procmail to filtering all the email with qmail..  and use Maildir 
for
mat to store email.  
    
  when i try to use procmail to filtering the email..
i found that each of the filename of the email 
is not the as timestamp.processid.servername
such as.. 9873433343.12323.abc.com:2

the filename of the email will be 
 "_ekmEQWB.32ASnE.abc.com:2"    

did u see that problem??

To quote http://cr.yp.to/proto/maildir.html
      How are unique filenames created?

      Unless you're writing messages to a maildir, you shouldn't worry
      about this. A unique name can be anything that doesn't contain
      a colon (or slash) and doesn't start with a dot.


The maildir support in procmail runs with that statement and generates
maildir message names that do not match the normal "time.pid.hostname"
format.  Any program that tries to parse the unique part of the message
filename is completely broken: the timestamp in the standard format does
not necessarily have anything to do with time the message was actually
delivered (can you say "NFS client clock drift"?), the pid is useless
(and might not even be a pid on some systems), and the hostname part may
be truncated.  Ignore the unique part of the name and pay attention to
the part after the colon and the contents.


(For those who complain that such messages don't sort in delivery order
when listed with "ls", please consider that the normal format won't sort
nicely either come September 8th when the timestamp hits 10 million.
Use "ls -t" if you want them sorted by delivery order.)


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


-- 
_______________________________________________
Get your free email from http://www.mcmug.org/webmail.html
@mcmug.org  @mcdull.net
DOWNLOAD McMug 2001 Calendar la.. .
http://www.mcmug.org

Powered by Outblaze
_______________________________________________
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>