E-mail Servers

AVG Excludes on MS Exchange Server

It is recommended to exclude the following folders from AVG scanning (on the server where AVG for MS Exchange is installed) :

Exchange 2003
  • C:\Program Files\Exchsrvr\Mailroot
  • C:\Program Files\Exchsrvr\CONNDATA
  • C:\Program Files\Exchsrvr\MDBDATA
  • C:\Program Files\Exchsrvr\MTADATA
  • C:\Program Files\Exchsrvr\SCHEMA

For more information please see the following Microsoft webpage:
http://support.microsoft.com/kb/245822/en-us

 
Exchange 2007
  • C:\Program Files\Microsoft\Exchange Server\Mailbox
  • C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs
  • C:\Program Files\Microsoft\Exchange Server\ExchangeOAB

For more information please see the following Microsoft web page:
http://technet.microsoft.com/en-us/library/bb332342(EXCHG.80).aspx

 
Exchange 2010
  • C:\Program Files\Microsoft\Exchange Server\Mailbox
  • C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs
  • C:\Program Files\Microsoft\Exchange Server\Logging
  • C:\Program Files\Microsoft\Exchange Server\Working\OleConvertor
  • C:\Program Files\Microsoft\Exchange Server\Mailbox\MDBTEMP

For more information please see the following Microsoft web page:
http://technet.microsoft.com/en-us/library/bb332342.aspx

 
Windows SBS POP3 connector
  • C:\Program Files\Microsoft Windows Small Business Server\Networking\POP3\Incoming Mail
  • C:\Program Files\Microsoft Windows Small Business Server\Networking\POP3\Failed Mail
 
 

Please exclude the abovementioned folders from AVG Resident Shield:

  1. Open the AVG User Interface.
  2. Double-click the Resident Shield component, and then click Manage exceptions.
  3. Add the files to be excluded, and then click OK

and also from the scheduled AVG test that is run on the server:

  1. Open the AVG program.
  2. On the Tools menu, click Advanced settings.
  3. On the left pane, expand Schedules, and then click Scheduled scan.
  4. Click the What to scan tab, and then click Scan specific files or folders.
  5. Exclude the abovementioned folders).

Also bear in mind that if you want to run manually-launched specific scan, it is necessary to exclude the abovementioned folders :

  1. Open the AVG program.
  2. On the left side of the window, click Scan options.
  3. Under Scan specific files or folders, click the blue Change scan settings link.
 

Installing AVG on an Email Server

Installation of the AVG program on an E-mail server does not differ much from client installation. Here you can find some information specific to installing AVG on an E-mail server along with some general recommendations.

1. Supported E-mail servers:
The AVG program can filter your e-mails on the following E-mail servers:

  • AVG for MS Exchange 2003 Server 
    - MS Exchange 2000 Server (with Service Pack 1 or higher), and MS Exchange 2003 Server versions.
    - Note: for Exchange 2000 Server - Service Pack 1 (or higher) needs to be applied before you can use the AVG engine; AVG for MS Exchange 2000/2003 Server uses the VSAPI 2.0 (or 2.5 with Exchange 2003 Server) application interface which is covered in this Service Pack. 
  • AVG for MS Exchange 2007/2010 Server 
    - MS Exchange 2007/2010 Server version 
  • AVG for Kerio MailServer
    - Kerio MailServer 6.7.2 and higher

2. General information:
The following components are not designed for use on E-mail servers: Online Shield, AVG LinkScanner, AVG Firewall, Personal E-mail Scanner.

  • AVG Online Shield
    • This component affects all HTTP, HTTPS and PROXY communication, because it scans communication on all respective ports/sockets. This component is not designed or tested for servers and may affect some specific server communication. Its installation is not recommended.
  • AVG LinkScanner
    • This component affects communication in almost the same way as AVG Online Shield and is not designed for use in a server environment.
  • AVG Personal E-mail Scanner
    • The Personal E-mail Scanner captures and scans all communication on ports 110 and 25 (POP3 and SMTP) by default. This component is not designed or tested for servers. Its installation may cause issues while processing e-mails on your e-mail server.
  • AVG Firewall
    • AVG Firewall, like the previously mentioned components, is not designed for server solutions.

By default, these components will not be installed on E-mail servers.

3. Installation
To install AVG E-mail Server Edition on MS Exchange server, it is only necessary to download and run the AVG E-mail Server Edition installation package from our website, and follow the instructions. If MS Exchange is detected during the installation, the appropriate plugin will be installed automatically. Please note that a restart of Store will be required.

4. After the installation
It is recommended to add the path of the folder where e-mail attachments are saved to the AVG Resident Shield excludes tab (AVG -> Resident Shield -> Manage exceptions).

If you use AVG Remote Administration, please note that it is necessary to set it up in AVG Admin Console as well.

A list of folders which are recommended to be excluded from AVG scanning on MS Exchange server is available in FAQ 3254.

 

AVG Resident Shield detects a virus in *.eml file

Emails which are sorted by SMTP are at first saved to virtual queue of incoming emails in C:\Program Files\Exchsrvr\Mailroot\vsi 1\Queue\ on the server and then moved to the store of MS Exchange server (here are finally scanned by AVG for Exchange).

If there are any infected messages in this folder, the AVG Resident Shield detects them. In this case Microsoft recommends that the folder is excluded from on-access scanning or disable the scanning of these file types. List of folders which are recommended to be excluded from AVG scanning is available in FAQ 3254.

 

Remote Administration of AVG E-mail Server Edition

In AVG Remote Administration 2011, it is possible to manage servers with AVG E-mail Server Edition separately from standard AVG clients. This allows easier administration of AVG on E-mail Servers and eliminates the need of creating separate group for AVG E-mail Server Edition.

On the e-mail server side, the configuration of Remote Administration connection is the same as on standard clients, and is described in FAQ 3717.

In the AVG Admin Console, you can find all connected e-mail servers in section Servers - E-mail Server. By double-clicking on one server it is possible to configure settings for each server. Shared settings for all e-mail servers can be accessed via menu Tools - Shared settings for e-mail servers.

Note:
To prevent accidental change of AVG for E-mail Server Edition license number using Remote Administration (which can in some cases disable the e-mail server protection), the configuration in AVG Admin Console - Licenses does not apply to E-mail Servers. To change the AVG license number on your E-mail Server, it is necessary to double-click on the server in section E-mail Servers (or open Shared settings for e-mail servers) and change the registration information in the configuration, section License.

 

Possible slowdown of mailbox backup when VSAPI plugin is used

When using a backup software on Exchange server with the AVG VSAPI plugin, slowdown may appear. This is caused by Exchange calling anti-virus scanner to scan files as they are being accessed by the backup software.

To prevent such "conflict", you need to disable anti-virus within Exchange for the time of backup and enable it when backup is finished.

It is possible to do so manually using AVG User interface (by disabling the EMS (VSAPI) component). However some applications (e.g. Veritas Backup Exec software) allows user to specify pre and post backup scripts. These scripts can disable/enable the VSAPI plugin automatically when executed.

Below, you can find simple VBS scripts and the same scripts compiled to EXE format as Veritas Backup Exec does not support VBS scripts. They are valid for all Exchange versions and both 32 and 64 bit platforms:

After succesful download, extract the scripts from the ZIP archive and in settings of the backup software, specify them as pre-backup and post-backup scripts to be used.