1.1 --- a/docs/wiki/MailIntegration--MTA Thu Apr 21 00:57:00 2016 +0200
1.2 +++ b/docs/wiki/MailIntegration--MTA Thu Apr 21 00:58:18 2016 +0200
1.3 @@ -77,3 +77,32 @@
1.4 mailserver:example.com
1.5 }}}
1.6 }}}}
1.7 +
1.8 +== Useful Commands ==
1.9 +
1.10 +The following commands prove useful when troubleshooting and appear to be
1.11 +available as shown within a Debian environment.
1.12 +
1.13 +{{{#!table
1.14 +'''Task''' || '''Exim''' || '''Postfix'''
1.15 +==
1.16 +Check the mail queue
1.17 +||<colspan="2"> `mailq`
1.18 +==
1.19 +Process the mail queue
1.20 +|| `sendmail -q` (or `exim -q` or `runq`)
1.21 +|| `sendmail -q` (or `postqueue`)
1.22 +==
1.23 +Flush the mail queue
1.24 +|| `exim -qff`
1.25 +|| `postqueue -f`
1.26 +==
1.27 +Deliver a specific message
1.28 +|| `exim -M <identifier>`
1.29 +|| `postqueue -i <identifier>`
1.30 +==
1.31 +Test delivery for an address
1.32 +||<colspan="2"> `sendmail -bt <address>` (see also `sendmail -v -bv <address>` and `sendmail -v -bvs <address>`)
1.33 +}}}
1.34 +
1.35 +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.
2.1 --- a/docs/wiki/Testing Thu Apr 21 00:57:00 2016 +0200
2.2 +++ b/docs/wiki/Testing Thu Apr 21 00:58:18 2016 +0200
2.3 @@ -94,6 +94,9 @@
2.4 ./test_all.sh
2.5 }}}
2.6
2.7 +The test suite by default (or by indicating `file` as the data store type),
2.8 +records test information in subdirectories of `/tmp`.
2.9 +
2.10 To run all tests against a different data store, such as a
2.11 [[../DatabaseStore|database store]] instead of the [[../FileStore|file store]],
2.12 the `STORE_TYPE` environment variable can be specified as in the following
2.13 @@ -103,6 +106,11 @@
2.14 STORE_TYPE=postgresql ./test_all.sh
2.15 }}}
2.16
2.17 +The test suite records `postgresql` tests in a specially-created database
2.18 +called `imip_agent_test` that the system user running the tests must be allowed
2.19 +to create and drop. This may require the granting of administrative rights
2.20 +within PostgreSQL for the system user concerned.
2.21 +
2.22 Individual tests may also be run directly from the topmost level of the
2.23 source code distribution. For example:
2.24