How to run spamassassin on a mail server

From ThorstensHome
Revision as of 07:04, 17 September 2006 by ThorstenStaerk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

/etc/init.d/webmin start

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.

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.