users/jgh/exim.git
7 years agoTestsuite: OpenSSL/LibreSSL version output variances
Jeremy Harris [Wed, 15 Nov 2017 20:38:19 +0000 (20:38 +0000)]
Testsuite: OpenSSL/LibreSSL version output variances

7 years agoTestsuite: better debug output from "server" script-runner
Jeremy Harris [Wed, 15 Nov 2017 19:06:00 +0000 (19:06 +0000)]
Testsuite: better debug output from "server" script-runner

7 years agoTestsuite: delays for debug output ordering
Jeremy Harris [Wed, 15 Nov 2017 18:56:21 +0000 (18:56 +0000)]
Testsuite: delays for debug output ordering

OpenBSD seems to prioritize the child of a fork; Linux & FreeBSD the parent

7 years agoTestsuite: force RSA auth for testcase loading dual certs
Jeremy Harris [Wed, 15 Nov 2017 18:38:44 +0000 (18:38 +0000)]
Testsuite: force RSA auth for testcase loading dual certs

More recent OpenSSL versions (1.1.0) reasonably prefer ECDSA when available,
where older (1.0.2) preferred RSA

7 years agoTypo in sample configuration
Jeremy Harris [Wed, 15 Nov 2017 17:48:55 +0000 (17:48 +0000)]
Typo in sample configuration

7 years agoDocs: PRVS validity. Bug 2033
Jeremy Harris [Sun, 12 Nov 2017 19:08:43 +0000 (19:08 +0000)]
Docs: PRVS validity.  Bug 2033

7 years agoTestsuite output updates
Jeremy Harris [Tue, 14 Nov 2017 19:32:50 +0000 (19:32 +0000)]
Testsuite output updates

7 years agoAdd host detail on all deferred deliveries, not only the last one
Heiko Schlittermann (HS12-RIPE) [Sun, 5 Nov 2017 22:57:16 +0000 (23:57 +0100)]
Add host detail on all deferred deliveries, not only the last one

7 years agoTestsuite: another go at munging cipher-suite strings
Jeremy Harris [Sat, 11 Nov 2017 21:19:50 +0000 (21:19 +0000)]
Testsuite: another go at munging cipher-suite strings

7 years agoDebug: remove router DSN config dump on startup
Jeremy Harris [Sat, 11 Nov 2017 21:04:21 +0000 (21:04 +0000)]
Debug: remove router DSN config dump on startup

7 years agoTestsuite: another go at munging cipher-suite strings
Jeremy Harris [Sat, 11 Nov 2017 18:39:09 +0000 (18:39 +0000)]
Testsuite: another go at munging cipher-suite strings

7 years agoMerge branch 'master' into 4.next
Jeremy Harris [Sat, 11 Nov 2017 16:20:02 +0000 (16:20 +0000)]
Merge branch 'master' into 4.next

7 years agoDowngrade an unfound-list name from panic to DEFER. Bug 1645
Jeremy Harris [Sat, 11 Nov 2017 16:11:06 +0000 (16:11 +0000)]
Downgrade an unfound-list name from panic to DEFER.  Bug 1645

7 years agoTestsuite: another go at munging cipher-suite strings
Jeremy Harris [Thu, 9 Nov 2017 21:35:08 +0000 (21:35 +0000)]
Testsuite: another go at munging cipher-suite strings

7 years agoTestsuite: another go at munging cipher-suite strings
Jeremy Harris [Thu, 9 Nov 2017 19:49:49 +0000 (19:49 +0000)]
Testsuite: another go at munging cipher-suite strings

7 years agodocs: typo
Jeremy Harris [Wed, 8 Nov 2017 12:37:22 +0000 (12:37 +0000)]
docs: typo

7 years agotidying
Jeremy Harris [Wed, 8 Nov 2017 12:01:20 +0000 (12:01 +0000)]
tidying

