All primary Virus scanners failed, considering backups

This document (7004385) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server


Error "All primary Virus scanners failed, considering backups" in the /var/log/mail.err
Postfix, Clam AntiVirus, Spamassassin and Amavis were isntalled and running.


Amavis (mail scanner) was not configured to use any antivirus to scan the emails even though clam antivirus was installed and running on the server. Amavis can be configured to use clam antivirus for virus scanning by following the below mentioned steps.
  1. Connect to the server using a putty session or launch Shell Konsole or connect to any terminal on the server.
  2. Make a copy of the amavis.conf file by typing the following command
    cp /etc/amavisd.conf /etc/amavisd.backup
  3. Edit the amavisd.conf by typing vi /etc/amavisd.conf
  4. Scroll through the file and remove the hash (#) from these lines so it should look like this
     \&ask_daemon, ["CONTSCAM {}\n", ""],
    qr/\bOK$/, qr/\bFOUND$/,
     qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
  5. Save the file and exit.
  6. Restart the amavis service by typing the following command on the terminal
    rcamavis restart


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7004385
  • Creation Date: 06-Sep-2009
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center