Passo a passo para utilizar o antivírus Bitdefender no MailCleaner.
1 - Adicionando o repositório e instalando
echo deb bitdefender non-free >> /etc/apt/sources.list
wget -q -O- | sudo apt-key add -
aptitude update
aptitude install bitdefender-scanner
2 - Informando o caminho do scanner para o MailCleaner
Altere o arquivo /usr/mailcleaner/etc/mailscanner/virus.scanners.conf_template e ajuste a linha
bitdefender /opt/MailScanner/lib/bitdefender-wrapper /opt/BitDefender-scanner
3 - Adionando o Bitdefender a lista de scanners
/usr/mailcleaner/bin/mc_mysql -m
> USE mc_config
> INSERT INTO scanner (name,comm_name,active,path,installed,version,sig_version) VALUES('bitdefender', 'BitDefender', 1, '/opt/BitDefender-scanner', 1, '', '');
4 - Reiniciando o Bitdefender
/usr/mailcleaner/etc/init.d/mailscanner restart
5 - Inicializando e aceitando os termos de licença
/opt/BitDefender-scanner/bin/bdscan
6 - Atualizando
/opt/BitDefender-scanner/bin/bdscan...