On Sunday, December 18 at 07:03 PM, quoth Heiko Heil:
Hello Mutt Users, I have written the following macro: macro index \ch "<tag-pattern>~s\\\\*\\\\*\\\\*SPAM\\\\*\\\\*\\\\*\n<tag-prefix>s=Junk\n$\n" "move junk" It moves all subject-marked junkmails in my Junk-Folder. It works like a charm, but it also moves the selected message when there are no junkmails in my inbox. Is it possible to abort the macro, when the is no match? Any (non-procmail) ideas?
I haven't tested it, but I see <tag-prefix-cond> -- that might work for you.
~Kyle --When the people fear the government, there is tyranny; when the government fears the people, there is liberty.
-- Thomas Jefferson
Attachment:
pgpG97UYRaF51.pgp
Description: PGP signature