[imapfilter-devel] Wishes about folders and his names

Lefteris Chatzibarbas lefcha at hellug.gr
Wed Jan 28 22:40:54 EET 2004


On Mon, Jan 26, 2004 at 04:03:32PM +0500, Igor Klingen wrote:
> Hi Lefteris!
> 
> 1. If names of folders IMAP contain national symbols, then in 'folder' 
> and some 'action's of them it is necessary to write in UTF7.
> It would be very convenient to write them in the coding specified in the 
> variable 'charset'. In UTF7 let transforms imapfilter.

Hmm... the locale enviroment variable would define the input character
set, and with the help of conversion routines (iconv())...  I will check
it out...

> 
> 2. Frequently it happens it is necessary copy the messages in some 
> folders simultaneously. For this purpose it is necessary to write some 
> actions or filters.
> It would be very convenient allow in such actions as copy, rcopy, move, 
> rmove and similar, to use as folder's names aliases determined in 
> 'folder' sections:
> 
> ...
> account ac1
>   folder my_friends friend1 friend2
> ...
> filter f1 or
>   mask ...
> action copy my_friends
> 
> In this case, will disappear necessity for key words 'rmove' and 'rcopy' 
> since it is possible on current 'job' and alias determine what command 
> IMAP to use.

You can do this with something like:

  account ac1
    folder my_friends friend1,friend2

  filter f1 or
    mask ...
  action copy $_

  job f1 my_friends

Also, this would break many things in the configuration file and I can't
see any great advantages that would justify the change.




More information about the Imapfilter-devel mailing list