On 02/27/2014 12:50 PM, Francesco Acchiappati wrote:
Helllo everyone,
i'm in need to build a custom filter to block unsolicited emails from a
brazilian "advertising" company.
i can't get rid so i collected a couple of headers and i'd like to hear
from you on what would be the best way to create a filter for them.

headers follow:
------------------
Received: from ads42.diamagazineoff.com.br (ads42.diamagazineoff.com.br
[78.129.159.202])
         by mail.secoges.com (Postfix) with ESMTP id 2C93A1938587
         for <coffina...@secoges.com>; Thu, 27 Feb 2014 09:11:37 +0100
(CET)
Date: Thu, 27 Feb 2014 05:07:57 -0300
To: "--removed--" <--removed-->
From: Dafiti - Parceiros <parceri...@diamagazineoff.com.br>
Reply-to: Dafiti - Parceiros <parceri...@diamagazineoff.com.br>
Subject:
=?utf-8?Q?Liquida_de_cal=C3=A7ados_Dafiti_Compre_com_at=C3=A9_70%
_e_aprov?=
  =?utf-8?Q?eite?=
Message-ID: <9e3e67c749b92d8b8733f9eae1f471a1@localhost.localdomain>
X-Priority: 3
Sender: <user-rt@i...@diamagazineoff.com.br>
-----------------

Received: from mmg19.namobly.com (mmg19.namobly.com [173.44.54.19])
         by mail.secoges.com (Postfix) with ESMTP id 5D67E193857B
         for <coffina...@secoges.com>; Tue, 25 Feb 2014 17:44:26 +0100
(CET)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=dk;
d=viajarelite.com.br;
  h=Date:From:Subject:To:Reply-to:Mime-Version:Content-type:Message-ID;
i=f...@viajarelite.com.br;
  bh=mbG4Y+LtzBtVi4cuWk0Ru5Q2NwE=;
  b=rx82PtQbpoc
+TKm0jFlFLPHjunj410FLxk2JYYkpvqWlnSMXIvSEP6ZI1m5sY8sgEyFwetB4lFPC

4kg8iK9yDsMNkj4VCvekqurPISwjCFVQMVHdRRmwFdHctPcH74GJBE4iEZeMwZrBcTrSyyqVd747
    75egg3/5C0JLw9fnD1g=
Date: Tue, 25 Feb 2014 16:39:43 -0000
From: "Dafiti - Parceiros" <f...@viajarelite.com.br>
Subject: 4 sapatos de arrasar por apenas 150,00 Leve agora pra casa
To: --removed--
Reply-to: "Dafiti - Parceiros" <f...@viajarelite.com.br>

----------------------

Received: from klm26.xptoplus.com.br (klm26.xptoplus.com.br
[198.23.201.26])
         by mail.secoges.com (Postfix) with ESMTP id 1676A193857A
         for <coffina...@secoges.com>; Thu, 13 Feb 2014 09:00:07 +0100
(CET)
Date: Thu, 13 Feb 2014 06:00:01 -0200
To: "--removed--" <--removed-->
From: Dafiti Sports <will...@xptoplus.com.br>
Reply-to: Dafiti Sports <will...@xptoplus.com.br>
Subject: =?utf-8?Q?Ainda_n=C3=A3o_usou_os_seus_100,00_Off=3F_Aproveite?=
Message-ID: <617b5735ddb0ccec1fe00ace82799bde@localhost.localdomain>
X-Priority: 3
Sender: <user-rt@i...@xptoplus.com.br>
X-Mailer: OEM
X-Complaints-To: spam-rep...@xptoplus.com.br
List-Unsubscribe:
<http://xptoplus.com.br/media/u.php?p=s6/rs/5m27/ry/uj/rs>

---------

thanks in advance.


untested rule:

header  SPAM_DAFITI     Reply-to =~ /\bDafiti\b/

score as high as you please
this rule may not work for long

their Xmailer may be a good trait as well .-)
X-Mailer: OEM




Reply via email to