procmail
[Top] [All Lists]

Re: procmail rename.

2001-02-16 03:03:40
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

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