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

Reply via email to