I have followed the excellent tutorial located here http://workaround.org/ispmail/squeeze/content-scanning-amavis and I have setup an email server on Debian. Everything was up and running with a few differences (I have my users in a different server but wanted the mail stored on the localhost).
The only issue I had was when an email client was connecting, and a spam email came to dovecot, the sieve would work as in the tutorial but the headers would not be added to the message itself. After a lot of searching I figured out that if the folder did not exist, then dovecot would just deliver the email to the inbox. So to create the default folders for every user just edit /etc/dovecot/dovecot.conf and add the following:
Now to figure out how to install Horde Groupware 5 on this server...
The only issue I had was when an email client was connecting, and a spam email came to dovecot, the sieve would work as in the tutorial but the headers would not be added to the message itself. After a lot of searching I figured out that if the folder did not exist, then dovecot would just deliver the email to the inbox. So to create the default folders for every user just edit /etc/dovecot/dovecot.conf and add the following:
Now to figure out how to install Horde Groupware 5 on this server...