[Dovecot] Sieve on full mailbox
Hi,
We are using dovecot with "mail_plugins = cmusieve". I have Avelsieve in SquirrelMail for users to interact with it.
Is there any way I can allow users to run their sieve script on an entire mailbox? While the normal case of having messages filtered as they are delivered to the Maildir makes sense it would be useful for a few users to be able to apply their rules to every message on a one-off basis.
If there is a binary which will do this job? I could adapt the SquirrelMail interface to invoke it with appropriate arguments.
Thanks,
Ian
On Thu, July 9, 2009 17:15, ian@comtek.co.uk wrote:
We are using dovecot with "mail_plugins = cmusieve". I have Avelsieve in SquirrelMail for users to interact with it.
okay
Is there any way I can allow users to run their sieve script on an entire mailbox?
?
While the normal case of having messages filtered as they are delivered to the Maildir makes sense it would be useful for a few users to be able to apply their rules to every message on a one-off basis.
this is pretty much how dovecot sieve works in my setup, can you explain it in more detail ?
maybe even try self using it ? :)
If there is a binary which will do this job?
i would like to know what job first
I could adapt the SquirrelMail interface to invoke it with appropriate arguments.
if it can be done in sieve then yes
-- xpoint
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 9 Jul 2009, ian@comtek.co.uk wrote:
If there is a binary which will do this job? I could adapt the SquirrelMail interface to invoke it with appropriate arguments.
For cmusieve there is nothing like that, but for the new libsieve - which is 100% compatible with cmusieve scripts to my knowledge. There had been a question like that in near past and an answer by Stephan Bosch.
The other alternative is, also in the archive, to redeliver the mail, aka calling Dovecot deliver for the message again.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSlcMdnWSIuGy1ktrAQLVywf7B61zzpIBfUYj1qFbrIY5Vr+jTHmQe6By ah+spsU7U713w+enpokwo+M9hE2efSzaq96clgnuc8SaH5IlwabOZLMkYYO9xGQg UjVBwfcS+hkoxcIa21r9CQ+aMTWrGQwsAs5YZSi55KlGkl0VXELYS12+QhZKjkeH Neym+DUSg4kHfe7Si7iJUeszxGKaNwSpIra7vmy5feacBhqtC3sK8OOhFXRSFxbY 8Zg31KlRIeEHqwuylx1meOrzkJBOTUEgb/p2GPzdPk5g/3QTXsk2sy6MvTCkHCpx rguvwqyXv4I7PWlhWg2ibTylkYjWK5GGElxNCVpUf6f7ZibyGaytcg== =e+qG -----END PGP SIGNATURE-----
participants (3)
-
Benny Pedersen
-
ian@comtek.co.uk
-
Steffen Kaiser