proposed solution for spam sent to majordomo@yourdomain

"William Dudley Jr." <[email protected]>
Newsgroups gmane.mail.majordomo.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.