Hello list.<br><br>I apologise if I am asking a stupid question(s), I am a complete POSIX n00b, but read as much as I can.<br><br>Cyrus IMAPD 2.2.12 on FreeBSD configured with sieve support, SquirrelMail with Avelsieve.<br>
<br>I need to create a global cyrus filter of any kind, so that all delivered mail messages marked as spam get filed into the spam folder for each user. I have read the cyrus documentation, and the CMU sieve documentation, and I cannot find any mention of such a (global script) feature. I have searched google for two days and am now in dire need of experienced help.
<br><br>I can see that procmail provides global funcitonality, but doesn&#39;t provide as much out of the box end user configurability as sieve, and is less secure and I am SURE there is at least one way to do it with sieve. I have found this info pertaining to global sieve scripts:
<br><br>1. Dovecot supports global scripts (if no user ones exist i think: <a href="http://wiki.dovecot.org/LDA/Sieve#head-8400c697c03f2d77fed4a5342119b2d26600da39">http://wiki.dovecot.org/LDA/Sieve#head-8400c697c03f2d77fed4a5342119b2d26600da39
</a> )<br>2. Looks like horde does too. ( <a href="http://lists.horde.org/archives/ingo/Week-of-Mon-20070101/001285.html">http://lists.horde.org/archives/ingo/Week-of-Mon-20070101/001285.html</a> )<br>2. Found a (google-cached) cyrus patch which sounds like it&#39;s very closely related ( 
<a href="http://cyrus-devel-1235.notlong.com">http://cyrus-devel-1235.notlong.com</a> )<br>3. Existing implementations (methods unexposed) ( <a href="http://www.imc.org/ietf-mta-filters/mail-archive/msg03302.html">http://www.imc.org/ietf-mta-filters/mail-archive/msg03302.html
</a> )<br>4. &#39;Sieve Include extension&#39; was recommended to someone asking a similar question, but I don&#39;t know how to batch update peoples scripts. ( <a href="http://www.irbs.net/internet/info-cyrus/0403/0118.html">
http://www.irbs.net/internet/info-cyrus/0403/0118.html</a> )<br>5. Autocreate patch seems to have a default sieve script which will be copied into the users sieve directory, but I don&#39;t want to re-create everyone.<br>
<br>6. Last resort, if you can point me to any reklated documentation which isn&#39;t the cyrus sieve two page doc or the protocol specification (unless thats heplful), that would really help.<br><br>7. If you know what method I could use to globally update everyones sieve scripts while maintaining their user scripts would be great, I am guessing its file manipulation rather than scripting sieveshell or managesieve but if yo know how to do that please point that out too.
<br><br>Also any documentation or knowledge about the Cryrus MDA would be useful too.<br><br>Thanks and sorry.