EXTREME Overclocking
Home | Reviews | Forums | Downloads | $ EXTREME Deals $ | RealTime Pricing | Free Magazines | Gear | Folding Stats Newsletter | Contact Us

How To Fight Spam!

Date Written: June 2, 2001
Written By:
Jason Rabel

React Carefully - Your Second Line Of Defense:

So you got a spam in your inbox, you know it is complete crap, and you want to report the SOB that sent it to you. How would you do that? Well, the first step is to see WHERE the email came from. In ever email program there is a way to reveal the complete headers, and when you do it will reveal something like this (actual header taken from a spam email I received):

Return-Path: <drw@worldsubmitter.com>
Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com[65.24.0.112])
by www.extremeoverclocking.com (8.10.2/8.10.2) with ESMTP id f51GlgV02882
for <xxxxxxxxxxxxx>; Fri, 1 Jun 2001 11:47:42 -0500
Received: from TmpStr (net208-124.neo.rr.com [24.93.208.124])
by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with SMTP id f51DEZk04631;
Fri, 1 Jun 2001 09:14:35 -0400 (EDT)
Message-Id: <200106011314.f51DEZk04631@clmboh1-smtp3.columbus.rr.com>
From: DRW<drw@worldsubmitter.com>
To: drw44703@yahoo.com
Organization: DRW
Subject: 100% FREE - NO STRINGS -$$$
Sender: DRW<drw@worldsubmitter.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 1 Jun 2001 09:35:58 -0400
Status: RO

You can se it came from either "drw@worldsubmitter.com" or even "drw44703@yahoo.com", odds are that was totally bogus, you can EASILY forge the from address in your email, just go to your preferences. However it wouldn't hurt to send Yahoo an email (with the attached spam) and if that email account does exist they can investigate it.

The part you really want to look at is the Received from parts. Basically the header will show you the path the email took from the sender to the receiver. You can see that the sender used the SMTP server "clmboh1-smtp3.columbus.rr.com" who's IP address is "65.24.0.112", this is a legit server, I pinged it and did a DNS lookup on it. Then if you look down a couple lines you can see that the SMTP server received the email from net208-124.neo.rr.com (IP: 24.93.208.124) which is the actual client computer that sent the spam. Bingo, we have our bad guy.

So now that we know our culprit is a user of the Road Runner network, I went to roadrunner.com and looked up their contact info, and they had an abuse email address that I forwarded the message (making sure they also got a copy of the complete email header). Now they can trace that IP back to the physical user and they can revoke his roadrunner account and hopefully prosecute him or her.

Sometimes email headers can be faked (which you can tell by phony IP addresses) or anonymous remailers will strip out all the info that leads back to the culprit. Sometimes you are just out of luck with those people. Unless you contact the owner of the anonymous remailer, and sometimes they keep logs and you can track an email down, but generally they aren't going to be much help because they just don't care (but you can still prevent emails from those sources, just keep reading).

Also, sometimes even though they forge their email address in the header, sometimes in the email itself there will be a working email address. (They need to have some way for the people who fall for the scam to contact them). But instead of you sending an email to them directly, look at the domain the email is coming from, the domain is the part after the "@" symbol, like drw44703@yahoo.com would be yahoo.com. So go to the domain's website and see if there is some higher authority you can report the abuse to and let them investigate. If it is someone on their system then they can take the appropriate actions.

Proactive Measures - Stopping Spam Before It Gets To You:

I'm not going to tell you how to hack a spammer's computer and take it down. (FYI - Windows users, your system is really insecure by default, if you are on a cable modem or DSL, you really should look into some sort of firewall / proxy product to help protect your computer from intrusion because being on a high speed connection really puts your computer at risk.) But I am going to give a few tips and pointers for legal ways to prevent spam.

