procmail
[Top] [All Lists]

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

2005-09-30 07:20:22
On Fri, Sep 30, 2005 at 12:00:04PM +0200, Holger Wahlen wrote:

Try

  formail -ns procmail -m recipe1.rc <mbox094elv

instead. (Do you need the -m at all?) Make sure to have no recipes
that append messages to mbox094elv, though, otherwise rename the file
first.

The -m is useful, albeit not required. it's useful for a couple
of reasons.  One, without it procmail will try to look in $HOME
for recipe1.rc rather than whatever path relative to the current
directory was typed in.  (One can type an absolute path or one
relevant to $HOME, or prepend a dot-slash, for example, but
still, it can be inconvenient.)  Two, without the -m, if one
happens to forget to type in an rcfile, procmail will try to run
/etc/procmailrc and the user's default .procmailrc, which may
cause trouble.  Three, if one does type in an rcfile but types it
wrongly or it is unreadable, without the -m, procmail will revert
to stuffing the message in $DEFAULT; with the -m, one simply sees
an error message.

Dallman

____________________________________________________________
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>