exim.git
4 years agoARC: fix crash induced by misordered headers. Bug 2493 exim-4.93.0.2
Jeremy Harris [Thu, 12 Dec 2019 14:06:54 +0000 (14:06 +0000)]
ARC: fix crash induced by misordered headers.  Bug 2493

(cherry picked from commit e9dfcfb7b87107c2a55441c93aa463f9ea7586e1)

4 years agoFix taint issue in transport with DSN. Bug 2491
Jeremy Harris [Wed, 11 Dec 2019 14:32:23 +0000 (14:32 +0000)]
Fix taint issue in transport with DSN.  Bug 2491

(cherry picked from commit c58803fd11185cbcf673e99cebf8397c9194357a)

4 years agolocal_scan: align local_scan.h and docs re. store_get() exim-4.93.0.1
Jeremy Harris [Tue, 10 Dec 2019 20:04:15 +0000 (20:04 +0000)]
local_scan: align local_scan.h and docs re. store_get()

(cherry picked from commit 4ec0fcb6737da9bc2603056d56fbf6e41e061967)

4 years agoDocs: Add missing DMARC ACL control= entry
Jeremy Harris [Tue, 10 Dec 2019 13:31:44 +0000 (13:31 +0000)]
Docs: Add missing DMARC ACL control= entry

(cherry picked from commit cb0fd07ce1b3a159c6e1772802b4b7c3e8e0e545)

4 years agoHurd: errno really uses more than a short-sized value. Bug 2476
Samuel Thibault [Wed, 4 Dec 2019 21:30:01 +0000 (21:30 +0000)]
Hurd: errno really uses more than a short-sized value.  Bug 2476

(cherry picked from commit 377da0430697e6bcb8c48744eb5af4272a8f8075)

4 years agoTFO: disable for FreeBSD
Heiko Schlittermann (HS12-RIPE) [Tue, 10 Dec 2019 22:14:35 +0000 (23:14 +0100)]
TFO: disable for FreeBSD

(cherry-picked from 52503083b9eded01c25e1c73f4510963c3cee799)

4 years agoRegard command-line recipients as tainted
Jeremy Harris [Fri, 8 Nov 2019 22:30:04 +0000 (22:30 +0000)]
Regard command-line recipients as tainted

(cherry picked from commit f0fe22cbc29ee4f887aa254f2590a9e72401e237)

4 years agoPAM: fix crash in the pam expansion condition. Bug 2489
Fabian Groffen [Tue, 10 Dec 2019 17:32:12 +0000 (17:32 +0000)]
PAM: fix crash in the pam expansion condition.  Bug 2489

Broken-by: f3ebb786e4
(cherry picked from commit dcbfbadac2f557dc73bbcf2b26aadf50f8414ca1)

4 years agoUpdate README.UPDATING to reflect the major changes for 4.93 exim-4.93
Heiko Schlittermann (HS12-RIPE) [Sun, 8 Dec 2019 12:32:22 +0000 (13:32 +0100)]
Update README.UPDATING to reflect the major changes for 4.93

4 years agorelease process: fix stupid bug for quick/non-quick release
Heiko Schlittermann (HS12-RIPE) [Sun, 8 Dec 2019 08:36:29 +0000 (09:36 +0100)]
release process: fix stupid bug for quick/non-quick release

4 years agoPRDR: fix guard on example in configure.default. Bug 2486 exim-4.93-RC7
Jeremy Harris [Wed, 4 Dec 2019 15:28:15 +0000 (15:28 +0000)]
PRDR: fix guard on example in configure.default.  Bug 2486

Broken-by: 95dfacf282
4 years agoARC: fix crash in signing
Jeremy Harris [Wed, 4 Dec 2019 14:01:18 +0000 (14:01 +0000)]
ARC: fix crash in signing

4 years agoBuild: fix dependencies for platform-specific os.[ch] exim-4.93-RC6
Jeremy Harris [Mon, 2 Dec 2019 18:22:50 +0000 (18:22 +0000)]
Build: fix dependencies for platform-specific os.[ch]

4 years agoFreeBSD: fix sendfile shim
Jeremy Harris [Sat, 30 Nov 2019 17:39:25 +0000 (17:39 +0000)]
FreeBSD: fix sendfile shim