7 years agoDKIM: call ACL once for each signature matching the identity from dkim_verify_signers...
Jeremy Harris [Wed, 8 Nov 2017 10:43:28 +0000 (10:43 +0000)]
DKIM: call ACL once for each signature matching the identity from dkim_verify_signers.  Bug 2189

7 years agoDKIM: make verification results visible in data ACL
Jeremy Harris [Tue, 7 Nov 2017 21:40:19 +0000 (21:40 +0000)]
DKIM: make verification results visible in data ACL

7 years agoDKIM: Allow the DKIM ACL to override verification results. Bug 2186
Jeremy Harris [Tue, 7 Nov 2017 19:01:42 +0000 (19:01 +0000)]
DKIM: Allow the DKIM ACL to override verification results.  Bug 2186

This provides generic support, though is covers the need introduced
by https://datatracker.ietf.org/doc/draft-ietf-dcrup-dkim-usage/?include_text=1
(deprecating sha-1 and RSA keys shorter than 1024 bits).

7 years agoTLS: support multiple certificate files in server. Bug 2092
Jeremy Harris [Tue, 7 Nov 2017 16:09:28 +0000 (16:09 +0000)]
TLS: support multiple certificate files in server.  Bug 2092

7 years agoDocs: add index entry
Jeremy Harris [Fri, 3 Nov 2017 13:05:16 +0000 (13:05 +0000)]
Docs: add index entry

7 years agoDKIM: better syntax for control of oversigning. Bug 2180
Jeremy Harris [Fri, 3 Nov 2017 11:02:19 +0000 (11:02 +0000)]
DKIM: better syntax for control of oversigning.  Bug 2180

7 years agoUse LDFLAGS not EXTRALIBS_EXIM; 1.0.2 needs ldl too
Phil Pennock [Thu, 2 Nov 2017 18:48:30 +0000 (14:48 -0400)]
Use LDFLAGS not EXTRALIBS_EXIM; 1.0.2 needs ldl too

7 years agoexigrep: we need to run with perl 5.8.x
Heiko Schlittermann (HS12-RIPE) [Wed, 1 Nov 2017 21:38:43 +0000 (22:38 +0100)]
exigrep: we need to run with perl 5.8.x

The defined-or operator '//' does not exist yet.

7 years agoUse back-compatible variable for perl version
Jeremy Harris [Wed, 1 Nov 2017 12:32:13 +0000 (12:32 +0000)]
Use back-compatible variable for perl version
The modern $^V is not present in some buildfarm animals' perl versions.

7 years agoTestsuite: Output the --version from exigrep, exinext, eximstats
Heiko Schlittermann (HS12-RIPE) [Wed, 1 Nov 2017 06:45:55 +0000 (07:45 +0100)]
Testsuite: Output the --version from exigrep, exinext, eximstats

7 years agoAdd --version to all installed Perl and Shell scripts.
Heiko Schlittermann (HS12-RIPE) [Wed, 1 Nov 2017 06:45:14 +0000 (07:45 +0100)]
Add --version to all installed Perl and Shell scripts.

This option outputs the build info, and for Perl scripts it additionally
outputs the Perl version that is running the current script.

7 years agoLose extraneous line
Jeremy Harris [Tue, 31 Oct 2017 16:31:34 +0000 (16:31 +0000)]
Lose extraneous line
Broken-by: 9650d98a07
7 years ago Add macro support to -be expansion test mode. Bug 1623
Jeremy Harris [Tue, 31 Oct 2017 15:31:50 +0000 (15:31 +0000)]
Add macro support to -be expansion test mode.  Bug 1623

7 years agotypo
Jeremy Harris [Mon, 30 Oct 2017 10:40:27 +0000 (10:40 +0000)]
typo

7 years agoTestsuite: notify perl version at runtest startup
Jeremy Harris [Mon, 30 Oct 2017 10:15:26 +0000 (10:15 +0000)]
Testsuite: notify perl version at runtest startup

