Re: Procmail: re-sort all messages

2010-05-08 Thread Alexander Batischev
On Fri, May 07, 2010 at 02:30:06PM +0100, Jon Dowland wrote: > You can invoke procmail by piping an email to it. > > find $LOCAL_MAIL_DIR -type f | while read mail; do procmail < "$mail"; done That's it! Thank you very much! Thank you Monique Y. Mudama and Chris Bannister for nice hints, too — no

Re: Procmail: re-sort all messages

2010-05-08 Thread Chris Bannister
On Fri, May 07, 2010 at 03:38:51PM +0300, Alexander Batischev wrote: > Hi, > > I've just installed fetchmail → procmail → mutt → msmtp chain and want > to configure procmail properly. Of course, I can't write all the rules > in the right way from scratch, so there must be some testing. The only >

Re: Procmail: re-sort all messages

2010-05-07 Thread Monique Y. Mudama
On Fri, May 7 at 15:38, Alexander Batischev penned: > Hi, > > I've just installed fetchmail ??? procmail ??? mutt ??? msmtp chain > and want to configure procmail properly. Of course, I can't write > all the rules in the right way from scratch, so there must be some > testing. The only way to che

Re: Procmail: re-sort all messages

2010-05-07 Thread Jon Dowland
On 07/05/10 13:38, Alexander Batischev wrote: > So here is what I'm looking for: is there a way to run procmail on > already downloaded messages? Maybe I should download them to separate > directory and run procmail on it? Maybe I can just pass existing > (already sorted) mail directory to procmail

Procmail: re-sort all messages

2010-05-07 Thread Alexander Batischev
Hi, I've just installed fetchmail → procmail → mutt → msmtp chain and want to configure procmail properly. Of course, I can't write all the rules in the right way from scratch, so there must be some testing. The only way to check how rules works is actually run procmail and see what happens. Here