[Dovecot] Dovecot+Sieve Please Help!...

Pascal Volk user+dovecot at localhost.localdomain.org
Mon Nov 16 14:30:55 EET 2009


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 at kipalex.ru
> mail_plugins = sieve
> }
> plugin {
> sieve = /home/vmail/kipalex.ru/andrey at kipalex.ru/dovecot.sieve
> }
> 
> 2. dovecot.sieve file in /home/vmail/kipalex.ru/andrey at kipalex.ru
> require "fileinto";
> if header :contains "Subject" "***SPAM***" {
> fileinto "/home/vmail/kipalex.ru/andrey at kipalex.ru/.Spam/new";
> }
> 
> And in the dovecot.log I see:
> 
> 2009-11-16 13:45:55 deliver(andrey at kipalex.ru): Error: sieve: 
> msgid=<351009bd0911160227r6ef9f39fja32c2893cb7fc54e at mail.gmail.com>: 
> failed to store into mailbox 
> '/home/vmail/kipalex.ru/andrey at kipalex.ru/.Spam/new': Invalid mailbox name
> 2009-11-16 13:45:55 deliver(andrey at kipalex.ru): Error: sieve: execution 
> of script /home/vmail/kipalex.ru/andrey at 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 at localdomain.org


More information about the dovecot mailing list