# HG changeset patch # User Paul Boddie # Date 1461193098 -7200 # Node ID 8f94a04d9900c2686c16a2e8fae1d3ed6bc300eb # Parent 639416d2ba9874f3204ec3f67ba881043b7ee771# Parent ba4b2c8fbc358bea3fdf478a2e519afc6409b2aa Merged documentation changes. diff -r 639416d2ba98 -r 8f94a04d9900 docs/wiki/MailIntegration--MTA --- a/docs/wiki/MailIntegration--MTA Thu Apr 21 00:57:00 2016 +0200 +++ b/docs/wiki/MailIntegration--MTA Thu Apr 21 00:58:18 2016 +0200 @@ -77,3 +77,32 @@ mailserver:example.com }}} }}}} + +== Useful Commands == + +The following commands prove useful when troubleshooting and appear to be +available as shown within a Debian environment. + +{{{#!table +'''Task''' || '''Exim''' || '''Postfix''' +== +Check the mail queue +|| `mailq` +== +Process the mail queue +|| `sendmail -q` (or `exim -q` or `runq`) +|| `sendmail -q` (or `postqueue`) +== +Flush the mail queue +|| `exim -qff` +|| `postqueue -f` +== +Deliver a specific message +|| `exim -M ` +|| `postqueue -i ` +== +Test delivery for an address +|| `sendmail -bt
` (see also `sendmail -v -bv
` and `sendmail -v -bvs
`) +}}} + +See [[http://bradthemad.org/tech/notes/exim_cheatsheet.php|Exim Cheatsheet]] and [[http://www.postfix.org/DEBUG_README.html|Postfix Debugging Howto]] for more guidance. diff -r 639416d2ba98 -r 8f94a04d9900 docs/wiki/Testing --- a/docs/wiki/Testing Thu Apr 21 00:57:00 2016 +0200 +++ b/docs/wiki/Testing Thu Apr 21 00:58:18 2016 +0200 @@ -94,6 +94,9 @@ ./test_all.sh }}} +The test suite by default (or by indicating `file` as the data store type), +records test information in subdirectories of `/tmp`. + To run all tests against a different data store, such as a [[../DatabaseStore|database store]] instead of the [[../FileStore|file store]], the `STORE_TYPE` environment variable can be specified as in the following @@ -103,6 +106,11 @@ STORE_TYPE=postgresql ./test_all.sh }}} +The test suite records `postgresql` tests in a specially-created database +called `imip_agent_test` that the system user running the tests must be allowed +to create and drop. This may require the granting of administrative rights +within PostgreSQL for the system user concerned. + Individual tests may also be run directly from the topmost level of the source code distribution. For example: