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

Re: mail scripts



MDM <mdm@xxxxxxxxxxxxxxx> wrote:
> 
> I am looking for a script that will parse the emails in a Maildir
> mailbox and dump all the from addresses to a txt file.
> 
> Does anyone have any idea where i can find one?

  find Maildir/{cur,new}/ -type f -print0 \
    | xargs -0 -n 1 822field from \
    > textfile

`822field` is part of the mess822 package.

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon                               <qmail@xxxxxxxxxxxxxxxxxxxx>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting.  See http://pyropus.ca/ for details.
--------------------------------------------------------------------------