Add clamav milter packaged, configure it and use supervisord to start it up.

TODO: start milter only if community container stalwart is used.

Signed-off-by: Ruben D. <ruben@winterrific.net>
This commit is contained in:
Ruben D. 2025-10-14 20:59:42 +02:00
parent d83b9545f4
commit 28f7d3571c
No known key found for this signature in database
GPG key ID: 8C78A3716236648D
3 changed files with 14 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash
sed "s|aio-placeholder|$MAX_SIZE|" /etc/clamav/clamd.conf > /tmp/clamd.conf
cp /etc/clamav/clamav-milter.conf /tmp/clamv-milter-conf
# Print out clamav version for compliance reasons
clamscan --version