Re: [exim] Good tricks for catching image spam

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Perkel
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Good tricks for catching image spam
Here's what I'm trying and hoping I won't get false positives.

drop     message = REJECTED - Graphic Attachment and bad HELO 
\"$mime_filename\" HELO=$sender_helo_name
    condition = ${if match 
{${lc:$mime_filename}}{\N(\.gif|\.jpg|\.jpeg|\.png)$\N} {1}{0}}
    condition = ${if match {$sender_helo_name} {\N\.\N} {no}{yes}}


drop     message = REJECTED - Graphic Attachment and failed reverse 
lookup \"$mime_filename\" IP: $sender_host_address
    condition = ${if match 
{${lc:$mime_filename}}{\N(\.gif|\.jpg|\.jpeg|\.png)$\N} {1}{0}}
    condition = ${if eq{$sender_host_name}{}}