Re: [exim] SPAM with empty subject field

Etusivu
Poista viesti
Vastaa
Lähettäjä: Robby Balona
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] SPAM with empty subject field

Wow! This is a nice rule... Well done!


-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of Mar Matthias Darin
Sent: Friday, August 24, 2007 11:10
To: exim-users@???
Subject: Re: [exim] SPAM with empty subject field

Hello,

paul.mcilfatrick@??? writes:

> Lately we have been receiving a lot of SPAM with the empty subject
> field.


Here is what I use for this problem:

acl_check_data:
  deny    condition     = ${if or 
{{!def:h_Date:}{!def:h_Subject:}{!def:h_To:}}{yes}{no}}
          message       = Message does not conform to RFC2822 standard 


  deny    condition     = ${if eq{$h_Subject:}{}{yes}{no}}
          message       = Messages with blank/empty subjuect line are not 
accepted 


This works perfectly on my system.

---

DynaStop: Stopping spam one dynamic IP address at a time.
http://tanaya.net/DynaStop/

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


---------------------------------------------------------------
Any views expressed in this message are those of the individual
sender and not of Sysnet Cape CC.

Sysnet Cape CC
Tel +27 21 713 2050
Fax +27 21 713 2019
support@???