Great Circle Associates Majordomo-Users
(July 2005)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: proposed solution for spam sent to majordomo@yourdomain
From: "William Dudley Jr." <wfd99 @ casano . com>
Date: Thu, 7 Jul 2005 13:31:45 -0400 (EDT)
To: majordomo-users @ greatcircle . com

Recently, I've been seeing a fair number of spam messages that
have been sent to my majordomo address.  They are sent from bogus
"From:" addresses, and since majordomo doesn't need Viagra, etc,
"he" replies with a long stream of error messages:

&squawk("Command '$cmd' not recognized.");

This message with every line parroted back as "not recognized" PLUS
the majordomo help text is then sent to the fake "From:" address,
and the isp, if it exists, sends it BACK to me complaining about
a non-existant user.  As majordomo-owner, I get it in my inbox.

To put a stop to this, I modified majordomo in the following ways:

I added a threshold of 10 "not recognized" errors, which if exceeded
AND we have NOT SEEN ANY valid commands, the following actions take place:

1. Processing of the message is terminated.

2. The help text is not sent.

3. Instead of replying to the "sender", we send just send a short
note to majordomo-owner that says a message with > THRESHOLD errors was
found and a reply was NOT sent to "sender".

I'll be happy to make this code available in any way that is appropriate.

Bill Dudley


Follow-Ups:
Indexed By Date Previous:
From: (nil)
Next: Re: proposed solution for spam sent to majordomo@yourdomain
From: "William Dudley Jr." <wfd99@casano.com>
Indexed By Thread Previous:
From: (nil)
Next: Re: proposed solution for spam sent to majordomo@yourdomain
From: "William Dudley Jr." <wfd99@casano.com>

Google
 
Search Internet Search www.greatcircle.com