2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: Refiltering Inbox.
FromSent OnAttachments
pa...@topguncomputers.comOct 21, 2003 5:23 am 
Sam VarshavchikOct 22, 2003 12:54 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: Refiltering Inbox.Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Oct 22, 2003 12:54:39 am
List:net.sourceforge.lists.courier-maildrop

pa@topguncomputers.com writes:

I know I saw a script the other day online, that shows you how you can run maildrop manually to refilter your Maildir inbox.

I've tried the following so for

maildrop < /home/paul/Maildir/cur/*

But that gives me an ambiguous redirect error message

now if I enter int the the following

maildrop < /home/paul/Maildir/cur/10667491.1123C10090000... etc...

The end number is just an imaginary I made up to post here.

Everything runs fine.

No, it's not. The original message is still in the cur directory, now you've also got a filtered duplicate copy in the new directory.

So I thought will I'll make up a bash script

#!/bin/bash for i in '/home/paul/Maildir/cur/*'; do maildrop < $i; done

But when I run it I'm back to the ambiguous redirect error message.

Move everything from cur into a temporary directory first, also use

And get rid of the apostrophes.