procmail
[Top] [All Lists]

Re: possible to procmail all existing fetched mails?

2009-04-07 01:32:22
On 6-Apr-2009, at 22:48, David W. Tamkin wrote:
for message in cur/* new/* tmp/*
do [ -f "$message" ] && procmail < $message
# the -f test is in case a directory is empty
# and a wildcard remains unsubstituted
done


find ~/Maildir/{cur,new} -type f -exec procmail < {} \;
find ~/Maildir/.*/{cur,new} -type f -exec procmail < {} \;

I think that works...

--
My mind is going. There is no question about it. I can feel it. I can
        feel it. I can feel it. I'm... afraid.

____________________________________________________________
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