procmail
[Top] [All Lists]

Re: Sorting an already existing mbox file, is it possible?

2005-10-03 03:27:49
tmueller(_at_)bluegrass(_dot_)net schreef:

prepended '>' to every subsequent line that began with "From "

My test84.rc has two lines:
----------------------------
  DEFAULT = '/dev/null'
  LOG     = "$$ "
----------------------------

Run it on your mbox:

  $ formail -s procmail -m test84.rc < mbox094elv


That should show a line with several PIDs, one PID per message in the
mbox.


If not, browse the mbox-file with 'less'. There should be an empty line
before each message header (before the "From " line). If not, see in
`man formail` the options -Y, -e, -d.

If the mbox-file was changed with a text-editor, maybe even on a
Windows-system, then the format of the mbox-file can be corrupted. That
is often easy to repair.

-- 
Grtz, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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