7 years agoMake exim_monitor build reproducible.
Andreas Metzler [Sat, 28 Oct 2017 17:45:30 +0000 (19:45 +0200)]
Make exim_monitor build reproducible.

Adapt changes to exim for SOURCE_DATE_EPOCH from exim
6e411084a29a7658f7bc88aa5a62ab9016c22c79 to exim_monitor.

7 years agoTestsuite output + script changes needed for c246a1de88
Jeremy Harris [Sat, 28 Oct 2017 21:33:02 +0000 (22:33 +0100)]
Testsuite output + script changes needed for c246a1de88

7 years agoAdd macro support to -be expansion test mode. Bug 1623
Jeremy Harris [Sat, 28 Oct 2017 20:36:13 +0000 (21:36 +0100)]
Add macro support to -be expansion test mode.  Bug 1623

7 years agoMerge branch 'master' into 4.next
Jeremy Harris [Sat, 28 Oct 2017 20:33:24 +0000 (21:33 +0100)]
Merge branch 'master' into 4.next

7 years agoDo not exit when cwd has no name. Bug 2078
Jeremy Harris [Sat, 28 Oct 2017 14:09:05 +0000 (15:09 +0100)]
Do not exit when cwd has no name.  Bug 2078

7 years agoBuild: fix repeatable-build typo
Andreas Metzler [Sat, 28 Oct 2017 13:23:50 +0000 (14:23 +0100)]
Build: fix repeatable-build typo

7 years agoFix build warning. Bug 2181
Jeremy Harris [Sat, 28 Oct 2017 13:04:12 +0000 (14:04 +0100)]
Fix build warning.  Bug 2181

7 years agoCorrect typo "psuedo" in exipick documentation.
Andreas Metzler [Sat, 28 Oct 2017 12:26:48 +0000 (14:26 +0200)]
Correct typo "psuedo" in exipick documentation.

7 years agonit: typo-fix in comment (my goof)
Phil Pennock [Fri, 27 Oct 2017 17:07:48 +0000 (13:07 -0400)]
nit: typo-fix in comment (my goof)

7 years agoCopyright year bumps for substantive changes 2017
Jeremy Harris [Thu, 26 Oct 2017 20:48:12 +0000 (21:48 +0100)]
Copyright year bumps for substantive changes 2017

7 years agoTestsuite: OpenSSL version output variances
Jeremy Harris [Thu, 26 Oct 2017 19:20:41 +0000 (20:20 +0100)]
Testsuite: OpenSSL version output variances

7 years agoTestsuite: support platform variance in debug output
Jeremy Harris [Thu, 26 Oct 2017 17:43:55 +0000 (18:43 +0100)]
Testsuite: support platform variance in debug output
Solaris printf %p gives hex without a leading 0x

7 years agoTestsuite: add missing testcase files
Jeremy Harris [Thu, 26 Oct 2017 17:34:48 +0000 (18:34 +0100)]
Testsuite: add missing testcase files

7 years agoTestsuite: create test db on-the-fliy for LMDB testcase
Jeremy Harris [Thu, 26 Oct 2017 17:26:37 +0000 (18:26 +0100)]
Testsuite: create test db on-the-fliy for LMDB testcase

7 years agoTestsuite: more time for slow test platform
Jeremy Harris [Thu, 26 Oct 2017 16:17:22 +0000 (17:17 +0100)]
Testsuite: more time for slow test platform

7 years agoRevert "Build: tidying"
Jeremy Harris [Thu, 26 Oct 2017 13:54:02 +0000 (14:54 +0100)]
Revert "Build: tidying"

This reverts commit 3a40b2f9648ce9737b3f8f542e5079e58c4db3c3.

It didn't work with Pmake (FreeBSD/OpenBSD)

7 years agoDebug: add trace in the inlist expansion condition
Jeremy Harris [Thu, 26 Oct 2017 13:47:11 +0000 (14:47 +0100)]
Debug: add trace in the inlist expansion condition

