Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Emails with valid archived files in attachement are blocked by `drwebd` service

 
antivirusdomainsemailmailmailbox

Symptoms

  • Emails with valid archived files in attachments are blocked by drwebd service:

    A message with the following attributes was not delivered because it contains an object which violates archive restrictions and cannot be checked by antivirus filter.
    Relaying such messages is blocked by administrator.

  • A similar message can be found in the antivirus report and in the sender's mailbox:

    --- Antivirus report ---
    Detailed report:
    127.0.0.1 [26365] drweb.tmp.g2tuDx - archive MAIL
    127.0.0.1 [26365] >drweb.tmp.g2tuDx/4.part - Ok
    127.0.0.1 [26365] >drweb.tmp.g2tuDx/6.part - archive RAR
    127.0.0.1 [26365] >>drweb.tmp.g2tuDx/6.part/16-12-2015 Acc+Greenacc hrms bk 16-12-2015.bak - Ok
    127.0.0.1 [26365] >>drweb.tmp.g2tuDx/6.part/16-12-2015 Acc+Greenerp 16-12-2015.bak - Ok
    127.0.0.1 [26365] >>drweb.tmp.g2tuDx/6.part/16-12-2015 Acc+GreenHrms-Green 16-12-2015.bak - Ok
    127.0.0.1 [26365] >drweb.tmp.g2tuDx/6.part - Ok
    127.0.0.1 [26365] >drweb.tmp.g2tuDx/7.part - archive RAR
    127.0.0.1 [26365] >>drweb.tmp.g2tuDx/7.part/16-12-2015 Meps16-12-2015ece.bak - Ok
    127.0.0.1 [26365] >>drweb.tmp.g2tuDx/7.part/16-12-2015 Meps16-12-2015erp.bak - Ok
    127.0.0.1 [26365] >>drweb.tmp.g2tuDx/7.part/16-12-2015 Meps16-12-2015hrms.bak - file too large skipped
    127.0.0.1 [26365] >>drweb.tmp.g2tuDx/7.part/16-12-2015 Meps16-12-2015ies.bak - Ok
    127.0.0.1 [26365] >drweb.tmp.g2tuDx/7.part - Ok
    127.0.0.1 [26365] >drweb.tmp.g2tuDx/8.part - Ok
    127.0.0.1 [26365] >drweb.tmp.g2tuDx/9.reexport - Ok
    127.0.0.1 [26365] drweb.tmp.g2tuDx - Ok

    Scanning statistic:
    Archive restriction : 1

  • The Switch on antivirus protection for this email address option is enabled and Check for viruses is set to Incoming and outgoing mail in Domains > example.com > Email Addresses > [email protected] > Antivirus.

  • A similar error is present in /var/log/messages:

    drwebd.real: 127.0.0.1 [18812] >>>/var/spool/drweb/spool/drweb.tmp.qFHUZK/4.part/file.exe - - timeout!

Cause

The issue caused by insufficient values of MaxFileSizeToExtract and FileTimeout parameters of Plesk Premium Antivirus package.

Resolution

  • Increase maximum archive sizes and timeouts:

    Note: Too high values might cause Denial of Service (DoS) attacks possible by consuming too much server resources.

    1. Connect to the server via SSH

    2. Edit file /etc/drweb/drweb_handler.conf by setting ArchiveRestriction as follows:

      ArchiveRestriction = pass

    3. Edit file /etc/drweb/drweb32.ini and increase the value for the parameters FileTimeout and MaxFileSizeToExtract:

      FileTimeout = 60
      MaxFileSizeToExtract = 100000

      Note: Value of the MaxFileSizeToExtract variable can be changed as desired

    4. Restart Plesk Premium Antivirus in Tools & Settings > Services Management to apply changes.

 

  • Disable antivirus notifications completely:

    1. Connect to the server via SSH

    2. Edit file /etc/drweb/drweb_handler.conf and disable SenderNotify and AdminNotify for ArchiveRestrictionNotifications:

      [ArchiveRestrictionNotifications]
      SenderNotify = no
      AdminNotify = no

    3. Restart Plesk Premium Antivirus and SMTP Server in Tools & Settings > Services Management to apply changes.

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »

Dynamic List vs. Active List: A Comprehensive Comparison – Unveiling the Ultimate Winner!

Read More »
Knowledge Base

Mail delivery does not work: do not list domain in BOTH mydestination and virtual_mailbox_domains

Read More »

Email header analysis reports SPF failed for localhost IP on mail sent from Plesk hosted mailbox: SPF Authentication : SPF Failed for IP – 127.0.0.1

Read More »

Websites on Plesk server are slow or show error 500 or PHP mail cannot be sent: ap_pass_brigade failed

Read More »

Unable to send mail from Plesk server: deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Read More »

Hosting Wiki

  • Server Redundancy
  • QMAIL
  • Sendmail
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • Domain
  • Plesk
  • Web Server
  • DNS Server
  • SSH
  • Email Autoresponder
  • Mailing Lists
  • Email Alias
  • Email Virus Protection
  • Email Forwarding
  • Webmail
  • SMTP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family