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

2009-11-16 Thread Andrey Garkin

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!!!


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

2009-11-16 Thread Andrey Garkin

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

2009-04-13 Thread Andrey Garkin

Hi All!!!
I have successfully configure my mail server. Dovecot+Postfix+Mysql.
It is work.
In the mail.log I see:
postfix/pipe[19520]: DFCCC640048: to=, relay=dovecot, 
delay=0.19, delays=0.06/0.07/0/0.07, dsn=2.0.0, status=sent (delivered 
via dovecot service)

But the sieve plugin isn't work. :'(
My dovecot.conf:
plugin {
sieve = /home/vmail/domain.ru/u...@domain.ru/dovecot.sieve
}
/In the dovecot.log I see:/
Error: 
sieve_execute_bytecode(/home/vmail/domain.ru/u...@domain.ru/dovecot.sievec) 
failed

/In the dovecot-info.log I see:/
Info: cmusieve: Using sieve path: 
/home/vmail/domain.ru/u...@domain.ru/dovecot.sieve

deliver(u...@domain.ru):
Info: cmusieve: Executing script 
/home/vmail/domain.ru/u...@domain.ru/dovecot.sievec



Please Help Me... :'(


[Dovecot] Dovecot+Sieve

2009-04-06 Thread Andrey Garkin

Hi All!!!
I'm configure mail server with Postix+Mysql+Dovecot.
How can I'm using to work sieve plugins?
My dovecot.conf
/protocol lda {
mail_plugin_dir = /usr/lib/dovecot/lda
#sendmail_path = /usr/sbin/postfix
#auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = cmusieve
#global_script_path = /etc/sieve.conf
}
plugin {
sieve = /etc/sieve.conf
sieve = /home/vmail/domain.ru/u...@domain.ru/.dovecot.sieve/

My sieve.conf
cat sieve.conf
/require "fileinto";
if header :contains "Subject" "***SPAM***" {
fileinto ".Spam";
stop;
My .dovecot.sieve
require "fileinto";
if header :contains "Subject" "***SPAM***"  {
fileinto ".Spam";
stop;
}/

The mail server is already installed and work, but the sieve plugins is 
not work(((

/ls /usr/lib/dovecot/lda
lib01_acl_plugin.so   
lib11_trash_plugin.so
lib20_expire_plugin.so 
lib20_mail_log_plugin.so  
lib90_cmusieve_plugin.la
lib10_quota_plugin.so 
lib20_convert_plugin.so 
lib20_fts_plugin.so
lib21_fts_squat_plugin.so 
lib90_cmusieve_plugin.so/



All messages marked as ***SPAM*** ,  get to a folder the .INBOX...
_Sieve plugins is not working._
In what there can be a problem?

Thanks for All!!!
Best Regards Andrey...