pmx-test # interactive shell
pmx-test [options] -test verify | load | perf | spam | virus | send
pmx-test program provides a suite of tests to check that PureMessage
is operating correctly.
pmx-test can also be used for performance testing.
If no arguments are specified,
pmx-test displays a menu from which tests are
selected and run interactively. To run a specific test directly from the command
line, specify the
-test switch and the desired test.
If you are using
pmx-test to test changes to the policy script, you
must restart PureMessage after saving the script but before running the
tests. Test messages generated by
pmx-test are logged to the message_log.
pmx-test requires the
pmx_test_mark action to be set in the
policy script, which is enabled by default.
Because sendmail and Postfix process messages differently,
vary depending on which of these mail transfer agents is tested. Postfix holds
messages in an internal queue before transferring them to PureMessage. However,
sendmail does not queue messages, and they are sent directly to PureMessage.
Therefore, while sendmail users have the option of testing by sending messages
sendmail or directly to PureMessage, Postfix users can only test by sending
messages directly to PureMessage.
pmx-testspawns a new mail client process every few seconds, multiplying the load on the target system until a timeout is reached.
pmx-testspawns a predetermined number of mail client processes. This creates a static load on the target server and lasts until a timeout is reached. The number of concurrent processes can be set with the
The following options are recognized by the
pmx-testshould use to identify itself. The default is 18.104.22.168.
Copyright (C) 2000-2008 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.