Broken-by: 7d758a6a68
4 years agoTestsuite: better non-TFO-system debug handling
Jeremy Harris [Sun, 24 Nov 2019 19:02:57 +0000 (19:02 +0000)]
Testsuite: better non-TFO-system debug handling

4 years agoTestsuite: split out ipv6 testcase needing a non-linklocal interface addr
Jeremy Harris [Sat, 30 Nov 2019 16:00:26 +0000 (16:00 +0000)]
Testsuite: split out ipv6 testcase needing a non-linklocal interface addr

4 years agoTestsuite: strip trailing space at -bt output
Heiko Schlittermann (HS12-RIPE) [Fri, 29 Nov 2019 09:38:47 +0000 (17:38 +0800)]
Testsuite: strip trailing space at -bt output

Depending on the length of the ip address, Exim adds
spaces to -bt output, to make all lines the same length (why? Maybe to
add port= or mx= later in a nicely aligned manner)

compare:
    host 127.0.0.1     [127.0.0.1]
    host 10.0.0.1      [10.0.0.1]-

vs:
    host 127.0.0.1     [127.0.0.1]--
    host 169.16.16.16  [169.16.16.10]

4 years agoTestsuite: make system $more safe
Heiko Schlittermann (HS12-RIPE) [Fri, 29 Nov 2019 09:37:26 +0000 (17:37 +0800)]
Testsuite: make system $more safe

4 years agoDocs: fix option name. Bug 2471
Jasen Betts [Tue, 26 Nov 2019 22:35:20 +0000 (22:35 +0000)]
Docs: fix option name.  Bug 2471

Broken by: 2f680c0c44

4 years agoLocal_scan: bump the ABI major version number exim-4.93-RC5
Jeremy Harris [Mon, 25 Nov 2019 15:21:56 +0000 (15:21 +0000)]
Local_scan: bump the ABI major version number

Broken-by: 925ac8e4f1
4 years agoDocs: copy-editing
Jeremy Harris [Sun, 24 Nov 2019 15:22:48 +0000 (15:22 +0000)]
Docs: copy-editing

4 years agoDocs: smtp_printf() in the local_scan API
Jeremy Harris [Sun, 24 Nov 2019 13:47:38 +0000 (13:47 +0000)]
Docs: smtp_printf() in the local_scan API

Broken-by: 925ac8e4f1
4 years agoARC: add note on RFC to docs
Jeremy Harris [Wed, 20 Nov 2019 14:56:56 +0000 (14:56 +0000)]
ARC: add note on RFC to docs

4 years agoTestsuite: output changes resulting exim-4.93-RC4
Jeremy Harris [Mon, 18 Nov 2019 11:52:14 +0000 (11:52 +0000)]
Testsuite: output changes resulting

4 years agoTLS: restore TLS protocol version to default Received: header
Jeremy Harris [Mon, 18 Nov 2019 11:03:15 +0000 (11:03 +0000)]
TLS: restore TLS protocol version to default Received: header

Broken-by: f1be21cf0b
4 years agoTestsuite: make it compatible with ancient Perl versions.
Heiko Schlittermann (HS12-RIPE) [Sun, 17 Nov 2019 03:14:22 +0000 (11:14 +0800)]
Testsuite: make it compatible with ancient Perl versions.

Perl 5.10 doesn't seem to know the /r modifier for regular expressions.

4 years agoTestsuite: better sorting for exim_dumpdb output exim-4.93-RC3
Heiko Schlittermann (HS12-RIPE) [Sat, 16 Nov 2019 13:37:00 +0000 (21:37 +0800)]
Testsuite: better sorting for exim_dumpdb output

4 years agoTestsuite: localize vars
Heiko Schlittermann (HS12-RIPE) [Sun, 17 Nov 2019 00:04:57 +0000 (08:04 +0800)]
Testsuite: localize vars

4 years agoTestsuite: use local file handle
Heiko Schlittermann (HS12-RIPE) [Sat, 16 Nov 2019 13:01:26 +0000 (21:01 +0800)]
Testsuite: use local file handle

