Mailscanner, ClamAV on FreeBSD question

Julian Field mailscanner at
Fri Mar 12 09:37:12 GMT 2004

At 22:54 11/03/2004, you wrote:
>Hello everyone.
>Just have a few questions regarding MS, ClamAV on FreeBSD 4.9 box.
>I downloaded the latest release of MS through the FreeBSD ports tree
>(4.28-5 I believe) well as installing ClamAV 0.67. I flipped through
>the documentation on setting up ClamAV to work with MS. Seems pretty
>straight forward, but Just want to clear up a few things.
>In mailscanner.conf, i specified clamav as the virus scanner. I then edited
>the virus.conf file to reflect the correct location of where clamav is
>located. Originally, it had the following:
>clamav          /usr/local/libexec/MailScanner/clamav-wrapper   /usr/local/
>I changed that to the following:
>clamav          /usr/local/libexec/MailScanner/clamav-wrapper
>Wasn't sure if that was correct or not.

No. Look at my original line, it only gives the /usr/local bit of the path
to clamscan.

>  Thought i'd ask.
>You'll have to excuse my lack of knowledge here. Im getting my feet wet
>with both MS and ClamAV. After installing the clamav port, I have the
>option to setup a few additional things in my /etc/rc.conf. Specifcially:
>clamav-freshclam (which is for updating virus def's)
>Milter is obviously for sendmail, which is the MTA I am running by the way.
>I wasn't sure if I needed to have clamd or milter start up before MS, like
>on a reboot? Or does MS automatically call it when it needs to scan a email?

Don't start up any of those, MailScanner will do everything for you. You
just need a cron job that runs update_virus_scanners every hour.

>Great product BTW. I'm really digging everything. Kudos to Mr. Field.

Julian Field
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

More information about the MailScanner mailing list