How to setup spamassassin and how to use for your spam processing

  • When you received a message sent directly to a real address like the message skips spam processing
  • You can arrange for all your spam filtering to be run on by following the steps outlined here


  • The method offloads the heaviest part of spam filtering from machines that do not have enough processing power or disk space to handle heavy loads.
  • Leverages a centrally maintained server for all spam processing


  • First, if you have not yet set up spamassassin, run the script spamassassin-setup
    Note you can run the command on the cpu*.cs machines on the CS environment, since they share the same file space as both the IMAP server,, and the incoming mail server,
  • If you have an existing spamassassin user preferences file (~/.spamassassin/user_prefs) or you have changes you can use these links to make updates


~/.procmailrc that uses:
  • MAILDIR=${HOME}/Mail
  • LOGFILE=${HOME}/procmail.log
# tag messages resembling spam (assumes 'spamd' is running)
| /software/spamassassin/bin/spamc -d
# If you want messages marked as spam placed in $MAILDIR)/junk
# uncomment the next three lines
#* ^X-Spam-Status: Yes
# Everything else goes to its normal mailbox

Summary (after the changes are made):

  • If someone sends email to the cluster will process your email before your mail server sees it
  • If someone sends email to then your local .procmailrc file will process it through
  • Note: if processes it first then spamd will not have to do any more work once it ends up on your mail server
  • If you want to update your user_prefs file just make edits to your local file and re-upload it using these links


Updating your settings on the IST cluster

IST rejected email

If your inbound messages are being rejected by IST you can check this link

-- MikeGore - 16 July 2004, LawrenceFolland - 25 Nov 2004

Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r14 - 2013-10-01 - AdrianPepper
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback