HHawk
Regular Pleskian
Hi guys,
I have a quick question, how do I enable anti-virus on all email accounts from SSH in Onyx?
The old way, which was working for Plesk 12.5.3, doesn't work anymore.
This is what I used in the past:
I tried to use the command "plesk db" first and enter the code above, but it doesn't work.
Any ideas?
I have a quick question, how do I enable anti-virus on all email accounts from SSH in Onyx?
The old way, which was working for Plesk 12.5.3, doesn't work anymore.
This is what I used in the past:
for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select concat(mail.mail_name,\"@\",domains.name) as address from mail,domains,accounts where mail.dom_id=domains.id and mail.account_id=accounts.id order by address"`; do /usr/local/psa/bin/mail -u $i -antivirus in; done
I tried to use the command "plesk db" first and enter the code above, but it doesn't work.
Any ideas?