I'm trying to make a macro which moves messages older than
x to another folder. I did

folder-hook !"!" \
push 'T~d\ -`date --date "1 month ago" +%d/%m/%y`\n\
s<right>-`date --date "1 month ago" +%y-%m`'

But I stucked with two problems:

1) I want to make mutt save tagged emails in <current_folder>-xx-xx
   (now is what it suggests and `-xx-xx', but in some cases it's not
   proper);
2) Saving should be executed only when there are expired messages.
   (now it happens every time I open a mailbox).

Does anybody have an idea how to get rid of them? Maybe there is
a `ready-to-use' solution not based on mutt?

-- 
Daniel `bonkey' Bauke 
http://ogurek.pi.pl/~bonkey/

Reply via email to