You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Yousef Raffah <yr...@savola.com> on 2006/02/18 07:48:54 UTC

A Spam Message That Got Through!

Today I got a spam message which seems, at least for a newbie like me,
succeeded in passing SA for some reason!

I'm calling SA through amavisd-new and have my Rules Du Jour updated
(manual updates so far)

I would like to block such messages therefore, I'm seeking your kind
assistance in determining how it passed the "tests" and what am I
supposed to do in order to prevent these messages?

Here are the headers of the message

Return-Path: <yr...@royah.com>
Received: from 10.10.10.50 by mailsrv with ESMTP id 44344701140190415;
Fri, 17 Feb 2006 18:33:35 +0300
Received: from kansai.savoladns.com ([10.10.10.10]) by imssr with
trend_isnt_name_B; Fri, 17 Feb 2006 18:43:31 +0300
Received: from kansai.savoladns.com ([127.0.0.1]) by localhost
(kansai.savoladns.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id 19503-12 for <yr...@royah.com>; Fri, 17 Feb 2006 18:43:23 +0300
(AST)
Received: from emailmarketingmasters.com (i538754C0.versanet.de
[83.135.84.192]) by kansai.savoladns.com (Postfix) with SMTP id
7B42810073 for <yr...@royah.com>; Fri, 17 Feb 2006 18:43:21 +0300 (AST)
Received: from 208.153.96.3 (SquirrelMail authenticated user
info@valeo.com); by emailmarketingmasters.com with HTTP id
J85Gz008484008; Fri, 17 Feb 2006 15:42:56 +0000
Message-Id: <G5...@208.153.96.3>
Date: Fri, 17 Feb 2006 15:42:56 +0000  (18:42 AST)
Subject: In the Heart of Your Business!
From: Alishia Hurst <yr...@royah.com>
To: yraffa@royah.com
User-Agent: SquirrelMail/1.4.3a
X-Mailer: SquirrelMail/1.4.3a
MIME-Version: 1.0
Content-Type: text/html
X-Priority: 3
X-Virus-Scanned: amavisd-new at savola.com

Notice that the sender used my address as their E-mail address (forged
mail)

Running:
SA SpamAssassin Client version 3.1.0
amavisd-new-2.3.3 (20050822)
Postfix 2.2.5

Sincerely,
Yousef Raffah
Senior Systems Administrator
SSIS - The Savola Group

--
Aren't you using Firefox? Get it at getfirefox.com
yousef.raffah.com

Re: A Spam Message That Got Through!

Posted by mouss <us...@free.fr>.
Yousef Raffah a écrit :
> Received: from emailmarketingmasters.com (i538754C0.versanet.de
> [83.135.84.192]) by kansai.savoladns.com (Postfix) with SMTP id
> 7B42810073 for <yr...@royah.com>; Fri, 17 Feb 2006 18:43:21 +0300 (AST)

you could
- use njabl's dynablock to block the client (83.135.84.192). (Don't use
sorbs).
- reject helo when it's "emailmarketingmasters.com"
- greylist clients that match /\d{5}/ (don't block as this is unsafe).



Re: A Spam Message That Got Through!

Posted by mouss <us...@free.fr>.
Evan Platt a écrit :
> At 10:48 PM 2/17/2006, you wrote:
> 
>> Today I got a spam message which seems, at least for a newbie like me,
>> succeeded in passing SA for some reason!
>>
>> I'm calling SA through amavisd-new and have my Rules Du Jour updated
>> (manual updates so far)
>>
>> I would like to block such messages therefore, I'm seeking your kind
>> assistance in determining how it passed the "tests" and what am I
>> supposed to do in order to prevent these messages?
> 
> 
> If you'd like to *BLOCK* such messages, use the postfix header_checks to
> block any mail that is both from AND to you. (I can't help you with the
> syntax there, but I'm sure someone else can.
> 
> 

he can't. postfix header_checks look at headers one at a time. he can
use procmail/maildrop/... etc. whether this is safe is another issue.


Re: A Spam Message That Got Through!

Posted by Evan Platt <ev...@espphotography.com>.
At 10:48 PM 2/17/2006, you wrote:
>Today I got a spam message which seems, at least for a newbie like me,
>succeeded in passing SA for some reason!
>
>I'm calling SA through amavisd-new and have my Rules Du Jour updated
>(manual updates so far)
>
>I would like to block such messages therefore, I'm seeking your kind
>assistance in determining how it passed the "tests" and what am I
>supposed to do in order to prevent these messages?

If you'd like to *BLOCK* such messages, use the postfix header_checks 
to block any mail that is both from AND to you. (I can't help you 
with the syntax there, but I'm sure someone else can.


>Here are the headers of the message

Headers wouldn't tell you (or me) what the message would score on 
another system - the full body of the message would. 


RE: A Spam Message That Got Through!

Posted by Yousef Raffah <yr...@savola.com>.
On Sat, 2006-02-18 at 09:53 -0700, Gary V wrote:
> >On Sat, 2006-02-18 at 08:45 -0700, Gary V wrote:
> > > Without the entire
> > > message I don't think anyone can determine if there is some problem
> > > with
> > > your system, or if this particular spam simply scored low because the
> > > spammer is good at what they do. BTW, it is helpful to see what rules
> > > hit.
> >This is the body of the message:
> >Corporate image can say a lot of things about your company. Contemporary
> >rhythm of life is too dynamic.
> >Sometimes it takes only several seconds for your company to be
> >remembered or to be lost amonq competitors.
> >Get your logo, business stationery or website done right now!
> >
> >Fast turnaround: you will see severaI loqo variants in three business
> >days.
> >Satisfaction quaranteed: we provide unIimited amount of changes; you can
> >be sure: it wiIl meet your needs
> >and fit your business.
> >FlexibIe discounts: loqo improvement, additionaI formats, bulk orders,
> >special packages.
> >Creative design for competitive price: have a look at it right now!
> >
> >______________________________________________________
> >not interested...
> >
> 
> I can certainly see why this is not considered spam. There is not much here 
> at all that would make this different from a ham message. I created a 
> message with these contents and sent it to myself from my yahoo account and 
> is was considered ham. Nothing in the body triggered a rule. This is one of 
> those types of messages that I would feed to Bayes, then delete and forget 
> about. If I got the the same message a number of times I would possibly 
> create a custom rule based on the Subject. Most likely a custom rule for 
> this would only be good for about a week, then I would probably never see 
> another message with the same subject again, so after a week the rule would 
> be a complete waste. I think you simply need to accept the fact that there 
> is stuff like this that will make it through.
> 
Sure I will accept that and thank you very much for your kind
explanations :)
> >
> > > Since you don't have the X-Spam-Status report, it will be difficult
> > > to
> > > diagnose. There is no way to know on our end if the sender was
> > > whitelisted
> > > or auto-whitelisted. In amavisd-new you should lower
> > > $sa_tag_level_deflt so
> > > both spam and ham get the X-Spam-Status header.
> > >
> > > $sa_tag_level_deflt  = undef; # add spam info headers if at, or above
> > > that
> > > level;
> > >                           # undef is interpreted as lower than any
> > > spam level
> > >
> > > and make sure .royah.com is included in your @local_domains_maps
> > > because the
> > > headers will only get written if the domain is considered local.
> > >
> >Should I have .royah.com in my @local_domains_maps even if the postfix
> >+amavisd-new+SA machine is just a gateway and does not have local
> >accounts?
> 
> Yes, and any other domains for which this gateway relays mail. This is 
> necessary if you want to see X-Spam type headers.
> 
Great, now I have it set as:
@local_domains_maps =
    ( [ ".$mydomain", '.royah.com' ] );
> >
> >Many thanks for your reply
> >
> >Sincerely,
> >Yousef Raffah
> 
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar  get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 

Sincerely,
Yousef Raffah
Senior Systems Administrator
SSIS - The Savola Group

--
Aren't you using Firefox? Get it at getfirefox.com
yousef.raffah.com

RE: A Spam Message That Got Through!

Posted by Gary V <mr...@hotmail.com>.
>On Sat, 2006-02-18 at 08:45 -0700, Gary V wrote:
> > Without the entire
> > message I don't think anyone can determine if there is some problem
> > with
> > your system, or if this particular spam simply scored low because the
> > spammer is good at what they do. BTW, it is helpful to see what rules
> > hit.
>This is the body of the message:
>Corporate image can say a lot of things about your company. Contemporary
>rhythm of life is too dynamic.
>Sometimes it takes only several seconds for your company to be
>remembered or to be lost amonq competitors.
>Get your logo, business stationery or website done right now!
>
>Fast turnaround: you will see severaI loqo variants in three business
>days.
>Satisfaction quaranteed: we provide unIimited amount of changes; you can
>be sure: it wiIl meet your needs
>and fit your business.
>FlexibIe discounts: loqo improvement, additionaI formats, bulk orders,
>special packages.
>Creative design for competitive price: have a look at it right now!
>
>______________________________________________________
>not interested...
>

I can certainly see why this is not considered spam. There is not much here 
at all that would make this different from a ham message. I created a 
message with these contents and sent it to myself from my yahoo account and 
is was considered ham. Nothing in the body triggered a rule. This is one of 
those types of messages that I would feed to Bayes, then delete and forget 
about. If I got the the same message a number of times I would possibly 
create a custom rule based on the Subject. Most likely a custom rule for 
this would only be good for about a week, then I would probably never see 
another message with the same subject again, so after a week the rule would 
be a complete waste. I think you simply need to accept the fact that there 
is stuff like this that will make it through.

>
> > Since you don't have the X-Spam-Status report, it will be difficult
> > to
> > diagnose. There is no way to know on our end if the sender was
> > whitelisted
> > or auto-whitelisted. In amavisd-new you should lower
> > $sa_tag_level_deflt so
> > both spam and ham get the X-Spam-Status header.
> >
> > $sa_tag_level_deflt  = undef; # add spam info headers if at, or above
> > that
> > level;
> >                           # undef is interpreted as lower than any
> > spam level
> >
> > and make sure .royah.com is included in your @local_domains_maps
> > because the
> > headers will only get written if the domain is considered local.
> >
>Should I have .royah.com in my @local_domains_maps even if the postfix
>+amavisd-new+SA machine is just a gateway and does not have local
>accounts?

Yes, and any other domains for which this gateway relays mail. This is 
necessary if you want to see X-Spam type headers.

>
>Many thanks for your reply
>
>Sincerely,
>Yousef Raffah

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


RE: A Spam Message That Got Through!

Posted by Yousef Raffah <yr...@savola.com>.
On Sat, 2006-02-18 at 08:45 -0700, Gary V wrote:
> Without the entire 
> message I don't think anyone can determine if there is some problem
> with 
> your system, or if this particular spam simply scored low because the 
> spammer is good at what they do. BTW, it is helpful to see what rules
> hit. 
This is the body of the message:
Corporate image can say a lot of things about your company. Contemporary
rhythm of life is too dynamic.
Sometimes it takes only several seconds for your company to be
remembered or to be lost amonq competitors.
Get your logo, business stationery or website done right now!

Fast turnaround: you will see severaI loqo variants in three business
days.
Satisfaction quaranteed: we provide unIimited amount of changes; you can
be sure: it wiIl meet your needs
and fit your business.
FlexibIe discounts: loqo improvement, additionaI formats, bulk orders,
special packages.
Creative design for competitive price: have a look at it right now! 

______________________________________________________ 
not interested...


> Since you don't have the X-Spam-Status report, it will be difficult
> to 
> diagnose. There is no way to know on our end if the sender was
> whitelisted 
> or auto-whitelisted. In amavisd-new you should lower
> $sa_tag_level_deflt so 
> both spam and ham get the X-Spam-Status header.
> 
> $sa_tag_level_deflt  = undef; # add spam info headers if at, or above
> that 
> level;
>                           # undef is interpreted as lower than any
> spam level
> 
> and make sure .royah.com is included in your @local_domains_maps
> because the 
> headers will only get written if the domain is considered local.
> 
Should I have .royah.com in my @local_domains_maps even if the postfix
+amavisd-new+SA machine is just a gateway and does not have local
accounts?

Many thanks for your reply

Sincerely,
Yousef Raffah
Senior Systems Administrator
SSIS - The Savola Group

--
Aren't you using Firefox? Get it at getfirefox.com
yousef.raffah.com

RE: A Spam Message That Got Through!

Posted by Gary V <mr...@hotmail.com>.
>
>Today I got a spam message which seems, at least for a newbie like me,
>succeeded in passing SA for some reason!
>
>I'm calling SA through amavisd-new and have my Rules Du Jour updated
>(manual updates so far)
>
>I would like to block such messages therefore, I'm seeking your kind
>assistance in determining how it passed the "tests" and what am I
>supposed to do in order to prevent these messages?
>
>Yousef Raffah

If you have only received one spam so far, you have either done a very good 
job of setting up your system or your spam threshold is set too low. Do you 
really think it is possible to stop every single piece of spam (without a 
lot of false positives)? Don't you think spammers know about blacklists and 
SpamAssassin? They work very hard at composing messages that will not get 
blocked by SpamAssassin. If you are one of the first to receive a spam 
mailer from them, their mail may not yet be in any network based blacklists. 
You should use sa-learn to feed this message to Bayes. If you get the same 
message a number of times, you should consider learning how to create custom 
rules (which involves some basic understanding of regex). Without the entire 
message I don't think anyone can determine if there is some problem with 
your system, or if this particular spam simply scored low because the 
spammer is good at what they do. BTW, it is helpful to see what rules hit. 
Since you don't have the X-Spam-Status report, it will be difficult to 
diagnose. There is no way to know on our end if the sender was whitelisted 
or auto-whitelisted. In amavisd-new you should lower $sa_tag_level_deflt so 
both spam and ham get the X-Spam-Status header.

$sa_tag_level_deflt  = undef; # add spam info headers if at, or above that 
level;
		          # undef is interpreted as lower than any spam level

and make sure .royah.com is included in your @local_domains_maps because the 
headers will only get written if the domain is considered local.

Gary V

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/