Spam Free Email

Anti-spam ideas, tools and services

December 26th, 2005

Got ClamAV working

well, it took me almost all day, but I finally got the C-port for ClamAV working the way I wanted it to.

Turned out there is a bug somewhere that makes it not like some of the file names I had. I use the Maildir naming convention and in the middle of the file it had R23P45 or something like that. it was an R two numbers and a P then two numbers and when ever this pattern came up it would segment fault with no useful information.

After collecting enough examples of the exact messages that were causing the problem and noticing that they worked fine when I renamed then I rewrote my maildir naming function and I generate a temporary name before I can the message.

It’s working quite well and is already integrated into the email system.

December 26th, 2005

ClamAV for Erlang

A few days ago I posted that I was planning on writing a C-port driver for ClamAV so that I could use it in Elrang. Then this morning as I was checking my comments on different sties I noticed that someone named Oliver gave me a link to his C-port that he had already written.

You can find it at http://labs.biniou.info/erlang/erlClamAV/

I downloaded it and made a few changes to make it work better on my system and it seems to work just fine. I then emailed Oliver with the changes that I made so that he can look into incorporating them into his next release :-)

Now I need to integrate ClamAV into my email server, which should be way more fun then writing the front end :-)

This is why I have been blogging about what I am doing. I know that people end up finding it and this has been the single greatest help in pushing my project along from an outside source :-)

|