[Dovecot] Dovecot+Sieve Please Help!...
Dovecot Sieve Plugin... 1. ./configure --with-dovecot=/usr/lib/dovecot make make install protocol lda { postmaster_address = postmas...@kipalex.ru mail_plugins = sieve } plugin { sieve = /home/vmail/kipalex.ru/and...@kipalex.ru/dovecot.sieve } 2. dovecot.sieve file in /home/vmail/kipalex.ru/and...@kipalex.ru require fileinto; if header :contains Subject ***SPAM*** { fileinto /home/vmail/kipalex.ru/and...@kipalex.ru/.Spam/new; } And in the dovecot.log I see: 2009-11-16 13:45:55 deliver(and...@kipalex.ru): Error: sieve: msgid=351009bd0911160227r6ef9f39fja32c2893cb7fc...@mail.gmail.com: failed to store into mailbox '/home/vmail/kipalex.ru/and...@kipalex.ru/.Spam/new': Invalid mailbox name 2009-11-16 13:45:55 deliver(and...@kipalex.ru): Error: sieve: execution of script /home/vmail/kipalex.ru/and...@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???
Re: [Dovecot] Dovecot+Sieve Please Help!...
Andrey Garkin schrieb: Dovecot Sieve Plugin... 2. dovecot.sieve file in /home/vmail/kipalex.ru/and...@kipalex.ru require fileinto; if header :contains Subject ***SPAM*** { fileinto /home/vmail/kipalex.ru/and...@kipalex.ru/.Spam/new; } AFAIK it should just be fileinto Spam Thomas
Re: [Dovecot] Dovecot+Sieve Please Help!...
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 = postmas...@kipalex.ru mail_plugins = sieve } plugin { sieve = /home/vmail/kipalex.ru/and...@kipalex.ru/dovecot.sieve } 2. dovecot.sieve file in /home/vmail/kipalex.ru/and...@kipalex.ru require fileinto; if header :contains Subject ***SPAM*** { fileinto /home/vmail/kipalex.ru/and...@kipalex.ru/.Spam/new; } And in the dovecot.log I see: 2009-11-16 13:45:55 deliver(and...@kipalex.ru): Error: sieve: msgid=351009bd0911160227r6ef9f39fja32c2893cb7fc...@mail.gmail.com: failed to store into mailbox '/home/vmail/kipalex.ru/and...@kipalex.ru/.Spam/new': Invalid mailbox name 2009-11-16 13:45:55 deliver(and...@kipalex.ru): Error: sieve: execution of script /home/vmail/kipalex.ru/and...@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.0932...@localdomain.org
Re: [Dovecot] Dovecot+Sieve Please Help!...
Pascal Volk пишет: 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 = postmas...@kipalex.ru mail_plugins = sieve } plugin { sieve = /home/vmail/kipalex.ru/and...@kipalex.ru/dovecot.sieve } 2. dovecot.sieve file in /home/vmail/kipalex.ru/and...@kipalex.ru require fileinto; if header :contains Subject ***SPAM*** { fileinto /home/vmail/kipalex.ru/and...@kipalex.ru/.Spam/new; } And in the dovecot.log I see: 2009-11-16 13:45:55 deliver(and...@kipalex.ru): Error: sieve: msgid=351009bd0911160227r6ef9f39fja32c2893cb7fc...@mail.gmail.com: failed to store into mailbox '/home/vmail/kipalex.ru/and...@kipalex.ru/.Spam/new': Invalid mailbox name 2009-11-16 13:45:55 deliver(and...@kipalex.ru): Error: sieve: execution of script /home/vmail/kipalex.ru/and...@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 Yes Thanks! it Works!!! But: As to me to adjust that it is global for all domains and users worked. Or so it is impossible? Thanks for All!!!