Olá Douglas,
O Exim tem um sistema de controlo de virus simples e que pode ser configurado pelo próprio utilizador. Por defeito bloqueia mensagens com ficheiros em anexo potencialmente perigosos (tipo: pif, src, etc...)
O ficheiro com estas configurações está normalmente localizado em: /etc/antivirus.exim
Pode criar as suas próprias regras neste ficheiro.
EXEMPLO1:
if $message_body matches "TEXTO NA MENSAGEM" then fail text "This message has been rejected by the anti-virus\n\ If you believe this bounce message is in error, Please\n\ change the message body of your email and re-send." seen finish endif
EXEMPLO2:
if $header_subject: matches "TEXTO NO ASSUNTO" then fail text "This message has been rejected by the anti-virus\n\ If you believe this bounce message is in error, Please\n\ change the message body of your email and re-send." seen finish endif
Se necessitar de um sistema mais avançado que analise as mensagens à procura de virus sugiro-lhe o MailScanner.
No seguinte endereço encontra uma instalação especial para servidores cPanel: http://layer1.cpanel.net/mailscanner-autoinstall-1.5.tar.gz
Espero ter ajudado. Joao
|