4 years agoExipick: reorder chomp
Heiko Schlittermann (HS12-RIPE) [Thu, 14 Nov 2019 16:11:29 +0000 (00:11 +0800)]
Exipick: reorder chomp

4 years agoExipick: indentation
Heiko Schlittermann (HS12-RIPE) [Thu, 14 Nov 2019 16:10:49 +0000 (00:10 +0800)]
Exipick: indentation

4 years agoExipick: handle tainted options in spool files
Heiko Schlittermann (HS12-RIPE) [Thu, 14 Nov 2019 16:03:45 +0000 (00:03 +0800)]
Exipick: handle tainted options in spool files

4 years agoDCC: fix taint-handling
Wolfgang Breyha [Thu, 14 Nov 2019 16:01:32 +0000 (16:01 +0000)]
DCC: fix taint-handling

4 years agoTestsuite: comment corner-case
Jeremy Harris [Wed, 13 Nov 2019 17:42:38 +0000 (17:42 +0000)]
Testsuite: comment corner-case

4 years agofix build on older OpenSSL
Jeremy Harris [Wed, 13 Nov 2019 12:59:52 +0000 (12:59 +0000)]
fix build on older OpenSSL

4 years agoBuild: lose out-of-date comment
Jeremy Harris [Tue, 12 Nov 2019 17:46:41 +0000 (17:46 +0000)]
Build: lose out-of-date comment

Broken-by: f3facb664c
4 years agoOpenSSL: when supported by the library version, disable renegotiation for pre-TLS1.3
Jeremy Harris [Wed, 13 Nov 2019 12:23:28 +0000 (12:23 +0000)]
OpenSSL: when supported by the library version, disable renegotiation for pre-TLS1.3

4 years agoFix means for building dlfunc routines, more
Jeremy Harris [Mon, 11 Nov 2019 15:18:50 +0000 (15:18 +0000)]
Fix means for building dlfunc routines, more

4 years agoFix means for building dlfunc routines
Jeremy Harris [Mon, 11 Nov 2019 14:44:34 +0000 (14:44 +0000)]
Fix means for building dlfunc routines

Broken-by: e59797e3bd
4 years agoTestsuite: fix testcase use of paths
Jeremy Harris [Sat, 9 Nov 2019 13:25:46 +0000 (13:25 +0000)]
Testsuite: fix testcase use of paths

Broken-by: 179ed8c31e
4 years agoFix taint-handling in rDNS name construction
Jeremy Harris [Sun, 10 Nov 2019 13:17:43 +0000 (13:17 +0000)]
Fix taint-handling in rDNS name construction

4 years agoRevert "preallocate store for config", which appears to have been a mis-merge. Bug... exim-4.93-RC2
Jeremy Harris [Sat, 9 Nov 2019 16:38:42 +0000 (16:38 +0000)]
Revert "preallocate store for config", which appears to have been a mis-merge.  Bug 2464

This reverts commit 00f1386065b4ab2aed12facd883ebd324c8c66d5.

4 years agoDsearch: Fix taint-handling in lookup. Bug 2465
Jeremy Harris [Thu, 7 Nov 2019 17:32:49 +0000 (17:32 +0000)]
Dsearch: Fix taint-handling in lookup.  Bug 2465

4 years agoTestsuite: DKIM/transport_filter testcase
Jeremy Harris [Tue, 5 Nov 2019 21:23:15 +0000 (21:23 +0000)]
Testsuite: DKIM/transport_filter testcase

4 years agoCompiler quietening
Jeremy Harris [Mon, 4 Nov 2019 12:43:27 +0000 (12:43 +0000)]
Compiler quietening

4 years agoFix edit error
Jeremy Harris [Mon, 4 Nov 2019 12:11:53 +0000 (12:11 +0000)]
Fix edit error

Broken-by: 2b2cfa838f
4 years agoARC: relax restriction on building without SPF
Jeremy Harris [Mon, 4 Nov 2019 11:43:20 +0000 (11:43 +0000)]
ARC: relax restriction on building without SPF

4 years agoLogging: TLSA lookups should honor slow_lookup_log
Jeremy Harris [Fri, 1 Nov 2019 12:42:44 +0000 (12:42 +0000)]
Logging: TLSA lookups should honor slow_lookup_log

