After migrating a client from server 10.6 to 10.8 the client really wanted the ability to post 'out of the office' or 'vacation' messages like they could do in server 10.6. They really really missed webmail.
We installed Roundcube mail, which has a filters (sieve) that can be set in an on/off fashion, not unlike voice mail. Once the person returned to work, they will need to turn the vacation-rule off (disable).
The trouble started when old 'vacation' messages were being send out. It was clear that these messages came in from before the migration and were moved from the osx 10.6 wiki_server_rules.sieve. The questions as were were the .sieve rules stored that were still active.
In server 10.8 the active sieve rules are stored:
location
/Library/Server/Mail/Data/rules/A3E23DD0-990F-44FC-0000-AE0777A8048F/
The latter GUID is the User GUID. You can use Directory Utility to look up the correct GUID of your users.
Typically your see stuff like this
-rw------- 1 _dovecot mail 1687 Apr 1 10:35 .dovecot.lda-dupes
-rw------- 1 _dovecot mail 4172 Dec 14 12:29 .dovecot.lda_dupes
lrwxr-xr-x 1 _dovecot mail 23 Dec 13 23:50 dovecot.sieve -> wiki_server_rules.sieve
-rw------- 1 _dovecot mail 532 Dec 14 01:10 dovecot.sievec
-rw------- 1 _dovecot mail 914 Dec 14 14:13 dovecot.svbin
-rw------- 1 _dovecot mail 550 Dec 13 23:50 wiki_server_rules.sieve
And this is what a clean Roundcube -made GUID sieve directory should look like.
ash-3.2# ls -l
total 16
-rw------- 1 _dovecot mail 247 Apr 1 10:39 Default Set.sieve
lrwx------ 1 _dovecot mail 17 Apr 1 10:38 dovecot.sieve -> Default Set.sieve
drwx------ 2 _dovecot mail 68 Apr 1 10:39 tmp
For us the earliest way was to rename the old rules directory:
Rename the rules directory to reset all rules. (And fix permissions)
mv rules rules_old
mkdir rules
chmod 775
chown _dovecot:mail rules
ls -l
drwxrwxr-x 3 _dovecot mail 102 Apr 1 10:38 rules
drwxrwxr-x 33 _dovecot mail 1122 Apr 1 10:29 rules_bad
All filter rules in Roundcube are lost and have to be recreated.
We hope that helps you.