[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to reject spam with embedded graphics



Am 2007-03-07 11:19:30, schrieb Chris Lale:
> There was some discussion on the list a while ago about how to deal with 
> spam that has text as graphics embedded in it. There was disagreement 
> about whether or not to use it to teach SpamAssassin. I have continued 
> feeding this spam to SpamAssassin, but a large amount still gets through.
> 
> Does anyone know of a way to deal with spam with embedded graphics? I 
> cannot use greylisting on a home desktop machine.
> 
> Any thoughts welcome.

On SMTP level?

You can test the incoming HEADER if it contain

    Content-Type:.*image/(gif|jpeg|pjpeg|png)

which mean it is a IMAGE spam only (I get per day arround
150 of them) and reject it.

Then a second filter which check the HEADER for

    Content-Type:.*multipart/mixed

AND the BODY

    Content-Type:.*image/(gif|jpeg|pjpeg|png)

from which I get per day arround 3800.

Please note, that if you have friends you should put them
by default into a WHITELIST to solve future problems.

Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: