Hello, 

[EMAIL PROTECTED] 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/

Reply via email to