Line 8: |
Line 8: |
| | | |
| ====Bayes==== | | ====Bayes==== |
− | yum install perl-Mail-IMAPClient --enablerepo=extras | + | yum install perl-Mail-IMAPClient --enablerepo=smecontribs |
| | | |
| Create a new script-file: | | Create a new script-file: |
Line 94: |
Line 94: |
| ====Zarafa==== | | ====Zarafa==== |
| Create a user-account in Zarafa for reading the public spam-folders. | | Create a user-account in Zarafa for reading the public spam-folders. |
− | db method, Replace the <MyPassword> with a proper strong password.
| + | |
| + | db method, Replace the <MyPassword> with a proper strong password. |
| zarafa-admin -c 'SpamAdmin' -p '<MyPassword>' -f 'Spam Administration Account' -e root@localhost | | zarafa-admin -c 'SpamAdmin' -p '<MyPassword>' -f 'Spam Administration Account' -e root@localhost |
− |
| + | If you have configured Zarafa to use the unix method and if you enable Zarafa usage on a per user base: |
− | unix method, if per user
| |
| db accounts setprop SpamAdmin zarafa enabled | | db accounts setprop SpamAdmin zarafa enabled |
| /etc/e-smith/events/actions/qmail-update-user | | /etc/e-smith/events/actions/qmail-update-user |
Line 118: |
Line 118: |
| ====Cron==== | | ====Cron==== |
| Create a new crontab fragment: | | Create a new crontab fragment: |
− | pico /etc/e-smith/templates/etc/crontab/91_SpamAssasinLearn | + | nano -w /etc/e-smith/templates/etc/crontab/91_SpamAssasinLearn |
| | | |
| Add the following to the template (change the execution times to your own likings -- [http://en.wikipedia.org/wiki/Cron Wikipedia on Cron]): | | Add the following to the template (change the execution times to your own likings -- [http://en.wikipedia.org/wiki/Cron Wikipedia on Cron]): |