Great tip for OSX users, but why post to a linux discussion list? :P

Would be more appropriate had you included instructions for linux, and maybe a procmail recipe or two that use clamscan ;)

Mark

On May 10, 2005, at 11:26 AM, Joseph E. Sacco, Ph.D. wrote:

The Clam AntiVirus software,

    http://www.clamav.net

runs under MacOSX.

To get a working version there are three choices:

        * roll your own,
        * download/build using Fink,
        * download a package built by Mark Allan
                http://www.markallan.co.uk/clamXav/

Mail.app, the stock mail program that comes with MacOSX, supports the
creation of mail filters, which Apple calls Rules. One possible action
in a Rule is to invoke an Applescript.

I searched the web for an Applescript that would filter email through
ClamAV, but did not find one. I contacted Mark Allan, the maintainer of
clamXav, and was told that to his knowledge none existed. So..., I wrote
one.


Attached is an Applescript [in text format] that will filter email
through the Clam AntiVirus scanner. Upon detecting infected email:

        * subject is prefixed with "***INFECTED***"
        * message is tagged as "Junk"
        * message is moved to mailbox "Junk"

-Joseph

--
joseph_sacco [at] comcast [dot] net

<clamAVscan.applescript>
_______________________________________________
yellowdog-general mailing list
[email protected]
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'

===================================== Mark Guertin Technology Manager, Bruce Mau Design 197 Spadina Ave, Suite 501 Toronto, ON, Canada M5T 2C8 [EMAIL PROTECTED] 416-260-5777 ext. 291 =====================================


This email and its attachments are confidential: they are for use of the
named recipient(s) only. Information contained in this email and attachments
to it are protected by privilege, work product immunity, copyright and other
applicable law. If you are not the intended recipient please notify us
immediately by telephone at 416.260.5777 or by e-mail at
[EMAIL PROTECTED] and delete this email from your files.


_______________________________________________
yellowdog-general mailing list
[email protected]
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'

Reply via email to