You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Bob Proulx <bo...@proulx.com> on 2008/03/15 03:37:08 UTC

pharmacy spam from RCVD_IN_DNSWL_MED?

What is the policy to report spam coming from systems in the
RCVD_IN_DNSWL_MED?  I just recently got so many that I disabled
that whitelist.

Bob

  From numericalle7@npbchamber.net Fri Mar 14 20:21:25 2008
  X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on regret.proulx.com
  X-Spam-Level: 
  X-Spam-Status: No, score=1.0 required=4.4 tests=BAYES_99,DRUGS_ERECTILE,
  	DRUG_ED_SILD,RCVD_IN_DNSWL_MED,STOX_REPLY_TYPE,SUBJ_BUY,UNPARSEABLE_RELAY
  	autolearn=no version=3.2.3
  Envelope-to: mit-scheme-users@gnu.org
  Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
  	id 1JaM1V-0006CZ-2F
  	for mit-scheme-users@gnu.org; Fri, 14 Mar 2008 22:21:25 -0400
  Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
  	id 1JaM1R-00065Q-9g
  	for mit-scheme-users@gnu.org; Fri, 14 Mar 2008 22:21:24 -0400
  Received: from [199.232.76.173] (helo=monty-python.gnu.org)
  	by lists.gnu.org with esmtp (Exim 4.43)
  	id 1JaM1R-000656-5G
  	for mit-scheme-users@gnu.org; Fri, 14 Mar 2008 22:21:21 -0400
  Received: from zurich.csail.mit.edu ([128.30.16.9])
  	by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
  	(Exim 4.60)
  	(envelope-from <ma...@zurich.csail.mit.edu>)
  	id 1JaM1Q-0003C2-4U
  	for mit-scheme-users@gnu.org; Fri, 14 Mar 2008 22:21:21 -0400
  Received: from zurich.csail.mit.edu (localhost [127.0.0.1])
  	by zurich.csail.mit.edu (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id m2F2LGxV011101
  	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
  	for <mi...@gnu.org>; Fri, 14 Mar 2008 22:21:17 -0400
  Received: (from mail@localhost)
  	by zurich.csail.mit.edu (8.13.4/8.13.4/Submit) id m2F2LG6p011090
  	for mit-scheme-users@gnu.org; Fri, 14 Mar 2008 22:21:16 -0400
  Received: from Lf0ea.l.pppool.de (Lf0ea.l.pppool.de [89.48.240.234])
  	by zurich.csail.mit.edu (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id m2F2LC7D011080
  	for <in...@zurich.ai.mit.edu>; Fri, 14 Mar 2008 22:21:14 -0400
  Received: from [89.48.240.234] by ; Sat, 15 Mar 2008 03:21:13 +0100
  Message-ID: <01...@numericalle7>
  From: "Troy Whalen" <nu...@npbchamber.net>
  To: <in...@zurich.csail.mit.edu>
  Subject: buy now Viagra (Sildenafil) 50mg x 30 pills US $ 3.00 Per Pill
  Date: Sat, 15 Mar 2008 03:21:13 +0100
  MIME-Version: 1.0
  Content-Type: text/plain;
  	format=flowed;
  	charset="windows-1250";
  	reply-type=original
  Content-Transfer-Encoding: 7bit
  X-Priority: 3
  X-MSMail-Priority: Normal
  X-Mailer: Microsoft Outlook Express 6.00.2800.1106
  X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
  Status: RO
  Content-Length: 79

  Viagra (Sildenafil) 50mg x 30 pills $89.95
  http://ehgedgdxen54.blogspot.com






Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Matt Kettler <mk...@verizon.net>.
Bob Proulx wrote:
>
> Actually it *can* teleport magically.  Any sufficiently advanced
> technology is indistinguishable from magic.  Anything else is simply
> insufficiently advanced!
>   
ROTFL... Thanks for the laugh bob... and sorry I got confused...



Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Bob Proulx <bo...@proulx.com>.
Matt Kettler wrote:
> Bob Proulx wrote:
> >  -4.0 RCVD_IN_DNSWL_MED      RBL: Sender listed at http://www.dnswl.org/, 
> >  medium trust
> >                              [128.30.16.9 listed in list.dnswl.org]

> Yes, you're right, GNU is only in DNSWL LOW, and this message *SHOULD* 
> have matched that, not med..

Uhm, no...  lists.gnu.org is in my trust path.  For all intents and
purposes of running this mail through spamassassin the machine is
virtually there.  It's not but it acts that way.

> One MAJOR problem you have is your mailserver isn't generating Received: 
> headers. It's not a complete solve for your problem, but it's a source 
> of dozens of problems your system is currently suffering. Pretty much 
> every DNSBL test isn't working correctly..

Second uhm...  What has led you to believe that something is not
working correctly?  Things are all working fine.

Normally your advice is excellent and I have great respect for it.
You give untiring assistance to many people asking questions on the
list.  Let me thank you for that right now.  It is awesome.  But I
think my message has simply confused you very much today.  I apologize
for that but I didn't think reporting that I am getting spam from a
host in the RCVD_IN_DNSWL_MED and posting an example needed all of the
background that didn't seem to be related.  I mean *I* knew how the
system was working.  :-)

My mailserver isn't in the mail path through lists.gnu.org.  My
compute server is simply a spamassassin cpu work farm server for it.
It has a spamd running on it and messages are run through it to be
classified by spamassassin.  The messages are teleported magically to
it and therefore don't have received headers.  These are extracted
from the Mailman moderator approval messages that are generated by
Mailman when a message is held for review in the Mailman hold queue.

> Since your network never generated a Received: header, SpamAssassin 
> concludes that lists.gnu.org is your network, because clearly the most 
> recent Received: header needs to have been generated by your network. 

Not in this case.  This is simply a remote compute server.  I am one
of the volunteers that attempts to keep spam off of the mailing lists
and I volunteer cpu time on my compute servers to do it.  The machine
regret.proulx.com isn't even on a public network and so trying to
analyze where it fits into the world network isn't really possible.

> since email can't teleport magically, and all hosts that receive a 
> message over SMTP must generate a Received header, by RFC spec this 
> needs to be true.

Actually it *can* teleport magically.  Any sufficiently advanced
technology is indistinguishable from magic.  Anything else is simply
insufficiently advanced!

Bob

Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Matt Kettler <mk...@verizon.net>.
Bob Proulx wrote:
> Matt Kettler wrote:
>   
>> Bob Proulx wrote:
>>     
>>> What is the policy to report spam coming from systems in the
>>> RCVD_IN_DNSWL_MED?  I just recently got so many that I disabled
>>> that whitelist.
>>>  
>>>       
>> Um... the spam was posted to a mailing list.... mit-scheme-users@gnu.org....
>>
>> The list server is the one in DNSWL_MED...
>>     
>
> No.  You latched onto the wrong received line.  I also failed to
> include the SA report which would have made it obvious and so it was
> my fault.  Sorry about that.  Here is the server in the whitelist:
>
>   -4.0 RCVD_IN_DNSWL_MED      RBL: Sender listed at http://www.dnswl.org/, medium trust
>                               [128.30.16.9 listed in list.dnswl.org]
>
>   host 128.30.16.9
>   9.16.30.128.in-addr.arpa domain name pointer zurich.csail.mit.edu.

Yes, you're right, GNU is only in DNSWL LOW, and this message *SHOULD* 
have matched that, not med..

One MAJOR problem you have is your mailserver isn't generating Received: 
headers. It's not a complete solve for your problem, but it's a source 
of dozens of problems your system is currently suffering. Pretty much 
every DNSBL test isn't working correctly..

Since your network never generated a Received: header, SpamAssassin 
concludes that lists.gnu.org is your network, because clearly the most 
recent Received: header needs to have been generated by your network. 
since email can't teleport magically, and all hosts that receive a 
message over SMTP must generate a Received header, by RFC spec this 
needs to be true.

The DNSWL test is supposed to get get applied to the host that drops 
email off at the border of your network.. ie: your MX.

Once SA figure's your running gnu.org, it looks back to find the first 
host outside your network.. ahh, zurich.csail.mit.edu.. ok, we'll DNSWL 
on that, because that's who gave it to your network...

Fix your system to generate Received: headers, and make sure SA's trust 
path is working properly.. Right now, it's getting garbage in, so you're 
getting garbage out.

(note: this should also fix ALL_TRUSTED misfires, as well as NO_RELAYS 
misfires (Neither should ever fire for email that isn't locally generated)




Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Bob Proulx <bo...@proulx.com>.
Matt Kettler wrote:
> Bob Proulx wrote:
> >What is the policy to report spam coming from systems in the
> >RCVD_IN_DNSWL_MED?  I just recently got so many that I disabled
> >that whitelist.
> >  
> Um... the spam was posted to a mailing list.... mit-scheme-users@gnu.org....
> 
> The list server is the one in DNSWL_MED...

No.  You latched onto the wrong received line.  I also failed to
include the SA report which would have made it obvious and so it was
my fault.  Sorry about that.  Here is the server in the whitelist:

  -4.0 RCVD_IN_DNSWL_MED      RBL: Sender listed at http://www.dnswl.org/, medium trust
                              [128.30.16.9 listed in list.dnswl.org]

  host 128.30.16.9
  9.16.30.128.in-addr.arpa domain name pointer zurich.csail.mit.edu.

Bob

Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Matt Kettler <mk...@verizon.net>.
Bob Proulx wrote:
> What is the policy to report spam coming from systems in the
> RCVD_IN_DNSWL_MED?  I just recently got so many that I disabled
> that whitelist.
>   
Um... the spam was posted to a mailing list.... mit-scheme-users@gnu.org....

The list server is the one in DNSWL_MED...

Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Bob Proulx <bo...@proulx.com>.
Matt Kettler wrote:
> >>Note the message was sent to info-cscheme@zurich.ai.mit.edu, which 
> >>then relayed it to gnu.org. Does your list intentionally accept a 
> >>feed from lists at mit?

Good observation!  There is a lot of history between mit.edu and
gnu.org and there might be some legacy connection there.  I don't
think so in this case but it might.  As far as I can see by looking at
the archives there isn't any valid mail coming through that path.  So
if there is then it has probably become forgotten and unmaintained and
now only used by spammers.

> >Follow-on thought.. if the list does accept a feed from mit, you 
> >should add the mit server to your trusted_networks. This will cause SA 
> >to back the DNSWL tests off to the host dropping off at MIT, and 
> >should solve your problem..

Good idea.  I will check it out.  If there is a valid path there then
including it into the trusted networks is the right thing to do.  But
since it seems to be nothing but a spam path I would rather cut the
path off instead.

> Bob.. did this tip actually help any?

Yes.  That thought hadn't occurred to me.  But I am just reading it
now and so it won't actually help me until I can do something about
it.  :-)

Bob

Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Matt Kettler <mk...@verizon.net>.
Matt Kettler wrote:
> Matt Kettler wrote:
>>
>>
>> Note the message was sent to info-cscheme@zurich.ai.mit.edu, which 
>> then relayed it to gnu.org. Does your list intentionally accept a 
>> feed from lists at mit?
>
> Follow-on thought.. if the list does accept a feed from mit, you 
> should add the mit server to your trusted_networks. This will cause SA 
> to back the DNSWL tests off to the host dropping off at MIT, and 
> should solve your problem..
>
> If you don't want a feed from MIT, you should contact their admins and 
> have them severely punish the admin of the info-cscheme list.
>
>
Bob.. did this tip actually help any?

Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Matt Kettler <mk...@verizon.net>.
Matt Kettler wrote:
>
>
> Note the message was sent to info-cscheme@zurich.ai.mit.edu, which 
> then relayed it to gnu.org. Does your list intentionally accept a feed 
> from lists at mit?

Follow-on thought.. if the list does accept a feed from mit, you should 
add the mit server to your trusted_networks. This will cause SA to back 
the DNSWL tests off to the host dropping off at MIT, and should solve 
your problem..

If you don't want a feed from MIT, you should contact their admins and 
have them severely punish the admin of the info-cscheme list.


Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Matt Kettler <mk...@verizon.net>.
Bob Proulx wrote:
> Matt Kettler wrote:
>   
>> Wait.. Where is the Received: header generated by regret.prolux.com? or 
>> any other prolux.com server for that matter...
>>     
>
> 'regret' is simply doing the spamassassin filtering for 'lists'.  The
> mail will go through lists and never really have gone through regret.
> But regret is a server that is classifying the mail out-of-band.
>
>   
>> Looking at the headers, this message never left lists.gnu.org.
>>     
>
> Right.  It came through a tunnel.  It came through the moderator
> attachment of a moderator notification from Mailman.  Because of this
> it is as if it never left lists.gnu.org.  In fact the message is still
> there until I discard it or approve it.
>
> I run moderator mail notifications of mail in the Mailman hold queue
> through spamassassin and then discard mail classified as spam by SA.
> It would be better if this were built directly into Mailman but I
> don't have any ability to affect that at the moment and so running the
> moderator message which is an exact copy of the message is a good
> enough compromise.
>
>   
>> Perhaps you've got a MTA header generation problem? Or did you 
>> intentionally censor that header out?
>>     
>
> I just didn't include the entire configuration picture.

Ahh, that makes a lot more sense... With a really unusual config like 
this, it helps to point such things out.

So it looks like SA is doing the "right" thing, in that it assumes your 
network is gnu.org.. Since you're scanning on behalf of it, that's valid.

You might want to take it up with the DNSWL staff. However, this did 
come out of csail.mit.edu's registered mailservers (128.30.16.9 is in 
their SPF records, and the DNSWL listing of it is restricted to a single 
IP).

 .edu's do occasionally have problems with spam output, but they're 
usually really fast to fix it, and generally have a lot of nonspam 
(although much of it garbage college-kid chat) output...

It also looks like this is a "mailing list that got spammed and is 
feeding your mailing list".

Note the message was sent to info-cscheme@zurich.ai.mit.edu, which then 
relayed it to gnu.org. Does your list intentionally accept a feed from 
lists at mit?







Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Bob Proulx <bo...@proulx.com>.
Matt Kettler wrote:
> Wait.. Where is the Received: header generated by regret.prolux.com? or 
> any other prolux.com server for that matter...

'regret' is simply doing the spamassassin filtering for 'lists'.  The
mail will go through lists and never really have gone through regret.
But regret is a server that is classifying the mail out-of-band.

> Looking at the headers, this message never left lists.gnu.org.

Right.  It came through a tunnel.  It came through the moderator
attachment of a moderator notification from Mailman.  Because of this
it is as if it never left lists.gnu.org.  In fact the message is still
there until I discard it or approve it.

I run moderator mail notifications of mail in the Mailman hold queue
through spamassassin and then discard mail classified as spam by SA.
It would be better if this were built directly into Mailman but I
don't have any ability to affect that at the moment and so running the
moderator message which is an exact copy of the message is a good
enough compromise.

> Perhaps you've got a MTA header generation problem? Or did you 
> intentionally censor that header out?

I just didn't include the entire configuration picture.

Bob

Re: pharmacy spam from RCVD_IN_DNSWL_MED?

Posted by Matt Kettler <mk...@verizon.net>.
Bob Proulx wrote:
> What is the policy to report spam coming from systems in the
> RCVD_IN_DNSWL_MED?  I just recently got so many that I disabled
> that whitelist.
>   

Wait.. Where is the Received: header generated by regret.prolux.com? or 
any other prolux.com server for that matter...

Looking at the headers, this message never left lists.gnu.org.

Perhaps you've got a MTA header generation problem? Or did you 
intentionally censor that header out?

> Bob
>
>   From numericalle7@npbchamber.net Fri Mar 14 20:21:25 2008
>   X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on regret.proulx.com
>   X-Spam-Level: 
>   X-Spam-Status: No, score=1.0 required=4.4 tests=BAYES_99,DRUGS_ERECTILE,
>   	DRUG_ED_SILD,RCVD_IN_DNSWL_MED,STOX_REPLY_TYPE,SUBJ_BUY,UNPARSEABLE_RELAY
>   	autolearn=no version=3.2.3
>   Envelope-to: mit-scheme-users@gnu.org
>   Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
>   	id 1JaM1V-0006CZ-2F
>   	for mit-scheme-users@gnu.org; Fri, 14 Mar 2008 22:21:25 -0400
>
>