Dear Guest
> Could you make it possible to REJECT mails with
> selected attachment file types - ex. EXE, PIF,
> COM, VBS, BAT, CMD, DLL
> These types of attachments is 99,9% of all virus mails.
> And perhaps an option to reply to the sender that the mail was rejected
Without wanting to detract from the work Abe is doing, have you all looked at executable content blocking, as implemented by Gordon Rowell see
http://lists.contribs.org/mailman/public/devinfo/msg07431.htmland
http://lists.contribs.org/mailman/public/devinfo/msg07511.htmlMake sure you read all the posts as they cover the initial development and newer releases.
It blocks mesaage attachments with (Windows) executable files which as "Guest" suggests cover 99% of viruses.
Even though the virus infected file purports to be a bat, pif or whatever, they are still executable and therefore the message gets blocked. And yes it does send a "Sorry we don't accept messages with executable content" message to the sender (who is often bogus anyway).
The method is called Pattern Matching, I have had it running on my server for a few weeks now and virus detection is virtually zero. I have had 1 virus detected in the last 3 weeks by Clamavis, whereas previously there would have been many hundreds detected.
The only price you pay is that you cannot send legitimate *.exe files or *.zip v1 format files (which is an old format), you have to zip them (in v2 zip format, modern format).
It works very well. I believe Gordon is working to add more functionality to include the ability to select any/all types of files to be blocked or allowed.
For now, the currently available contrib does a fantastic job at stopping virtually all viruses in email attachments.
I do have a draft howto prepared but not yet released, coming soon.
Regs
Ray