[prev in list] [next in list] [prev in thread] [next in thread]
List: majordomo-users
Subject: [majordomo-users] The daily digest for Majordomo-Users V7 #98
From: majordomo-users-owner () greatcircle ! com
Date: 2006-10-31 11:20:03
Message-ID: 20061031112011.99AFB29008B () mycroft ! greatcircle ! com
[Download RAW message or body]
The daily digest for Majordomo-Users
Volume 7 : Issue 98 : "text" Format
Messages in this Issue:
New, exciting, free
HACK: displaying origin headers
----------------------------------------------------------------------
Date: Mon, 30 Oct 2006 13:50:09 -0600 (CST)
From: admin@joy.frih.net
To: majordomo-users@greatcircle.com
Subject: New, exciting, free
Message-ID: <1336.89.106.98.65.1162237809.squirrel@www.joy.frih.net>
Hello,
Want to find what the future holds for you:
Free Readings, Astrology and Horoscopes. The ultimate guide to exploring
astrology, daily horoscopes, love astrology, chinese astrology, zodiac
signs, compatibility and more.
http://www.astro.joy.frih.net/
Here are my favorite sites for web promotion:
Submit your url to the 1000's of search engines for free!. Free web site
optimization tools, keywords, meta tags, web builder, robots and free SEO
Tools.
http://www.submit.joy.frih.net/
Pay per click advertising - online advertising with disired keywords
directly on sites of your choice. Webmasters make money online from your
website or blog with text ads and affiliate program.
http://www.web.joy.frih.net/
Join now. Low members payout and realy cheap advertising. 10 refferal
levels. The site offers many advertising and business opportunities.Try
it. You can be amazed.
http://www.mails.joy.frih.net/
Best regards
------------------------------
Date: Tue, 31 Oct 2006 00:33:54 -0700
From: "Sean Casey" <mj@scaseyllc.com>
To: <majordomo-users@greatcircle.com>
Subject: HACK: displaying origin headers
Message-ID: <000801c6fcbe$eb2ae300$6401a8c0@DBDMJ061>
Thought this might be useful to some here.
The problem:
1.Spammers send their junk to majordomo@ with a bogus From: address
2.Majordomo sends a "Majordomo results:" help message to the From: address
3.The domain bounces the mail
4.Majordomo delivers the bounce to majordomo-Owner
Since the default message contains no information about the original sender
(the spammer), there's little or nothing to be done to
correct/complain/block the sender. We get about 10 of these per day. Would
probably get more, but we do some VERY aggressive blocking of spamming
servers.
The hack:
Modified sub done {} in majordomo (see below)
This prints the incoming mail headers at the bottom of any help message
where
"**** No valid commands found"
If the From: is legitimate, having the headers at the bottom is probably
OK...certainly doesn't detract from the message.
If not, majordomo-Owner now has the full headers of the spammer's message,
and can act accordingly.
Note that this won't happen for a 'help' request, only when the message
contains NO valid commands.
Thoughts? Comments?
Sean
Here is the entire subroutine, with the added code marked:
# We are done processing the request; append help if needed, send the reply
# to the requestor, clean up, and exit
sub done {
# append help, if needed.
if ($count == 0) {
print REPLY "**** No valid commands found.\n";
print REPLY "**** Commands must be in message BODY, not in
HEADER.\n\n";
}
if ($needs_help || ($count == 0)) {
print REPLY "**** Help for $whoami:\n\n";
&do_help();
}
###### begin added code #####
### added to print the incoming mail message headers...scc
if ($count == 0) {
print REPLY "\n\n**** Incoming Mail Headers\n";
foreach $header (@hdrs) {
print REPLY "$header\n";
}
}
##### end added code #####
# close (and thereby send) the reply
close(REPLY);
# good bye!
exit(0);
}
------------------------------
End of [majordomo-users] The daily digest for Majordomo-Users V7 #98
**********
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic