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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol imap { | |
mail_plugins = quota imap_quota autocreate | |
} | |
plugin { | |
autocreate = Trash | |
autocreate2 = Spam | |
autosubscribe = Trash | |
autosubscribe2 = Spam | |
} |
Now to figure out how to install Horde Groupware 5 on this server...