One of the greatest things out there on the net are the RBL's, which stands for "Realtime Blackhole List". These people maintain lists of known spam sources, open relay servers, Dial-up / DSL / Cable IP's where people setup local SMTP servers so they can directly connect to the victims email server, and a lot more. You can configure your sendmail server (just about every unix type OS uses sendmail) to query these lists and it will kill spam in transit. I currently filter my email using http://www.mail-abuse.org/. There have 3 lists that your sendmail program can query. There are several other maintainers of RBL's, and you can add them too if you like.

Configuring sendmail to query these DB's isn't that complicated if you know your basic unix commands. First off, you will need to find your sendmail.mc file. Generally this is located in the /etc directory, sometimes in the /etc/mail directory, if it's not there, then you will have to do a find * | grep sendmail.mc Basically you want to edit the .mc file, and add the follwing lines under the "features" section.

  • FEATURE(`dnsbl', `blackholes.mail-abuse.org')dnl
  • FEATURE(`dnsbl', `dialups.mail-abuse.org')dnl
  • FEATURE(`dnsbl', `relays.mail-abuse.org')dnl

Once you have those added, you can then run the following command to compile the .mc into a .db file that sendmail uses. Again, the command structure will vary slightly depending on where you sendmail config files are actually located.

  • m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

Then you will have to restart your sendmail program. Sendmail requires restarts for the .cf files, but you don't need to for the .db files. The command to restart sendmail is:

  • /etc/rc.d/init.d/sendmail restart

The next area you can configure sendmail is in your access file. It is located in the same location as your other sendmail files (/etc or /etc/mail). You can add either specific email address, IP's, or domains to reject. The generic way to do it would be like the following:

  • metacomm.co.kr REJECT

Or you can be a little more creative, like:

  • metacomm.co.kr 550 Mail rejected due to possible SPAM

These fields should be tab delimited (meaning a tab between the domain & the REJECT or the 550). You can add as many as you want, mine is an ongoing list, I block any domain from spam that I get so that next time they send some they will get a nice little rejected message. I've noticed that a lot of spam gets relayed through open relay servers over seas. Anyhow, once you edit your access file, you will need to build it to make your access.db file. This can be done by doing the following:

  • makemap hash /etc/mail/access < /etc/mail/access

More info on this can be found at http://www.sendmail.org/m4/anti-spam.html and they detail all on other custom messages & anti-spam configurations.

These settings are really only applicable if you run your own sendmail server. However, even if you are just a regular cable modem or DSL user, you can bug the company to add preventative spam measures to their servers like the RBL's. Also, you can find ISP's that are already proactive in fighting spam (and are members or CAUCE).

Other Good Sources:

This was a very brief article on spam prevention, but you can read tons more on sites dedicated to stopping spam.

Conclusion:

Some people don't really care about the spam they get in their inbox, they just simply delete it, but everyone has their breaking point. I get so much spam it's ridiculous, not just email but all those stupid phone calls and junk mail. Remember for every bit of spam you get, hundreds of thousands of other people are getting the same irritating spam, so it's time to fight back and do something about it!

Spending just a little extra time doing some research when you get spam and reporting it to the proper people can help bring these scumbags to justice. I like to think that at least some of them get fined so much that they can no longer afford a computer and have realized how stupid a thing sending out all that spam was in the first place.

 

Back To The Main Page

 

EXTREME Overclocking Newsletter
Thousands of PC enthusiasts are already subscribed to the EXTREME Overclocking Newsletter, have you signed up yet?
Your Email Address:
Sponsored Links
Most Downloaded Files
Recently Added Files
CPU-Z 1.4912/12/08
Compare Prices On Top Brands!
Search:
For:

Intel Processors
Core i7/i5 - Nehalem
975 Extreme  960  950  920
870  860  750  670  661  660

Core 2 Quad - Yorkfield
Q9650  Q9550  Q9400  Q9300  Q8300  Q8200

Core 2 Duo - Wolfdale
E8600  E8500  E8400  E8200  E7300  E7200

AMD Processors
Phenom II X4
965 Black  955 Black  945  925

Phenom II X2
555  550

Athlon II X4
630  620

Athlon II X3
435  425

Athlon II X2
250  245

Video Cards
nVidia GeForce GTX 200 Series
GTX 295  GTX 285  GTX 280  GTX 260

nVidia GeForce 9 Series
9800 GX2  9800 GTX+  9800 GTX  9800 GT  9600 GT  9600 GSO

ATI Radeon HD 4000 Series
4870 X2  4870  4850  4830  4670  4650

Search By Brand
ASUS  BFG  Diamond  eVGA  Gigabyte  HIS  MSI  Palit  PowerColor  PNY  Sapphire  Visiontek  XFX

PC Memory
DDR3  DDR2  DDR

Motherboards
ASUS  Biostar  DFI  ECS  eVGA  Foxconn  Gigabyte  Intel  MSI  Shuttle  Supermicro  Tyan  XFX

Hard Drives
Seagate  Maxtor  Samsung  Fujitsu  Western Digital

  Technology Magazines FREE to Qualified Professionals.
eWeek MagazineeWeek is the essential technology information source for builders of e-business. Focuses on e-commerce, communications and Internet-based architecture. Oracle MagazineOracle Magazine contains technology-strategy articles, sample code, tips, Oracle and partner news, how-to articles for developers and DBAs, and more. Dr. Dobb's JournalDr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries. InformationWeekInformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
  Other Popular Titles: PC Magazine, BusinessWeek, Baseline, Business Solutions, Software Magazine, InfoStor, Security Source , TelevisionWeek, more...
  EXTREME Deal Of The Day | More EXTREME Deals
Dell Small Business - 20-Inch Dell E2011H LCD Monitor equipped Dell Vostro 260 Desktop with Intel G460, 2GB Memory, 250GB HD, DVD Burner, for $399 with FREE Shipping!
Dell Vostro 260 Mini Tower Desktop with 20" Dell E2011H LCD Monitor$399 with FREE shipping buys a Dell Vostro 260 mini tower desktop with 1.8Ghz Intel Celeron G460, 2GB DDR3 SDRAM, 250GB hard drive, 16x DVD+/-RW DL, Windows 7 Home Premium x64, 15-month antivirus, and 1 year warranty, plus a 20" Dell E2011H LCD monitor. Expires 2/15/12. DELL VOSTRO 260 MINI TOWER DESKTOP DEAL
HP Home & Home Office Store - HP Pavilion dv7t QUAD 17.3" Laptop PC w/ 2nd Gen Intel Core i7-2670QM and Blu-Ray - $799.99 Shipped Free!
HP PAVILION DV7T QUAD SANDY BRIDGE  DESKTOP REPLACEMENT 17.3 INCH LAPTOP DEAL HP has a new $200 off $1,099+ STACKABLE coupon code gets you the popular HP Pavilion dv7t Quad for just $799.99 shipped free!
  • 2nd Gen Intel Quad Core i7-2670QM 2.2 GHz w/ Turbo up to 3.1 GHz
  • 17.3" HD+ LED Widescreen Display (1600 x 900)
  • 8GB DDR3 System Memory
  • 750GB 5400RPM SATA Hard Drive
  • 1GB AMD Radeon HD 7470M GDDR5 Discrete Graphics [HDMI, VGA]
  • Blu-ray player & SuperMulti DVD burner
  • HP TrueVision HD Webcam w/ Integrated Digital Microphone
  • HP SimplePass Fingerprint Reader
This is a great price for this desktop replacement. It comes equipped with a super fast Intel Sandy Bridge i7-2670QM CPU, Blu-Ray Player, and 1GB GDDR5 Radeon HD Discrete Graphics! HP PAVILION DV7T QUAD EDITION INTEL SANDY BRIDGE QUAD LAPTOP PC DEAL

Use coupon code: NBU8677 for the $200 off $1,099+ STACKABLE discount. Expires after 1500 uses or on 02/19/2012.
Copyright © 2000-2011 EXTREME Overclocking. All rights reserved.
Disclaimer of Liability - Privacy Policy
Secret Forum