procmail
[Top] [All Lists]

processing inbox maildirs with formail

2007-08-27 04:14:44
Hello all,

below is the central question of a message I posted some weeks ago and
with got no answers. Since I haven't been able to find conclusive
documentation online, I am trying once again before experimenting on
the live system. Any confirmation/help/comment is really appreciated.

I have read in several places that you can reprocess already delivered
messages with:

formail -s procmail -m another_procmail_file.rc < inbox.waiting


but I'd need to run the formail command above every minute from a cron
job, and inbox.waiting would be a maildir to which postfix/procmail
are continuously delivering new messages.

Please also note that the another_procmail_file.rc file would have the
form:

        if     (some condition is satisfied)
                        move message to other inbox
        else            LEAVE it in inbox.waiting

The question is, will it work without corrupting any message?  This is
where the existing documentation is really not clear to me.

Do I need to put some obscure switch in another_procmail_file.rc or it
can be the very same file I'd use on an offline mbox file (something I
_know_ how to handle?)

Thanks!

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