TB - Sort add-on

Patrick O'Callaghan pocallaghan at gmail.com
Mon Jul 6 08:01:28 UTC 2015


On Mon, 2015-07-06 at 15:21 +1000, Cameron Simpson wrote:
> >Take a look at formail, part of the procmail package. It might be 
> able
> >to do what you want, or at least be part of the solution.
> 
> I suspect not because it only considers one message at a time.

Sure, but splitting the mbox into separate messages is one step towards
being able to re-order them as he likes. It's been years since I used
formail but I'm thinking of the -x flag to extract the relevant date
field and then use that as the basis for the file name. It would still
need some further munging to get the files into sortable order of
course.

poc


More information about the users mailing list