Virus scanner for samba file server

Art Wildman wildman at
Fri Jan 12 06:02:00 GMT 2001

NAI/ has a linux virus scanner/inserter, but I don't like the way it
behaves on winblows, so I've never had the guts to try it on a perfectly good
linux server ;) This most elegant solution appeals to me....
Art Wildman - wildman at - http:/

------------< From Mailhelp List >--------------
On Tue, 26 Dec 2000, Charles Galpin spewed into the bitstream:

CG>This site has everything you need to set up a *general* mechanism to
CG>thwart scripting or exe viruses. The basic approach is to rename
CG>attachment, and modify scripts to prevent them from running without you
CG>manualy renaming them (or modifying the scripts). When I hear the name
CG>John Hardin, I cannot help but smile :)
CG>ho ho ho
CG>On Sat, 23 Dec 2000, scott.list wrote:
CG>> Happy Holidays guys!
CG>> Here as of late I've been getting worn out with a virus.  It's attached in
CG>> various forms to a  message that says HaHa or Smow WHite and the Seven
CG>> Dwarfs....

Here is what I do:

*^Content-type: (multipart/mixed|application/octet-stream)
   :0 HB
   *^Content-Disposition: attachment;
     :0 fhbw
     |/bin/sed -e 's/\([nN][aA][mM][eE]=".*\....\)"/\1.txt"/'

     :0 c

It seems to work okay... :-)

Chuck Mead

This mail is from the MailHelp mailing list. Send "unsubscribe mailhelp"
in the subject line to listar at to be removed. The archives
are located at Have a nice day!

-------- Original Message --------
Subject: RE: Virus scanner for samba file server
Date: Fri, 12 Jan 2001 10:29:12 +1100
From: "Makis Marmaridis" <I.Marmaridis at>
To: "Armand Welsh" <armand at>
CC: <samba-ntdom at>

>well, you can have samba execute your virus scan against files when
>read/written to disk.  This is a more advanced feature, but it can be done.

With the current setup I have, this is not a necessity however it would be
interesting to know how you do this in your system. Could you pass along any
details about implementing this.


More information about the samba-ntdom mailing list