We don't have documentation on it but I was planning on keeping clamav on the outside of smartermail's docker so people can run the clamav container and get the benefits of running clamav next to smartermail. I do not have the steps written out for this yet but it will be along these lines.
1. Make clamav docker container, make sure to use a mount/volume for signatures, and forward the port 3310, give the container a name like "clamav".
2. In SmarterMail, set the clamav provider settings to "external" and set the endpoint to "clamav:3310"
(I'm hoping to have a docker.compose and docker run command example of this later, including an environment variable to set the CLAMAV_IP and CLAMAV_PORT automatically, skipping the need for step 2.)
Stay tuned I'll make sure to update this as I get this information down.
Matt Petty
Senior Software Developer
SmarterTools Inc.
www.smartertools.com