.zip,.exe attachments and spam assassin

Les Mikesell lesmikesell at gmail.com
Tue Nov 22 14:39:35 UTC 2005


On Tue, 2005-11-22 at 06:16, Michael A. Peters wrote:
> I've gotten a ton of viruses today - there seems to be a worm lose
> again.
> 
> I've come to the realization that I have never ever received a zip
> attachment from someone not in my address book that I actually wanted,
> so I would like to set a spam assassin rule to mark mail with a .zip
> or .exe with a high spam score (my address book is white listed)
> 
> Anyone know how to do this off hand?
> 
> Another possibility would be a procmail rule - I use procmail to filter
> my mail - but since spamassassin already knows about my whitelist, I'd
> rather do it in spamassassin.

An even better approach is to run the free clam antivirus scanner
along with spamasassin.  One way is to use MimeDefang as a wrapper
to control all the scanning you want to do.  Mine has caught
close to a thousand Sober.U's since yesterday.

-- 
  Les Mikesell
    lesmikesell at gmail.com





More information about the users mailing list