Server-side Sieve Filters Not Active...?

Hi,

I'm currently looking to implement Snow Leopard Server for my organisation, I'm having problems with Server Side Filters. I can add and edit Sieve Rules fine from the web UI, and I can see them created in /Library/EmailRules/sievescripts/ as .sieve files.

Apple 10.6 Documentation indicates that the lines:

sieve 2000/udp # Sieve mail filtering
Sieve 2000/tcp # Sieve mail filtering

Should be added to /etc/services, which I have I done.

However when I send email matching these rules nothing appears to be filtered.

I decided to take a look in /etc/dovecot/dovecot.conf and I've noticed that in the "managesieve" section there are the lines

listen = *:2000
sieve = /var/spool/imap/dovecot/sieve-scripts/%u/dovecot.sieve

This appears to be different from the location where the Sieve scripts are actually generated. Is this why there is no Server-side filtering being performed...? Should I alter the Dovecot configuration or is there somewhere that configures Sieve...?

Thanks in advance for any tips and advice...

J

Mac OS X (10.6)

Posted on Sep 7, 2009 12:30 AM

Reply
24 replies

Sep 23, 2009 3:43 PM in response to Shane Depner1

I just did a locate for it and ran it before. But you are right...it is indeed a symlink. But I just had another user who needed to have his vacation on. We created his vacation notice, ran it (the symlink) and tested. Worked flawlessly.

I also removed any and all traces of my previous 10.5 server install of avelseive.

What really really helped me was having that test server. That way I knew what was old and what was new seive, and also what permissions should have been.

Sep 28, 2009 5:38 AM in response to Shane Depner1

i was getting exactly the same errors trying to access the emailrules and vacation pages. what i did was to configure the web service /settings/ wiki / External Web Services to 127.0.0.1 instead of the FQDN or actual IP.
i had messed about with the majority of /etc/emailrules contents so i binned the lot and it recreated them, after that its all working.

i hope this helps.

Nov 9, 2009 7:32 PM in response to Alex Reid - Clockwork

Hey Alex,

Thanks for that. I put 127.0.0.1 in also and that worked for me too. It is strange I actually got this working previously by having nothing in "web service /settings/ wiki / External Web Services" and after a while it stopped working. Not sure what stopped it working. It is hard to notice when it stop working as once your rules are in they keep working, you just notice it not working when you change rules and you don't notice they expected change. Or if someone adds a rule and it doesn't work for them.

Thanks also to CLWolf for mentioning wiki sievemanager as that is handy to know about.

Regards,
Fabcat

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Server-side Sieve Filters Not Active...?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.