7 years agoBuild: tidying
Jeremy Harris [Wed, 25 Oct 2017 17:13:19 +0000 (18:13 +0100)]
Build: tidying

7 years agoTestsuite: more time for slow test platform
Jeremy Harris [Wed, 25 Oct 2017 15:59:30 +0000 (16:59 +0100)]
Testsuite: more time for slow test platform

7 years agoDocs: clarify DKIM default signing. Bug 2179
Jeremy Harris [Wed, 25 Oct 2017 14:54:31 +0000 (15:54 +0100)]
Docs: clarify DKIM default signing.  Bug 2179

7 years agoTestsuite: ignore timezone-specific debug output
Jeremy Harris [Wed, 25 Oct 2017 14:19:32 +0000 (15:19 +0100)]
Testsuite: ignore timezone-specific debug output

7 years agoUnbreak non-DKIM build
Jeremy Harris [Wed, 25 Oct 2017 13:51:17 +0000 (14:51 +0100)]
Unbreak non-DKIM build

7 years agoDKIM: add builtin macro with default list of headers for signing
Jeremy Harris [Wed, 25 Oct 2017 09:58:18 +0000 (10:58 +0100)]
DKIM: add builtin macro with default list of headers for signing

7 years agoDocs: expand TFO information
Jeremy Harris [Sun, 22 Oct 2017 19:40:11 +0000 (20:40 +0100)]
Docs: expand TFO information

7 years agoTestsuite: ignore optional-config output
Jeremy Harris [Sun, 22 Oct 2017 14:47:13 +0000 (15:47 +0100)]
Testsuite: ignore optional-config output

7 years agotidying
Jeremy Harris [Sat, 21 Oct 2017 20:52:54 +0000 (21:52 +0100)]
tidying

7 years agotidying
Jeremy Harris [Sat, 21 Oct 2017 20:20:46 +0000 (21:20 +0100)]
tidying

7 years agoAdd equivalent for missing poll(2) #define
Jeremy Harris [Sat, 21 Oct 2017 19:29:25 +0000 (20:29 +0100)]
Add equivalent for missing poll(2) #define
Needed in FreeBSD and OpenBSD, and probably Solaris

7 years agoCHUNKING: Fix flush of chunk on error
Jeremy Harris [Sat, 21 Oct 2017 18:27:01 +0000 (19:27 +0100)]
CHUNKING: Fix flush of chunk on error

7 years agoTestsuite: make debug output for proxied TLS less indeterminate
Jeremy Harris [Sat, 21 Oct 2017 17:36:31 +0000 (18:36 +0100)]
Testsuite: make debug output for proxied TLS less indeterminate

7 years agoUse safer routine for possibly-overlapping copy
Jeremy Harris [Fri, 20 Oct 2017 22:21:27 +0000 (23:21 +0100)]
Use safer routine for possibly-overlapping copy
Fixes a logging bug seen on aarch64

7 years agoTestsuite: make debug output for proxied TLS less indeterminate
Jeremy Harris [Fri, 20 Oct 2017 22:20:57 +0000 (23:20 +0100)]
Testsuite: make debug output for proxied TLS less indeterminate

7 years agoDebug: output type of process as it terminates
Jeremy Harris [Fri, 20 Oct 2017 18:30:20 +0000 (19:30 +0100)]
Debug: output type of process as it terminates

7 years agoTestsuite: accept changed output from perl version difference
Jeremy Harris [Fri, 20 Oct 2017 16:45:21 +0000 (17:45 +0100)]
Testsuite: accept changed output from perl version difference

7 years agoTestsuite: ignore optional-config output
Jeremy Harris [Fri, 20 Oct 2017 15:21:32 +0000 (16:21 +0100)]
Testsuite: ignore optional-config output

7 years agoTestsuite: dump stdout for a force-continue
Jeremy Harris [Fri, 20 Oct 2017 14:40:42 +0000 (15:40 +0100)]
Testsuite: dump stdout for a force-continue

