[imapfilter-devel]problem with sub-folders
Lefteris Chatzibarbas
lefcha at hellug.gr
Sat Feb 22 14:51:02 EET 2003
On Fri, Feb 21, 2003 at 08:08:15PM +0100, Lederrey Guillaume wrote:
> Thanks a lot for that answer ! I tried to fight with that for a
> moment, but I cant seem to get anywhere. When I use a simple "move"
> action, the messages dont end in a subfolder (that is
> INBOX.Folder.Subfolder ends up in INBOX.Subfolder).
Do you have the namespace option enabled? By default it is enabled. In this
case you should define your filter like this:
filter foo
...
action move Folder/Subfolder
If you have disabled the namespace option ("set namespace = no"), then
your filter should look like this:
filter qux
...
action move INBOX.Folder.Subfolder
Of cource it is assumed that your IMAP mail server uses the Maildir format
for mailbox (folder) hierarchy.
> When I try to use rmove (if I understand well, that is what I should use) I
> get an error : "imapfilter: writing data; Connection reset by peer".
No, the rmove/rcopy actions are used if you want to move/copy your mail to
a different IMAP mail server that the one that it resides. For sorting of mail
in the same mail server use copy/move.
> If you need any other infos to understand my problem, just tell me !
If you still can't make it work, send the filter you declare in the config
file.
More information about the Imapfilter-devel
mailing list