Tony's ramblings on Open Source Software, Life and Photography


eGroupWare + Cyrus sieve filters

I found eGroupWare sieve filters with Cyrus a little bit confusing.

It took me a while to figure out what was going on, but a little poking around inside the /etc/sieve tree finally shed some light on the subject.Initially I had set myself up as a Cyrus administrator. I thought 'hey, I'm an admin, let's make it easy to admin things.' My first notice that things were strange had to do with the way new folders in my e-mail worked. I couldn't put my finger on it, but I kept having strange things happen.

Then, just now I realized that when I removed admin from myself, all my sieve scripts disappeared from eGroupWare. It turned out that as an admin, every filter I created was GLOBALLY installed on the server and affected every e-mail account. I'm pretty sure that others don't want me sorting their mail into my boxes for them.

I had to set myself back as admin, delete my filters, then remove my admin again. This allowed me to then create filters that ended up in the proper location. All filters I created as admin went into /etc/sieve/global/ instead of /etc/sieve/t/tony/

There's a nice tidbit of documentation they don't mention. Moral of the story? Don't set your own account as a Cyrus admin.