[imapfilter-devel]How can I copy something from a subfolder to another subfolder?

Lefteris Chatzibarbas lefcha at hellug.gr
Fri Sep 6 18:45:02 EEST 2002


On Fri, Sep 06, 2002 at 04:16:06PM +0100, loguser at iol.pt wrote:
> How can I copy something from a subfolder to another subfolder?
> 
> Tree Example:
>  \- FOLDER "INBOX"
>  \- FOLDER "Test1"
>             \- SUBFOLDER "This is subfolter Test1"
>  \- FOLDER "Test2"
> 
> ##
> account useraccount xxxxx at xxx.xxx:xxxxx at xxxxx.xxx.xxx:143
>  folder inbox INBOX
>  folder test1 "Test1"
>  folder test1a "Test1/This is subfolter Test1"
>  folder test2 "Test2"
> 
> filter testaccount and
>  subject "John"
> action copy test1a
>
> [...]

This should be:

filter testaccount and
 subject "John"
action copy "Test1/This is subfolter Test1"

In action copy/move you define the actual name of the mailbox to copy/move
messages and not an alias (defined with keyword "folder").  The aliases that
the keyword "folder" defines, are used only when setting a "job" (like
the "filter" aliases).




More information about the Imapfilter-devel mailing list