Jérôme Blion a écrit :
> Hello,
>
> I found no modules to integrate spamassassin into pythonfilter.
> I found no python "modules" that I could have imported.
> So, the way I use to scan mails are the less worst I found... using 
> spamc...
>
> For people who want to use it, be careful: mails are refused, not 
> moved in a "junk" folder. So, take care about the score ;)
>
> What do you think about this piece of code?
>
> Now, pythonfilter is filtering spams and viruses... All that I need :)
>
> HTH :)
>
I modified the python file to call spamc -E -y < bodyFile
This way, when legitimate mails are dropped, the mail admins will be 
able to take correct actions.

I don't know if spammers will take the time to read the error message :)

HTH.
Jerome Blion.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to