• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Activate DrWeb across multiple domains

wdriver

Basic Pleskian
I have hundreds of mail accounts across 250+ domains & want to turn DrWeb on for ALL mail accounts.

There is no easy way through the Plesk interface to do this unless i go into each individual domain & then do a 'group operation'. This will take hours to complete.

Does anyone know where the settings are in the 'psa' mysql database so i can go in and update it all instantly. I am fully familiar with mysql so don't need any code advice. Just need to know the 'table' name, column & parameter to set.

Thanks in advance :)
Wayne.
 
Hi,

Here is the reply i got from Plesk support. I have not had a chance to apply this yet so i don't know if it works sorry.

-------------------------------------------
Dear Wayne,

you are right, there is no such automatic feature in Plesk. However if
you want to enable drweb virus protection for all mail accounts at once
you may use Plesk creation utility:

# /usr/local/psa/bin/mail.sh --help

For example the following command will enable drweb for account
mail@domain.tld:

# /usr/local/psa/bin/mail.sh --update mail@domain.tld -drweb
<off|inout|in|out>

To get list of all mail accounts use the following command:

# mysql -B -uadmin -p`cat /etc/psa/.psa.shadow` psa -e'select
m.mail_name, "@", d.name from domains d, mail m where m.dom_id=d.id;' |
perl -pi -e 's/\t//g'

Using this information you may create a script that enable drweb for all
mail accounts on the server.

Thanks,

--
Anastasiya Bezborodova
Technical Support Engineer
SWsoft, Inc.

-------------------------------------------
 
Back
Top