Re: [exim] Exim4 Anti-Image-Spam Program

Pàgina inicial
Delete this message
Reply to this message
Autor: Craig Whitmore
Data:  
A: maciek
CC: exim-users
Assumpte: Re: [exim] Exim4 Anti-Image-Spam Program
>>
>
> how can i quarantine spam images? f.e. a test period ?
>


Change to:

warn  condition      = ${if !eq{$acl_m2}{}{1}{0}}
         message        = X-Image-Spam: Yes
         log_message    = Image Found


So it will only Mark messages and log them

and then you can edit the per program to go for example:

if ($numberfound > 1) {
                system ("cp $filename /tmp/images/");
                print 1;
                }
        }


And then you can check by hand the images it finds.

Thanks
Craig