Originally Posted by till
The filter rule looks fine. Have you tried to move the email to another folder instead of deleting it?
Now I tested that. I said "move to test". The folder "test" didn't exist before. Now the folder is here (automaticly created) but no e-mail in it. The E-mail still in the normal Inbox.
The Costum Rules now is:
### BEGIN FILTER_ID:9
`test -e "$DEFAULT/.test" && exit 1 || exit 0`
if ( $RETURNCODE != 1 )
`maildirmake -f "test" $DEFAULT`
`chmod -R 0700 "$DEFAULT/.test"`
`echo "INBOX.test" >> $DEFAULT/courierimapsubscribed`
ID9EndFolder = "$DEFAULT/.test/"
### END FILTER_ID:9