procmail
[Top] [All Lists]

RE: reprocessing an mbox of mail already received

2002-05-13 05:36:21

Last but not least: I understand the sandbox suggestion, but can't
remember how do you re-process from the command line a mailbox file
previously created. What's the trick?

Andrew replied,

| Assuming an mbox mail file, "cat mailbox | formail -s procmail"

Give that man a UUCA.  Better,

 formail -s procmail < mailbox

If you are positive that there is only one message in the file,

 procmail < mailbox

will do the job.


Quick question here, and this may be a Courier IMAP issue rather than a 
procmail question, but here goes.

Courier IMAP appears to use the last modified date of the file when using 
Maildir format, as the "received" date.  Is it possible to get Procmail to 
tweak the Maildir file modified date so that it doesn't appear that all emails 
are new after reprocessing (as you would get if you used a modification of the 
idea above to reprocess a Maildir)

Thanks

Ed W
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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