4 years agoTestsuite: PIDs can now use more than 5 digits
Jeremy Harris [Thu, 31 Oct 2019 22:31:08 +0000 (22:31 +0000)]
Testsuite: PIDs can now use more than 5 digits

4 years agoSPF: fix the explanation URL exim-4.93-RC1
Heiko Schlittermann (HS12-RIPE) [Mon, 28 Oct 2019 21:39:24 +0000 (22:39 +0100)]
SPF: fix the explanation URL

But - I'm not sure if the /Why? API still works as expected. Needs
further testing

4 years agoDoc: Minor changes (copyright year, http->https)
Heiko Schlittermann (HS12-RIPE) [Mon, 28 Oct 2019 21:38:46 +0000 (22:38 +0100)]
Doc: Minor changes (copyright year, http->https)

4 years agoDNS: tag res_search() hack by lookup type in debug output; munge ipv6 lines in testsuite
Jeremy Harris [Sun, 27 Oct 2019 20:44:20 +0000 (20:44 +0000)]
DNS: tag res_search() hack by lookup type in debug output; munge ipv6 lines in testsuite

4 years agoTestsuite; output changes resulting
Jeremy Harris [Sun, 27 Oct 2019 18:57:36 +0000 (18:57 +0000)]
Testsuite; output changes resulting

4 years agoTestsuite: fix uninitialsed vars
Jeremy Harris [Sun, 27 Oct 2019 18:09:05 +0000 (18:09 +0000)]
Testsuite: fix uninitialsed vars

4 years agoRefactor the res_search() fail hack
Jeremy Harris [Sun, 27 Oct 2019 18:00:05 +0000 (18:00 +0000)]
Refactor the res_search() fail hack

4 years agoFix local-scan ABI. Bug 2458
Jeremy Harris [Sat, 26 Oct 2019 21:26:47 +0000 (22:26 +0100)]
Fix local-scan ABI.  Bug 2458

4 years agoRevert "Fix local-scan ABI. Bug 2458"
Jeremy Harris [Sat, 26 Oct 2019 18:11:41 +0000 (19:11 +0100)]
Revert "Fix local-scan ABI.  Bug 2458"
Too many older platforms have compilers do not support __VA_OPT__().

This reverts commit 276f020fb7d0ce2740e90a749b3a49d0d5f74d3d.

4 years agoFix local-scan ABI. Bug 2458
Andreas Metzler [Sat, 26 Oct 2019 17:06:09 +0000 (18:06 +0100)]
Fix local-scan ABI.  Bug 2458

4 years agoOutput newline after list of message IDs output by "-Mxxx" operations
Jeremy Harris [Fri, 25 Oct 2019 10:18:25 +0000 (11:18 +0100)]
Output newline after list of message IDs output by "-Mxxx" operations

4 years agoFix non-SUPPORT_MOVE_FROZEN_MESSAGES builds
Jeremy Harris [Fri, 25 Oct 2019 00:37:43 +0000 (01:37 +0100)]
Fix non-SUPPORT_MOVE_FROZEN_MESSAGES builds

4 years agoSupport moving messages across named queues. Bug 2456
Jeremy Harris [Thu, 24 Oct 2019 22:34:19 +0000 (23:34 +0100)]
Support moving messages across named queues.  Bug 2456

4 years agoTestsuite: handle slow test-hosts more intelligently
Jeremy Harris [Thu, 24 Oct 2019 11:58:19 +0000 (12:58 +0100)]
Testsuite: handle slow test-hosts more intelligently

4 years agoBe careful about DNS response AD/AA bits for error returns
Jeremy Harris [Mon, 21 Oct 2019 16:17:37 +0000 (17:17 +0100)]
Be careful about DNS response AD/AA bits for error returns

4 years agoTestsuite: munge for WITH_LOCAL_SCAN
Jeremy Harris [Tue, 22 Oct 2019 12:24:47 +0000 (13:24 +0100)]
Testsuite: munge for WITH_LOCAL_SCAN

