Thursday, December 14, 2006

SpamAssassin on CentOS 4 Quickly

Here's how I did it company wide:
  1. install spamassassin. I used an RPM for ease, and went with 3.1.x for it's sophisticated new filters and sa-update ability.
  2. install perl module dependancy for sa-update:
      # perl -MCPAN -e "install Archive::Tar;"

  3. install procmail

  4. run sa-update:
    # sa-update

  5. start up spamassassin:
    # /etc/init.d/spamd start

  6. create global procmail rule like this:

    LOGFILE=/var/log/procmail.log

    # send mail thru spamassassin
    :0 fw
    * < 256000
    | /usr/bin/spamc -f -u $LOGNAME

    DROPPRIVS=YES

    # All mail tagged as spam (eg. with a score higher than the set threshold)
    # is moved to "spam".
    :0:
    * ^X-Spam-Status: Yes
    $HOME/mail/spam


  7. Don't forget to bootstrap SpamAssassin:
    # chkconfig --add spamassassin
    # chkconfig spamassassin on

Now all your users' mail that scores a 5.0 or greater (default settings) will go into a folder named 'spam'. Now isn't that nice.

Wednesday, December 13, 2006

Klaatu Barada Nuhnuhnuh.....necktie?


Friday, December 01, 2006

"Click 'N Save" my butt!

BookedAirline tickets have been insane this year. Southwest keeps sending me e-mail campaigns about how cheap tickets are right now. But who wants to fly for 20 days? Or for 2 days? Or 2 weeks before or after Christmas? Glad I bought my tickets back in October. I did that last year and my price was $350. This year, my price was just shy of $600. What difference a year can make.

We need alternate travel in this country, and the flexibility to use it. I'd go for a 2-3 day trip on a train if I could...but the train routes aren't as direct and have lots of stops. It'd take me at least a week to get home via train. I distinctly remember my 3rd grade science teacher promising me a flying car by now.

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]