12.19.07

How to Fight a Joe Job Spam Attack

Author: puravida

After receiving spam complaints and lawsuit threats at regular intervals for over a year and after many arduous hours of research, I finally found some methods to help combat what has become known as a “JoeJob” spam attack.

If you are the victim of a “Joe Job Spam Attack”, let me save you some time and tell you how to configure a few items to help thwart the spammers:

Before we setup the SPF record, let’s modify the default email (catch-all) address to :fail: or discard. Log in to cpanel for the domain and click on ‘Default Address’, configure it so that it looks like the following (substitute your domain and put whatever message you want):

Configure cPanel Default Address to :fail: or discard

Now let’s setup SPF.

First, go to the SPF setup wizard (open site in new window)

Then, Connect via SSH and perform the following steps manually:

> pico /etc/named.conf
*if pico doesn’t work, try edit

Find the line containing your domain and note the location of the zone file. Edit the zone file and add a line such as (last line in screenshot above):

domain.tld. 14400 IN SPF “v=spf1 a mx -all”

*Notice the period after the domain and tld. Here’s a screenshot of what my record looks like after adding the TXT record:

SSH snapshot after adding SPF / TXT record

Command to check SPF record from SSH:
> dig -t TXT domain.tld +short

If you don’t have SSH or if you feel more comfortable using WHM/cPanel, here’s how it should go:

Log into WHM, click on ‘Edit DNS Zone’ and choose your zone. Click ‘Edit’

You should add an entry that looks like this:

Adding the SPF / TXT record via WHM

Restart BIND and you should be all set!

Restart BIND via SSH with:
> service named restart

Alternatively, you can use WHM’s restart BIND option.

I sure hope this helps you and me. I just configured this tonight, but from what I’ve read in my research, I am very hopeful. I guess we will see once the spammer launch their next attack. Or, if it works really well, the spammers will have a hell of a headache on their hands when they are discovered and I guess I won’t know after all. Lol.


Share This! Social Bookmarking and Sharing

Bookmark to del.icio.us:How to Fight a Joe Job Spam Attack  Digg It:How to Fight a Joe Job Spam Attack  Share with furl:How to Fight a Joe Job Spam Attack  Share with reddit:How to Fight a Joe Job Spam Attack  Add to blogmarks:How to Fight a Joe Job Spam Attack  Add to Y!:How to Fight a Joe Job Spam Attack

Search Engine Conspiracy

↑ Grab this Headline Animator


2 Responses to “How to Fight a Joe Job Spam Attack”

  1. SE Conspiracy » Blog Archive » Diplomacy was never my strong suit Says:

    [...] Read how to combat a Joe Job Spam Attack. [...]

  2. Is Your Email Getting Through? | SE Conspiracy Says:

    [...] will be adding SPF records to my most important [...]

Leave a Reply