Como activar antivirus en todos los dominios de Plesk (odin)
Es necesario entrar a shell como root y ejecutar
Para un dominio en especifico
# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -NBe"select m.mail_name, d.name from mail as m left join domains as d on m.dom_id=d.id where name LIKE 'example.com';" | while read j i; do /usr/local/psa/bin/mail -u $j"@"$i -antivirus inout; echo "";done
Para todos los dominios
# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -NBe"select m.mail_name, d.name from mail as m left join domains as d on m.dom_id=d.id where 1;" | while read j i; do /usr/local/psa/bin/mail -u $j"@"$i -antivirus inout; echo "";done;
espero les sirva