ifile-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ifile-discuss] Re: Maildir format


From: Brett Nemeroff
Subject: Re: [Ifile-discuss] Re: Maildir format
Date: Thu, 29 May 2003 09:33:15 -0400 (EDT)
User-agent: SquirrelMail/1.4.0

Yeah.. I don't currently do any file locking. This was primarily because I
only planned to run it once a day and didn't expect invocations to step on
each other.. However, there is the question regarding what happens if I'm
refiling while new mail is arriving (processed by ifile via procmail). Do
I need to worry about locking with the ifile database? Or is that handled
already?


Thanks,
Brett


> "Brett Nemeroff" <address@hidden>:
>
>> I am using ifile and procmail to do inital classification for new
>> mail as it arrives. If mail is mis-sorted, I wanted to simply move
>> it to it's new (correct) folder. A cron job would run and look for
>> messages that were Ifile-Hint(ed) to a folder that it's not
>> currently in and then ifile.relearn that message to it's new folder.
>
> IMHO ifile should be made capable of adding a special ("X-ifiled:
> <category>") header to messages.  i think this is the best solution
> for this kind of problems.  for this ifile would have to store the
> message on stdin or given on the argument line, classify it and
> concatenate the classification in the form of that special header and
> the message itself to make the final result.
>
> btw., your script doesn't mention locking.  if you refile often,
> several invocations could step on each others toes.  believe me, you
> can't just ignore this problem.  i did, and many problems appeared
> that were hard to diagnose.
>
>   clemens
>
>
> _______________________________________________
> Ifile-discuss mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/ifile-discuss
>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]