7 years agoAdd equivalent for missing poll(2) #define in OpenBSD
Jeremy Harris [Fri, 20 Oct 2017 14:28:07 +0000 (15:28 +0100)]
Add equivalent for missing poll(2) #define in OpenBSD

7 years agoDocs: note that } chars in a RE are also needing escaping for ${sg }
Jeremy Harris [Wed, 18 Oct 2017 21:34:12 +0000 (22:34 +0100)]
Docs: note that } chars in a RE are also needing escaping for ${sg }

7 years agoInclude sys/uio.h for writev()
Heiko Schlittermann (HS12-RIPE) [Wed, 18 Oct 2017 20:38:20 +0000 (22:38 +0200)]
Include sys/uio.h for writev()

7 years agoMore information string for missing MxSQL Base Version
Heiko Schlittermann (HS12-RIPE) [Wed, 18 Oct 2017 20:19:44 +0000 (22:19 +0200)]
More information string for missing MxSQL Base Version

7 years agoTestsuite: avoid indeterminate delivery ordering
Jeremy Harris [Sat, 14 Oct 2017 20:53:10 +0000 (21:53 +0100)]
Testsuite: avoid indeterminate delivery ordering

7 years agoTestsuite: OpenSSL version output variances
Jeremy Harris [Sat, 14 Oct 2017 20:43:37 +0000 (21:43 +0100)]
Testsuite: OpenSSL version output variances

7 years agoTidy build for OpenBSD
Jeremy Harris [Sat, 14 Oct 2017 18:56:50 +0000 (19:56 +0100)]
Tidy build for OpenBSD

7 years agoTidy build for OpenBSD
Jeremy Harris [Sat, 14 Oct 2017 18:16:59 +0000 (19:16 +0100)]
Tidy build for OpenBSD

7 years agocoding standards
Jeremy Harris [Sat, 14 Oct 2017 14:37:01 +0000 (15:37 +0100)]
coding standards

7 years agoString handling: refactor the expanding-string routines and users to use a descriptor...
Jeremy Harris [Thu, 12 Oct 2017 21:05:14 +0000 (22:05 +0100)]
String handling: refactor the expanding-string routines and users to use a descriptor struct

7 years agoFix mariadb/mysql macro confusion
Heiko Schlittermann (HS12-RIPE) [Fri, 13 Oct 2017 22:24:54 +0000 (00:24 +0200)]
Fix mariadb/mysql macro confusion

7 years agoTestsuite: add cipher-suite seen on OpenBSD
Jeremy Harris [Fri, 13 Oct 2017 16:05:59 +0000 (17:05 +0100)]
Testsuite: add cipher-suite seen on OpenBSD

7 years agoTestsuite: openssl variant debug output
Jeremy Harris [Thu, 12 Oct 2017 17:20:56 +0000 (18:20 +0100)]
Testsuite: openssl variant debug output

7 years agoFix queue_run_in_order to ignore the PID portion of the message ID
Jeremy Harris [Thu, 12 Oct 2017 13:03:08 +0000 (14:03 +0100)]
Fix queue_run_in_order to ignore the PID portion of the message ID

7 years agoMySQL: fix build on Fedora 27, where MariaDB version information has become unavailable
Jeremy Harris [Tue, 10 Oct 2017 20:39:54 +0000 (21:39 +0100)]
MySQL: fix build on Fedora 27, where MariaDB version information has become unavailable

7 years agoFix FreeBSD build (again)
Jeremy Harris [Tue, 10 Oct 2017 20:38:42 +0000 (21:38 +0100)]
Fix FreeBSD build (again)

7 years agoAvoid build conflict vs. FreeBSD /usr/include/sys/file.h
Jeremy Harris [Tue, 10 Oct 2017 12:09:43 +0000 (13:09 +0100)]
Avoid build conflict vs. FreeBSD /usr/include/sys/file.h

