Deleting old maildir messages, is what I'm doing OK?

Felix Finch felix at crowfix.com
Mon Feb 15 21:28:44 UTC 2021


On 20210215, Angel M Alganza wrote:
>On Mon, Feb 15, 2021 at 12:49:53PM -0800, Felix Finch wrote:
>>On 20210215, Kevin J. McCarthy wrote:
>>>You could write a script, I guess, something like:
>>>
>>>cd $header_cache_dir
>>>rm -f *
>>
>>How well would that play with existing mutt sessions?  I run several 
>>mutts inside tmux (local mail, work IMAP mail, etc), and sessions 
>>will run for weeks.
>
>With no problem.  When it doesn't find a cache, it'll make a new one.

Right, but what if it discovers the new cache while half-built?  Or what if it discovers no cache between the rm and the build, and they try to build it at the same time?

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & wood chipper / felix at crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o


More information about the Mutt-users mailing list