On 11/16/2009 05:12 PM Andrey Garkin wrote:
Dovecot Sieve Plugin... 1.
./configure --with-dovecot=/usr/lib/dovecot make make install
protocol lda { postmaster_address = postmaster@kipalex.ru mail_plugins = sieve } plugin { sieve = /home/vmail/kipalex.ru/andrey@kipalex.ru/dovecot.sieve }
2. dovecot.sieve file in /home/vmail/kipalex.ru/andrey@kipalex.ru require "fileinto"; if header :contains "Subject" "***SPAM***" { fileinto "/home/vmail/kipalex.ru/andrey@kipalex.ru/.Spam/new"; }
And in the dovecot.log I see:
2009-11-16 13:45:55 deliver(andrey@kipalex.ru): Error: sieve: msgid=<351009bd0911160227r6ef9f39fja32c2893cb7fc54e@mail.gmail.com>: failed to store into mailbox '/home/vmail/kipalex.ru/andrey@kipalex.ru/.Spam/new': Invalid mailbox name 2009-11-16 13:45:55 deliver(andrey@kipalex.ru): Error: sieve: execution of script /home/vmail/kipalex.ru/andrey@kipalex.ru/dovecot.sieve failed, but implicit keep was successful
Mail system is already up and working...
Please Help... Why Dovecot plugin is not working???
The plugin is working fine. Your sieve script contains an error. Use: fileinto "INBOX.Spam;" Regards, Pascal -- The trapper recommends today: deadbeef.0932013@localdomain.org