Re: [Dovecot] Move messages marked as Spam

2009-10-08 Thread Michel Bulgado
On Thu, 2009-10-08 at 14:46 +0200, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 8 Oct 2009, mic...@casa.co.cu wrote: > > > if header :contains "X-Bogosity" "Spam" { > > fileinto "Spam"; > > stop; > > } > > > > server log > > > >

Re: [Dovecot] Move messages marked as Spam

2009-10-08 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 8 Oct 2009, mic...@casa.co.cu wrote: if header :contains "X-Bogosity" "Spam" { fileinto "Spam"; stop; } server log mailserver deliver(mic...@casa.co.cu): msgid=<1255000600.4acdca18a3...@webmail.sld.cu>: saved m

Re: [Dovecot] Move messages marked as Spam

2009-10-08 Thread Charles Marcus
On 10/8/2009 7:28 AM, mic...@casa.co.cu wrote: > michel.sieve > > require "fileinto"; > > if header :contains "X-Bogosity" "Spam" { > fileinto "Spam"; > stop; > } I'm no sieve expert, but I think you need to change 'stop' to 'keep'? -- Best regards, Charles

Re: [Dovecot] Move messages marked as Spam

2009-10-08 Thread michel
Thomas Leuxner escribió: Am 07.10.2009 um 21:10 schrieb Michel Bulgado: global-default.script # require ["include"]; include :global "global-spam.script"; global-spam.script ### require "fileinto"; if header :contains "X-Bogosity" "Spam" { fileint

Re: [Dovecot] Move messages marked as Spam

2009-10-07 Thread Thomas Leuxner
Am 07.10.2009 um 21:10 schrieb Michel Bulgado: global-default.script # require ["include"]; include :global "global-spam.script"; global-spam.script ### require "fileinto"; if header :contains "X-Bogosity" "Spam" { fileinto "Spam"; stop; }

Re: [Dovecot] Move messages marked as Spam

2009-10-07 Thread Michel Bulgado
On Wed, 2009-10-07 at 18:39 +0200, Thomas Leuxner wrote: > Am 07.10.2009 um 18:29 schrieb mic...@casa.co.cu: > >> There is an option of deliver to control this -n: > >> http://wiki.dovecot.org/LDA > >> > >> Bye, > > > > > > no desire to control or limit the script > > > > wondered whether the scrip

Re: [Dovecot] Move messages marked as Spam

2009-10-07 Thread Thomas Leuxner
Am 07.10.2009 um 18:29 schrieb mic...@casa.co.cu: There is an option of deliver to control this -n: http://wiki.dovecot.org/LDA Bye, no desire to control or limit the script wondered whether the script to run and find some header message marked as spam, is able to create for itself a folde

Re: [Dovecot] Move messages marked as Spam

2009-10-07 Thread michel
Steffen Kaiser escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 7 Oct 2009, Michel Bulgado wrote: a question, after the script run for each incoming message, once the filter matches any message marked as spam, the script create the folder in the mailbox of my users and or i ha

Re: [Dovecot] Move messages marked as Spam

2009-10-07 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 7 Oct 2009, Michel Bulgado wrote: a question, after the script run for each incoming message, once the filter matches any message marked as spam, the script create the folder in the mailbox of my users and or i have create manually? There

Re: [Dovecot] Move messages marked as Spam

2009-10-07 Thread Michel Bulgado
On Wed, 2009-10-07 at 14:16 +0200, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tue, 6 Oct 2009, mic...@casa.co.cu wrote: > > > my question is: where I put this: > > It depends on your Sieve version: > > cmusieve needs the script in /.dovecot.sieve or you confi

Re: [Dovecot] Move messages marked as Spam

2009-10-07 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Oct 2009, mic...@casa.co.cu wrote: my question is: where I put this: It depends on your Sieve version: cmusieve needs the script in /.dovecot.sieve or you configure one script for all users. libsieve uses /.dovecot.sieve, too, and yo