Hi again, FYI: this is the way it works for me: require ["fileinto", "mailbox"]; if header :contains "X-Spam-Flag" "YES" { fileinto :create "Spamverdacht"; } If the specified mailbox does not exist, it will be created. Regards Patrick