I get some mails arriving (on an IMAP server) with subject like:
[1270503] apple [1272481] bottle [172481] wine [43172481] grapes
I need these letters to be moved in INBOX.CSR.number where number is the one standing in "[ ]" s in the subject. The mailbox shall be created, if does not exists.
Since I'm not familiar with LUA programming language, I find difficult setting up imapfilter (http://imapfilter.hellug.gr/) to do this.
update1: i need to rearrange the letters on the IMAP account folders. No file operations possible.