I recently installed spamassassin and clamav in my unix based server and wanted to hook it up with mailenable on my windows server. Well, I have managed to get it to work. I have to create a pickup program for spamc/spamd and also create a windows client for clamd. For those who are interested you may download it from the following urls.
http://www.whiteknightconsultancy.com/d ... Pickup.zip
http://www.whiteknightconsultancy.com/d ... client.zip
You can see the usage information when you execute the program in command line.
SpamAssassinPickup
Just copy SpamAssassinPickup.exe to your MailEnable bin folder. Then configure the MTA to execute, use SpamAssassinPickup.exe [host] [maxsize].
Example:
Code: Select all
C:\Program Files\MailEnable\bin\SpamAssassinPickup.exe 123.123.1.1 250000
Example:
Code: Select all
SpamAssassinPickup.exe 123.123.1.1 250000 spam_message.txt TEST
That's all.
clamdclient
Just copy clamdclient.exe to your MailEnable bin folder. Then merge the clam.reg file to your registry. After this, you should be able to see the new item in your list of AntiVirus software in MailEnable. Click "Options" and modify the command line arguments with your IP Address and Port number.
Example:
Code: Select all
"[AGENT]" /host=123.123.1.1 /port=3310 "[FILENAME]"
Example:
Code: Select all
clamdclient.exe /host=123.123.1.1 /port=3310 /test
clamdclient.exe /host=123.123.1.1 /port=3310 eicar.com
clamdclient.exe /host=123.123.1.1 /port=3310 /modify eicar.com
clamdclient.exe /host=123.123.1.1 /port=3310 < eicar.com
That's all
Finally, just to include some observations after setting up this configuration. I tested the mail server by sending ten test spam messages and ten test virus message at one go, and found that it was all processed in under 2 seconds without failure. This configuration also allows me to use 4 threads without issue (it would be an issue if used with ClamWin). I do encourage anyone to consider getting a linux box to eliminate spam and scan viruses in this way.
Regards,
Terrence