Re: [exim] Image spam stopping...

Top Page
Delete this message
Reply to this message
Author: James Price
Date:  
To: 'James Price', exim-users
Subject: Re: [exim] Image spam stopping...
With the acl rule below, how can I add in the multipart/alternative in
addition to the multipart/related. If both are present I want to be able to
deny the message.

Thanks,
James

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of James Price
Sent: Thursday, March 22, 2007 11:41 AM
To: exim-users@???
Subject: [exim] Image spam stopping...

I've noticed and read up to confirm, most image spam comes in with the
following in the header. I have an ACL rule already in acl_smtp_mime as
follows:

deny    message = Image SPAM detected: message denied
      condition = ${if eq{$mime_content_type}{multipart/related}{1}{0}}



I'm looking for this:
Content-Type: multipart/related;
    type="multipart/alternative";


If I wanted to expand my rule above to also require matching of the
multipart/alternative, how would I do that since they're in the same string?

If anyone has other more effective ideas to stop image spam, I'm open to
suggestions. The rule above has caused some issues with false positives for
me.

Thanks,
James


James R. Price
Digital Chicago Networks, Inc.
3636 S. Iron St., Chicago, IL 60609
Tel/Fax/Cell: 800-603-0769
Web: www.digitalchicago.net
Email: james@???


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