Re: [exim] SPAM with empty subject field

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Mar Matthias Darin
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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/