How to run spamassassin on a mail server
For some reasons, for example if you use your own webmail server, you may want to run spamassassin on your mail-server, not in the mail program. This gives you an overview how you can do this with Linux. We will set up a mail server that fetches mail from a remote server and deletes the spam mails.
- configure fetchmail via webmin
Point your browser to http://localhost:10000/fetchmail/, use your browser to configure fetchmail.
- configure spamassassin via webmin
Point your browser to http://localhost:10000/spam/, use your browser to configure spamassassin.
- configure procmail via webmin
Know: Procmail processes incoming mails. One option is to feed the mail through spamassassin.
Do: Point your browser to http://localhost:10000/procmail/, make sure that Feed to program /usr/bin/spamassassin is set to Always execute action.
- fetch your mails
Point your browser to http://localhost:10000/fetchmail/index.cgi, click onto "check all servers".
- read your mails
Point your browser to http://localhost:10000/mailboxes/, click onto your username.