Lucio Crusca writes:

Hello,

I've just edited my .mailfilter. Is it possible to run it once again for every already delivered message in my INBOX root maildir only, so that maildrop moves my messages in the respective new subfolders, according to the new .mailfilter rules?

There's no automatic way to do it. But, what you can do is manually move all messages from INBOX to a temporary directory, and then have a short script run maildrop in a loop, for each message on its standard input.

Something like:

cd $HOME
mkdir inbox.tmp
mv Maildir/cur/* inbox.tmp
for f in inbox.tmp/*
do
  maildrop <$f
done

Attachment: pgp0GL1B_qYFP.pgp
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to