I see that no one responded. After a lot of research and testing this is what I've learned:
the plugin settings are contained in /etc/dovecot/dovecot.conf
However, those are generated by Zentyal, so any changes you make in that file may go away next time Zentyal updates the settings. So you have to put the settings in the templace file which is located here:
/usr/share/zentyal/stubs/mail/dovecot.conf.mas
It's a bit tricky to find the spot in the file because it is just the template.
Here is what I did:
##
## Plugin settings
##
plugin {
quota = maildir:User quota
quota_rule = *:storage=0
sieve = /var/vmail/%Ld/%Ln/user.sieve
sieve_global_path = /var/vmail/default.sieve
sieve_storage = /var/vmail/%Ld/%Ln
sieve_dir = /var/vmail/%Ld/%Ln
sieve_before = /var/vmail/default.sieve
sieve_after = /var/vmail/%Ld/%Ln/user.sieve
}
Here is what it means:
sieve = is the directory where the user sieve script goes. The %Ld and %Ln (correct me on this) seem to be variables that ultimately mean the domain and name of the user.
Sieve_global_path = is the locatino of the global sieve script.
It will be executed only if there aren't any user scripts. Once you create a script for an individual user, the global script will no longer be executed for that user.
I don't know what the storage and dir settings mean.
A word about scripts before I finish with the settings: The scripts need to have the name .sieve to be found. I named mine default.sieve and user.sieve. When they are first run they will be compiled. When you change the script, it will need to be recompiled. You can force this by running sievec <script name>.
I have some scripts dealing with spam in the default sieve file. They pertain to all users. However, if you need a
vacation response script, you must do it for the individual user. This, then, disables the global script for that users,
causing the spam scripts to not be run. That is bad. So I discovered that you can set it so that the global is run before any other scripts by using the
sieve_before =
setting. That tells sieve to run that script before any others.
Then the
sieve_after =
setting is set to the location of the user scripts.
I hope this helps other people figure this out.