7 years agoFix debug_printf data size
Jeremy Harris [Sun, 8 Oct 2017 18:00:37 +0000 (19:00 +0100)]
Fix debug_printf data size

7 years agoLogging: show when input from truncated for logging "next input sent too soon"
Jeremy Harris [Sun, 8 Oct 2017 17:56:13 +0000 (18:56 +0100)]
Logging: show when input from truncated for logging "next input sent too soon"

7 years agoTFO: early-data for identd queries
Jeremy Harris [Sun, 8 Oct 2017 16:34:16 +0000 (17:34 +0100)]
TFO: early-data for identd queries

7 years agoTFO: on FreeBSD avoid client TFO-mode connects unless a TCP_FASTOPEN setsocketopt...
Jeremy Harris [Sun, 8 Oct 2017 15:12:06 +0000 (16:12 +0100)]
TFO: on FreeBSD avoid client TFO-mode connects unless a TCP_FASTOPEN setsocketopt succeeds

This fixes the FreeSBD no-kernel-support issues (it succeded the sendto for the
connect-with-data, but dod not queue the data).  Having checked dynamically, do
not claim support-for TFO either.

7 years agoFix identd connections on FreeBSD under TCP Fast Open
Jeremy Harris [Sat, 7 Oct 2017 13:36:52 +0000 (14:36 +0100)]
Fix identd connections on FreeBSD under TCP Fast Open

7 years agoTestsuite: accept different debug detail for peer-terminated connection
Jeremy Harris [Fri, 6 Oct 2017 21:58:39 +0000 (22:58 +0100)]
Testsuite: accept different debug detail for peer-terminated connection

7 years agoUse flag names rather than values in debug output
Jeremy Harris [Fri, 6 Oct 2017 21:18:30 +0000 (22:18 +0100)]
Use flag names rather than values in debug output
The values differ between Linux and FreeBSD

7 years agoCheck for proper output separator in expanding ${addresses:STRING} (Closes 2171)
Heiko Schlittermann (HS12-RIPE) [Wed, 4 Oct 2017 20:25:45 +0000 (22:25 +0200)]
Check for proper output separator in expanding ${addresses:STRING}    (Closes 2171)

Better yet would be to force setting the output separator literally,
and not after expansion of the STRING. But this would be an incompatible
change.

7 years agoBetter handling of printing NULL pointers
Jeremy Harris [Fri, 6 Oct 2017 17:11:22 +0000 (18:11 +0100)]
Better handling of printing NULL pointers

7 years agotestsuite output changes
Jeremy Harris [Thu, 5 Oct 2017 21:41:03 +0000 (22:41 +0100)]
testsuite output changes

7 years agoFix debug output for NULL pointers on FreeBSD.
Jeremy Harris [Thu, 5 Oct 2017 20:54:28 +0000 (21:54 +0100)]
Fix debug output for NULL pointers on FreeBSD.

The testsuite had failures, mostly in DB opens finding no existing file,
where debug output to stderr showed "0xAAAAAAAA" rather than "(nil)".
Code it explicitly, at least in %p handling, rather than relying on sprintf() bevahiour.

7 years agoFix GCrypt build
Jeremy Harris [Tue, 3 Oct 2017 19:16:53 +0000 (20:16 +0100)]
Fix GCrypt build

7 years agoRevert use of inline
Jeremy Harris [Tue, 3 Oct 2017 16:54:00 +0000 (17:54 +0100)]
Revert use of inline

7 years agoString handling: refactor the expanding-string routines and users to use a descriptor...
Jeremy Harris [Tue, 3 Oct 2017 15:13:26 +0000 (16:13 +0100)]
String handling: refactor the expanding-string routines and users to use a descriptor struct

7 years agoMerge branch 'master' into 4.next
Jeremy Harris [Tue, 3 Oct 2017 15:12:17 +0000 (16:12 +0100)]
Merge branch 'master' into 4.next