4 years agoTestsuite: perl syntax (l-brace in RE)
Jeremy Harris [Mon, 21 Oct 2019 16:39:37 +0000 (17:39 +0100)]
Testsuite: perl syntax (l-brace in RE)

4 years agoFix logging of DANE, client-side under LibreSSL
Jeremy Harris [Mon, 21 Oct 2019 16:18:28 +0000 (17:18 +0100)]
Fix logging of DANE, client-side under LibreSSL

4 years agoTestsuite: munge for non-TLS builds
Jeremy Harris [Mon, 21 Oct 2019 10:55:28 +0000 (11:55 +0100)]
Testsuite: munge for non-TLS builds

4 years agoTestsuite: escape parens in REs
Jeremy Harris [Sun, 20 Oct 2019 22:06:59 +0000 (23:06 +0100)]
Testsuite: escape parens in REs

4 years agoDocs: Remove dnssec_request_domains = *
Heiko Schlittermann (HS12-RIPE) [Mon, 21 Oct 2019 12:41:36 +0000 (14:41 +0200)]
Docs: Remove dnssec_request_domains = *

The configure.default doesn't contain dnsseq_request_domains = *
anymore (as it's the default now), so the explained example config
does not need it anymore.

4 years agoTetsuite: feature-check multileaf OCSP testcases
Jeremy Harris [Sun, 20 Oct 2019 16:32:42 +0000 (17:32 +0100)]
Tetsuite: feature-check multileaf OCSP testcases

4 years agoTLS: Feature macros
Jeremy Harris [Sun, 20 Oct 2019 15:36:49 +0000 (16:36 +0100)]
TLS: Feature macros

4 years agoDocs: remove SUPPORT_TLS mentions
Jeremy Harris [Sun, 20 Oct 2019 15:19:50 +0000 (16:19 +0100)]
Docs: remove SUPPORT_TLS mentions

01603eec64 moved to DISABLE_TLS

4 years agoOpenSSL: clarify log line for nonreceived required stapling
Jeremy Harris [Sun, 20 Oct 2019 14:30:47 +0000 (15:30 +0100)]
OpenSSL: clarify log line for nonreceived required stapling

4 years agoOpenSSL: emit actual version on "wrong version number" error for SSL_accept
Jeremy Harris [Fri, 4 Oct 2019 09:21:24 +0000 (10:21 +0100)]
OpenSSL: emit actual version on "wrong version number" error for SSL_accept

4 years agoTestsuite: munge for WITH_LOCAL_SCAN
Jeremy Harris [Sat, 19 Oct 2019 22:02:00 +0000 (23:02 +0100)]
Testsuite: munge for WITH_LOCAL_SCAN

4 years agoCHUNKING: fix all-RCPTs-rejected, non-pipelined. Bug 2454
Jeremy Harris [Sat, 19 Oct 2019 21:25:27 +0000 (22:25 +0100)]
CHUNKING: fix all-RCPTs-rejected, non-pipelined.  Bug 2454

4 years agoFix HAVE_LOCAL_SCAN build. Bug 2457
Jeremy Harris [Sat, 19 Oct 2019 18:55:39 +0000 (19:55 +0100)]
Fix HAVE_LOCAL_SCAN build.  Bug 2457

Broken-by: f3ebb786e4
4 years agoTestsuite: when running under the testharness, wait longer for transport process...
Jeremy Harris [Sat, 19 Oct 2019 10:44:30 +0000 (11:44 +0100)]
Testsuite: when running under the testharness, wait longer for transport process to finish first

4 years agotidying
Jeremy Harris [Mon, 7 Oct 2019 12:32:44 +0000 (13:32 +0100)]
tidying

4 years agoRelease process: put the sizes, checksums in distinct files
Heiko Schlittermann (HS12-RIPE) [Fri, 18 Oct 2019 21:23:37 +0000 (23:23 +0200)]
Release process: put the sizes, checksums in distinct files

00-sizes.txt
00-sha256sums.txt
00-sha512sums.txt

This is for simpler verification and better visibility of the files.

4 years agoTestsuite: output changes resulting
Jeremy Harris [Fri, 18 Oct 2019 16:26:29 +0000 (17:26 +0100)]
Testsuite: output changes resulting

Broken-by: ab0e957b09
4 years agoMake makefile: Handle DISABLE_TLS (option changed from SUPPORT_TLS) exim-4.93-RC0
Heiko Schlittermann (HS12-RIPE) [Fri, 18 Oct 2019 13:15:47 +0000 (15:15 +0200)]
Make makefile: Handle DISABLE_TLS (option changed from SUPPORT_TLS)

4 years agoDisable EXIM_MONITOR
Heiko Schlittermann (HS12-RIPE) [Fri, 18 Oct 2019 13:15:41 +0000 (15:15 +0200)]
Disable EXIM_MONITOR

4 years agoDocs: Change default for hosts_try_dane to *
Heiko Schlittermann (HS12-RIPE) [Fri, 27 Sep 2019 01:49:47 +0000 (03:49 +0200)]
Docs: Change default for hosts_try_dane to *

4 years agoChange the default of dnssec_request_domains to '*'
Heiko Schlittermann (HS12-RIPE) [Fri, 27 Sep 2019 01:42:46 +0000 (03:42 +0200)]
Change the default of dnssec_request_domains to '*'

4 years agoOpenSSL: full-chain OCSP stapling. Bug 1466
Jeremy Harris [Thu, 17 Oct 2019 20:45:32 +0000 (21:45 +0100)]
OpenSSL: full-chain OCSP stapling.  Bug 1466

4 years agoARC: harden versus badly-formatted AMS line
Jeremy Harris [Thu, 17 Oct 2019 13:09:18 +0000 (14:09 +0100)]
ARC: harden versus badly-formatted AMS line

4 years agoexipick: use Pod::Usage
Heiko Schlittermann (HS12-RIPE) [Thu, 17 Oct 2019 05:22:54 +0000 (07:22 +0200)]
exipick: use Pod::Usage

4 years agoexipick: Add formatting tags for POD
Heiko Schlittermann (HS12-RIPE) [Wed, 16 Oct 2019 22:13:00 +0000 (00:13 +0200)]
exipick: Add formatting tags for POD

4 years agoexipick: support for named queues
Heiko Schlittermann (HS12-RIPE) [Wed, 16 Oct 2019 21:54:21 +0000 (23:54 +0200)]
exipick: support for named queues

4 years agoTestsuite: output changes resulting
Jeremy Harris [Tue, 15 Oct 2019 22:08:31 +0000 (23:08 +0100)]
Testsuite: output changes resulting

Broken-by: 2e5d9e711e
4 years agoOpenSSL: SSLKEYLOGFILE support
Jeremy Harris [Tue, 15 Oct 2019 20:28:20 +0000 (21:28 +0100)]
OpenSSL: SSLKEYLOGFILE support

4 years agoenvironment grooming
Jeremy Harris [Mon, 14 Oct 2019 09:45:32 +0000 (10:45 +0100)]
environment grooming

4 years agomissing type on Solaris dummy
Jeremy Harris [Sun, 13 Oct 2019 09:30:11 +0000 (10:30 +0100)]
missing type on Solaris dummy

4 years agoDummies for Solaris build
Jeremy Harris [Sat, 12 Oct 2019 18:03:30 +0000 (19:03 +0100)]
Dummies for Solaris build

4 years agoDummies for Solaris build
Jeremy Harris [Sat, 12 Oct 2019 13:22:25 +0000 (14:22 +0100)]
Dummies for Solaris build

4 years agoFix errorcheck in smtp transport
Jeremy Harris [Sat, 12 Oct 2019 13:12:56 +0000 (14:12 +0100)]
Fix errorcheck in smtp transport

4 years agoSRS: add basic documentation
Jeremy Harris [Sat, 12 Oct 2019 13:01:18 +0000 (14:01 +0100)]
SRS: add basic documentation

4 years agoPerformance timing measurements
Jeremy Harris [Sat, 12 Oct 2019 11:39:49 +0000 (12:39 +0100)]
Performance timing measurements

4 years agoTestsuite: handle OpenBSD version of ifconfig
Jeremy Harris [Sun, 6 Oct 2019 22:28:25 +0000 (23:28 +0100)]
Testsuite: handle OpenBSD version of ifconfig