Hi. Thanks for your hints, I altered the file but sadly, there is no change in behavior. It's like sieve is not doing anything at all. if header :contains ["subject"] ["Test"] { fileinto :create "Folder1"; } else { fileinto :create "Folder2"; } The lda_mailbox_autocreate option seems to be a version 2.0 feature. I am using 1.2.9. Thanks Martin Am 19.06.2012 um 09:51 schrieb A.L.E.C:
On 06/18/2012 07:44 PM, Martin Weil wrote:
require "fileinto"; if header :contains ["subject"] ["Test"] { fileinto ".Folder1"; } else { fileinto ".Folder2"; }
Of course Folder1 and Folder2 do exist. (/var/mail/vmail/domain.com/user/mail/.Folder1 and Folder2)
Don't add a dot on the beggining of the folder name in sieve scripts. Use fileinto :create "folder" or lda_mailbox_autocreate option to create non-existing folders.
-- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl