• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Uninstall DrWeb

P

Peter Chapman

Guest
How can I uninstall or completely disable DrWeb Antivirus?

Stopping the service stops QMail from sending email messages, and setting Anti-virus in Plesk's Settings to None does not stop DrWeb from being used.

Thanks,


Peter
 
Will I need to set any configuration options in QMail or Plesk once I do this?

I have noticed that QMail refuses to send or receive email at all if the DrWeb service is stopped - will this not still happen if I remove DrWeb via RPM?

Thanks,


Peter
 
Running the command albans recommended did the trick. It also allowed me to run yum update again.

Thanks!
 
It worked for me as well to remove DrWeb, on Plesk 10.3.

HOWEVER! After removing DrWeb, Qmail was still trying to use DrWeb for all current mailboxes. Resulting in many errors and non-deliverable mail. To fix this, I had te remove all handlers and rebuild the mail config. So if you want to remove DrWeb from your Plesk server, you should check the handlers as well. To remove them (and make a backup):

# /usr/local/psa/admin/sbin/mailmng --stop-service
# mkdir /root/bup-handlers
# cp -a /usr/local/psa/handlers/before* /root/bup-handlers/
# cp -a /usr/local/psa/handlers/info /root/bup-handlers/
# rm -rf /usr/local/psa/handlers/before-*/*
# rm -rf /usr/local/psa/handlers/info/*
# /usr/local/psa/admin/sbin/mchk --with-spam
==> Checking for: mail_spam_restore... not exists
==> Checking for: mailsrv_conf_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_drweb_restore... not exists
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_grey_restore... ok
# /usr/local/psa/admin/sbin/mailmng --start-service


Thanks,

Pieter
 
yum remove drweb-base drweb-bases drweb-common drweb-daemon drweb-updater psa-drweb-configurator
 
Declaration of ServerMailForm::parse() should be compatible with that of Form_Abstrac

All is working here, but can't access mail configuration, neither by panel global settings, neither slecting single mailbox

ERROR: PleskFatalException

Livello superiore
Declaration of ServerMailForm::parse() should be compatible with that of Form_Abstract::parse()

0: InterfacesManager.php:40
InterfacesManager::listImplFiles(string 'VirusFilter')
1: InterfacesManager.php:67
InterfacesManager::getImpls(string 'VirusFilter')
2: VirusFilter.php:115
VirusFilterManager::getSelectionList()
3: class.ServerMailForm.php:386
ServerMailForm->assign(array, array, object of type SPFManager)
4: mail.php3:233
require(string '/opt/psa/admin/htdocs/server/mail.php3')
5: plesk.php:68
 
check that you have all of these ones:

# locate VirusFilter
/opt/psa/admin/plib/interfaces/VirusFilter.php
/opt/psa/admin/plib/mail/MailNameVirusFilter.php
/opt/psa/admin/plib/registry/VirusFilter
/opt/psa/admin/plib/registry/VirusFilter/drweb.php
 
Back
Top