summaryrefslogtreecommitdiff
path: root/test/tests
Commit message (Collapse)AuthorAge
* Allow unqualified sender addressDavid Bremner2018-10-31
| | | | | | | | | | This patch allows unqualified domain names for senders and recipients, because are required in some use cases (Debian bug #504184). The associated post-build tests were also disabled. Author: Felix Lechner <felix.lechner@lease-up.com> Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504184 Last-Update: 2017-09-07 Gbp-Pq: Name 0004-Allow-unqualified-sender-address.patch
* Remove race conditions from testsFelix Lechner2018-10-31
| | | | | | | | | | | Testing the qmqp protocol fails because the testing server cannot acquire the lock. This is solved by waiting for the previous server to exit gracefully and clear the lock. Similarly, wait before removing temporary directories. Forwarded: no Last-Update: 2017-10-07 Gbp-Pq: Name 0001-Remove-race-conditions-from-tests.patch
* test: Fix some potential races by waiting for subprocessesBruce Guenter2017-10-23
|
* lib/tcpconnect.cc: Clarify logic srrounding source addressesBruce Guenter2017-10-23
| | | | | | If no address could be used to bind the source address, the resulting error code from tcpconnect would be incorrect (temporary gethostbyname failure). This rewrites it to a more sensible failure to bind source.
* test: Fix test for nullmailer-send bounce message outputBruce Guenter2017-03-01
|
* nullmailer-dsn: Restore the --max-lines options and fix testsBruce Guenter2017-03-01
|
* nullmailer-inject: Drop leading "From " linesBruce Guenter2017-03-01
| | | | | This fixes problems with some broken mail senders that mistakenly add them. Patch suggested by Sebastian Wiedenroth <wiedi@frubar.net>
* Add a "check" make target and fix distcheck problemsBruce Guenter2016-01-22
|
* Rework path handling to allow for testing anywhereBruce Guenter2016-01-22
| | | | | | | | | | | | | | | | | | | | | This introduces a $NULLMAILER_TEST_PREFIX environment variable that may be used to override built-in paths to programs, the queue, etc. In particular: $NULLMAILER_TEST_PREFIX/bin is used for programs $NULLMAILER_TEST_PREFIX/conf is used for config files $NULLMAILER_TEST_PREFIX/queue is used for the queue directories $NULLMAILER_TEST_PREFIX/protocols is used for protocol programs $NULLMAILER_TEST_PREFIX/sbin is used for system programs (nullmailer-queue) These overrides are not used by programs such as mailq and nullmailer-queue when they are running setuid to avoid privilege escalation problems.
* dsn: Add controls to limit how much of the message to copyBruce Guenter2016-01-21
|
* Move spool directory to /var/spool/nullmailer, like other MTAsBruce Guenter2016-01-21
|
* test: Drop use of $PWD in testsBruce Guenter2016-01-21
|
* dsn: Allow for directing all bounces to a fixed addressBruce Guenter2016-01-20
|
* dsn: Fix Content-Type header and add a testBruce Guenter2016-01-20
|
* Merge branch 'bounce'Bruce Guenter2016-01-20
|\
| * send: Catch the output from protocols for the DSN diagnostic codesBruce Guenter2016-01-19
| |
| * send: Add support for generating bounce messagesBruce Guenter2016-01-19
| |
| * Merge branch 'master' into bounceBruce Guenter2016-01-15
| |\
| * | Modified -send to move permanently failed messages into a failed directory.Bruce Guenter2009-10-19
| | |
* | | test: Fix up location of log for send testBruce Guenter2016-01-20
| | |
* | | Merge branch 'log-envelope'Bruce Guenter2016-01-19
|\ \ \
| * | | send: Also log the Message-Id headerBruce Guenter2016-01-19
| | | |
| * | | send: Add support for logging envelope contentsBruce Guenter2016-01-19
| | | |
* | | | Merge branch 'bind-source'Bruce Guenter2016-01-18
|\ \ \ \
| * | | | protocols: Add support for binding the source addressBruce Guenter2016-01-15
| | |_|/ | |/| |
* | | | Merge branch 'empty-sender'Bruce Guenter2016-01-15
|\ \ \ \ | |/ / / |/| | |
| * | | inject: Add support for setting a null sender with -fBruce Guenter2016-01-14
| | | |
* | | | test: Choose a random port for protocol testsBruce Guenter2016-01-14
|/ / /
* | | test: Make sure -smtpd accepts empty senderBruce Guenter2016-01-14
| | |
* | | test: Normalize the smtp/qmqp accept success testsBruce Guenter2016-01-14
| | |
* | | lib: Add support for IPv6 for outgoing connectionsBruce Guenter2016-01-13
| | |
* | | queue: Accept empty envelope sender addressBruce Guenter2016-01-13
| | |
* | | queue: Fix an envelope validation check and add testsBruce Guenter2016-01-13
|/ /
* | protocols: Fix handling of options passed from -sendBruce Guenter2016-01-12
| |
* | test: Make sure -send sets host in dummy protocolBruce Guenter2016-01-12
| |
* | test: Move temporary directory to test/tmpBruce Guenter2016-01-12
| | | | | | | | | | | | This moves the temporary test directory out of /tmp and into test/tmp, and verifies that the sources were configured with the proper prefix path.
* | Merge branch 'pipe-options'Bruce Guenter2015-05-17
|\ \
| * | protocols: Handle configuration options on stdin, message on FD 3Bruce Guenter2015-05-17
| | | | | | | | | | | | | | | | | | Options are read in one per line, terminated by an empty line. Format is name=value where "name" is one of the long cli options (see --help output).
* | | queue: Add an "allmailfrom" control file, to force a fixed senderBruce Guenter2013-09-13
| | |
* | | Drop extraneous -q in tests/queue/rewriteBruce Guenter2013-09-13
|/ /
* | smtpd: Fix growing recipient list when sending multiple messagesBruce Guenter2013-04-12
| | | | | | | | | | | | | | If the client program sends multiple messages without issuing the RSET command, the recipient list would not get cleared. As a result, the second message would have its recipient list added to that of the first, and so on. This change simply resets the list internally.
* | smtpd: Strip leading periods from data as requiredBruce Guenter2013-03-27
| | | | | | | | Bug reported by Sebastian Nickel
* | nullmailer-queue: Support multiple admin addressesBruce Guenter2013-03-14
| |
* | test: Sleep a little longer in the send test to prevent a raceBruce Guenter2012-04-24
| |
* | Add tests for nullmailer-smtpdBruce Guenter2012-03-14
|/
* Added a selftest for -send.Bruce Guenter2007-10-12
|
* Switch to using supervise for running subprocesses in tests.Bruce Guenter2007-10-12
|
* Fixed a double space in the mailq output, and added a test script.Bruce Guenter2007-10-09
|
* Do not canonicalize *@localhost addresses.Bruce Guenter2007-10-09
|
* Make a hanging test protocol server less likely in tests/protocols.Bruce Guenter2007-10-09
| | | | | | The previous test script set up an exit function to kill the test protocol server *after* sleeping for 1 second. If the script was interrupted during that sleep, the server wouldn't get killed properly.