Re: [courier-users] courier-pythonfilter clamav question

This is a discussion on Re: [courier-users] courier-pythonfilter clamav question within the Courier-Imap forums, part of the Mail Servers and Related category; On Friday 21 December 2007 18:26:16 FM wrote: > So I asked clamav ML and then they asked ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-21-2007
Robert Penz
 
Posts: n/a
Default Re: [courier-users] courier-pythonfilter clamav question

On Friday 21 December 2007 18:26:16 FM wrote:

> So I asked clamav ML and then they asked me back these :
> How does courier-pythonfilter use clamav? Via clamdscan, sockets, or
> clamscan?
> Can someone have the answer ?


what code are you using? if its mine, its using pyclamav

the code is really easy

import pyclamav
.......
pyclamav.scanthis(clamStream)
.......

which you can easily test by calling "python" and then pasting following:

import pyclamav
pyclamav.scanfile("filename2scan.bin")

you'll see the result of it.

--
Regards,
Robert
----------------
Robert Penz
robert AT penz DOT name

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0