NAME

virus.conf - Sets the action to be performed if the virus engine fails


SYNOPSIS

/opt/pmx/etc/virus.conf


DESCRIPTION

onerror
Specifies the action that should be performed if the virus engine fails. Set this value based on whether it is more important to prevent viruses ('tempfail') or deliver messages ('passthru').

Values: tempfail | passthru

Default: tempfail

<daemon>
If the daemon option is enabled in the the sophos.conf manpage configuration file, these options are used as the daemon's operating parameters.
port
Specifies the port used by PureMessage to communicate with the daemon. The default is local:/tmp/pmx-vscan.sock.

concurrency_limit
Specifies how many concurrent requests the anti-virus daemon can service at any given time. The default is the number of CPUs multiplied by 2.

reinit_limit
Specifies the maximum number of messages each anti-virus process may scan before being restarted. Starting a process has a large overhead compared to the incremental cost of scanning an additional message. The value '0' means there is no limit, and the daemon will only be restarted when it times out or crashes. The default is 1024.

queue_limit
Specifies the maximum number of messages to queue before refusing to accept connections from PureMessage. Increasing this number too much means the daemon may consume large amounts of memory for its queue. The value '0' means there is no limit. The default is 4096.

inactive_limit
Specifies the maximum amount of time to tolerate apparent inactivity from the daemon. This is intended to detect bugs where the daemon has crashed or entered an infinite loop while scanning a message. This must be lower than the absolute maximum time to be useful. The default is 2 minutes.

scan_limit
Specifies the absolute maximum amount of time to wait for the daemon to scan a message before returning a timeout. The default is 5 minutes.

respawn_wait
Specifies how long the daemon should wait before respawning a process that dies unexpectedly. If the process dies without scanning a message, the daemon will wait for the time to elapse before restarting it. The default is 5 minutes.

</daemon>


COPYRIGHT

Copyright (C) 2000-2008 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.