Slashdot Mirror


Spam, Spam, Spam, Dole & Spam

seniorcoder writes "Check here for an article on CNN about the senate campaign of Elizabeth Dole being taken to court in North Carolina for the princely sum of $80 ($10 per piece of spam). My best regards to Ken Pugh, I hope his action is successful." $10 per email sounds fair, now I can start planning my mansion.

2 of 26 comments (clear)

  1. I'm gonna sue me up a mini-van by rw2 · · Score: 4, Interesting

    Here's my mail log.

    Everything above 5 on the graph is better than 99% likely to be spam.

    I'm rich!

    (BTW, I use spamssassin, it's wonderful)

    1. Re:I'm gonna sue me up a mini-van by rw2 · · Score: 4, Informative

      I used gnuplot to graph and procmail to manage SA.

      My procmailrc contains something like this:

      LOGFILE=$HOME/procmail.logfile

      SUBJECT=`formail -xSubject: \
      | sed -e 's/[;\`\\]/ /g' \
      | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`

      FROM=`formail -xFrom: \
      | sed -e 's/[;\`\\]/ /g' \
      | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`

      # Backup the last hundred messages. :0 c
      backup :0 ci
      | cd backup && rm -f dummy `ls -t msg.* | sed -e 1,100d` :0fw
      | /home/wellner/bin/SpamAssassin/spamassassin -P -c /home/wellner/bin/SpamAssassin/rules

      SPAM_STATUS=`grep X-Spam-Status |cut -d' ' -f3|cut -d'=' -f2 |sort -n`
      MESSAGE_ID=`formail -xMessage-ID:: \
      | sed -e 's/[;\`\\]/ /g' \
      | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`

      DATE=`date +"%m/%d/%y %H:%M"`
      nada=`echo $DATE $SPAM_STATUS $MESSAGE_ID >> $HOME/email-scores` :0:
      * ^X-Spam-Status: Yes
      caughtspam

      and my gnuplot file is:

      set timefmt "%m/%d/%y %H:%M"
      set format x "%m/%d"
      set title "Distribution of spam values"
      set xlabel "Date mail arrived"
      set ylabel "Hit value"
      set nolabel
      set xdata time
      set terminal png color
      set yrange [-10:50]
      plot '/home/wellner/email-scores' using 1:3 with points 20, 5 with lines 3, 7 with lines 7, 10 with lines 5

      have fun.