I want to integrate supported applications like ClamAV and SpamAssassin to mail serever ? is it free? how can i integrate them?
Hello @rizwan ,
Yes you may integrate free AS/AV solution as ClamAV and SpamAssassin in Axigen and it is free.
Regarding the integration please le me know if the operating system that host Axigen.
Regards,
Florin
Thanks for your reply.
I am working on Linux/x46 and Axigen version is 10.15.19
Hello @rizwan
Find below the steps to install Spam Assassin and ClamAV on Ubuntu/Debian Linux hosts:
Spam Assassin
- Install SpamAssassin:
sudo apt install spamassassin
- Start SpamAssassin service:
sudo systemctl start spamassassin
- From Webadmin Interface → Security & Filtering → AntiVirus & AntiSpam → Supported Application → Check if SpamAssassin is Available and if so you may enable the filter
ClamAV
- Install ClamAV:
sudo apt install clamav clamav-daemon
- Create a backup of ClamAV configuration file:
sudo cp /etc/clamav/clamd.conf /etc/clamav/clamd.conf.backup
- Enable the ClamAV TCP listener using the below command:
sudo cat << EOF >> /etc/clamav/clamd.conf
TCPSocket 3310
TCPAddr 127.0.0.1
EOF
- Add user clamav to axigen group:
sudo usermod -aG axigen clamav
- Restart ClamAV service:
sudo systemctl restart clamav-daemon
- From Webadmin Interface → Security & Filtering → AntiVirus & AntiSpam → Supported Application → Check if ClamAV is Available and if so you may enable the filter
Note that if AppArmor is running it will heavily restricts what the ClamAV daemon can do and it will not work with Axigen.
To disable AppArmor from enforcing restrictions on “ClamAV” you can set the profile to complain mode using the below command.
Proceeding with this action will weaken some of the safety measures implemented by AppArmor to secure clamd. Continue at your own risk.
sudo aa-complain /usr/sbin/clamd
The “aa-complain” command requires apparmor-utils to be installed.
Regards,
Florin