users/jgh/exim.git
4 years agoTestsuite: avoid using STARTTLS in a non-TLS testcase
Jeremy Harris [Mon, 16 Dec 2019 13:33:26 +0000 (13:33 +0000)]
Testsuite: avoid using STARTTLS in a non-TLS testcase

4 years agoTestsuite: tidying
Jeremy Harris [Sun, 15 Dec 2019 20:21:50 +0000 (20:21 +0000)]
Testsuite: tidying

4 years agoGNU/Hurd: handle platform-specific behaviour of setgroups()
Jeremy Harris [Sun, 15 Dec 2019 20:13:04 +0000 (20:13 +0000)]
GNU/Hurd: handle platform-specific behaviour of setgroups()

4 years agoTestsuite: handle platforms having distinct bints for O_RDONLY/OWRONLY (Hurd)
Jeremy Harris [Sun, 15 Dec 2019 18:40:08 +0000 (18:40 +0000)]
Testsuite: handle platforms having distinct bints for O_RDONLY/OWRONLY (Hurd)

4 years agoTestsuite: avoid one fixed UID
Jeremy Harris [Sun, 15 Dec 2019 15:03:47 +0000 (15:03 +0000)]
Testsuite: avoid one fixed UID

This gets us out of a hole on one test system which had UID 1234 in use;
it is not a full fix as we also (try to) use 5768.

4 years agoTestsuite: output changes resulting
Jeremy Harris [Sun, 15 Dec 2019 15:58:25 +0000 (15:58 +0000)]
Testsuite: output changes resulting

Broken-by: 78598e6a6a
4 years agoEvents: add msg:defer Bug 2477
Jeremy Harris [Sat, 14 Dec 2019 23:01:03 +0000 (23:01 +0000)]
Events: add msg:defer  Bug 2477

4 years agoZero smtp context structure after allocation
Jeremy Harris [Sat, 14 Dec 2019 14:47:16 +0000 (14:47 +0000)]
Zero smtp context structure after allocation

4 years agoFix build on older Linux
Jeremy Harris [Fri, 13 Dec 2019 16:33:59 +0000 (16:33 +0000)]
Fix build on older Linux

Broken-by: 6906c131d1
4 years agoEarly-pipe: clear unused feature bits
Jeremy Harris [Fri, 13 Dec 2019 15:48:55 +0000 (15:48 +0000)]
Early-pipe: clear unused feature bits

4 years agoDMARC: default dmarc_tld_file to unset. Bug 2494
Jeremy Harris [Fri, 13 Dec 2019 14:26:17 +0000 (14:26 +0000)]
DMARC: default dmarc_tld_file to unset.  Bug 2494

4 years agoUse a monotonic clock, if available, for ID generation
Jeremy Harris [Fri, 13 Dec 2019 00:54:58 +0000 (00:54 +0000)]
Use a monotonic clock, if available, for ID generation

4 years agoHandle kernels not providing microsecond time resolution
Samuel Thibault [Fri, 13 Dec 2019 00:41:01 +0000 (00:41 +0000)]
Handle kernels not providing microsecond time resolution

4 years agoFix taint issue with retry records. Bug 2492
Jeremy Harris [Thu, 12 Dec 2019 23:43:10 +0000 (23:43 +0000)]
Fix taint issue with retry records.  Bug 2492

4 years agoTestsuite: testcase for misordered ARC headers. Bug 2493
Jeremy Harris [Thu, 12 Dec 2019 19:17:47 +0000 (19:17 +0000)]
Testsuite: testcase for misordered ARC headers.  Bug 2493

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

4 years agoDocs: more notes for local_scan/dlfunc
Jeremy Harris [Thu, 12 Dec 2019 11:24:16 +0000 (11:24 +0000)]
Docs: more notes for local_scan/dlfunc

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

4 years agoTestsuite: platform differences
Jeremy Harris [Wed, 11 Dec 2019 10:55:40 +0000 (10:55 +0000)]
Testsuite: platform differences

4 years agoTestsuite: more fastopen knockouts
Jeremy Harris [Wed, 11 Dec 2019 10:26:07 +0000 (10:26 +0000)]
Testsuite: more fastopen knockouts

4 years agoTaint: tweak internal documentation
Jeremy Harris [Wed, 11 Dec 2019 10:07:08 +0000 (10:07 +0000)]
Taint: tweak internal documentation

4 years agoTestsuite: care vs. platform differences in ordering multi-rcpt delivery
Jeremy Harris [Tue, 10 Dec 2019 23:41:50 +0000 (23:41 +0000)]
Testsuite: care vs. platform differences in ordering multi-rcpt delivery

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
4 years agolocal_scan: align local_scan.h and docs re. store_get()
Jeremy Harris [Tue, 10 Dec 2019 20:04:15 +0000 (20:04 +0000)]
local_scan: align local_scan.h and docs re. store_get()

4 years agoTaint: speed up slow-mode is_tainted
Jeremy Harris [Tue, 10 Dec 2019 14:10:59 +0000 (14:10 +0000)]
Taint: speed up slow-mode is_tainted

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

4 years agoTaint: invert the taint-check implementation control #define
Jeremy Harris [Tue, 10 Dec 2019 13:19:09 +0000 (13:19 +0000)]
Taint: invert the taint-check implementation control #define

4 years agoTaint: internal documentation
Jeremy Harris [Tue, 10 Dec 2019 13:11:27 +0000 (13:11 +0000)]
Taint: internal documentation

4 years agoSet LC_ALL=C for doc generation
Heiko Schlittermann (HS12-RIPE) [Mon, 9 Dec 2019 19:40:31 +0000 (20:40 +0100)]
Set LC_ALL=C for doc generation

4 years agoMerge branch '4.next'
Jeremy Harris [Sun, 8 Dec 2019 23:36:01 +0000 (23:36 +0000)]
Merge branch '4.next'

4 years agoDocs: tidy for next release
Jeremy Harris [Sun, 8 Dec 2019 23:12:00 +0000 (23:12 +0000)]
Docs: tidy for next release

4 years agoTestsuite: explicitly disable TFO in transports
Jeremy Harris [Sun, 8 Dec 2019 21:15:17 +0000 (21:15 +0000)]
Testsuite: explicitly disable TFO in transports

4 years agoFix macOS build
Jeremy Harris [Sun, 8 Dec 2019 19:26:15 +0000 (19:26 +0000)]
Fix macOS build

4 years agoFix macOS build
Jeremy Harris [Sun, 8 Dec 2019 13:13:24 +0000 (13:13 +0000)]
Fix macOS build

Broken-by: 73a10da9bb
4 years agoUpdate README.UPDATING to reflect the major changes for 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 agoFreeBSD: better support for TFO
Jeremy Harris [Tue, 3 Dec 2019 22:12:09 +0000 (22:12 +0000)]
FreeBSD: better support for TFO

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 agoFreeBSD: fix sendfile shim
Jeremy Harris [Sat, 7 Dec 2019 22:07:02 +0000 (22:07 +0000)]
FreeBSD: fix sendfile shim

4 years agoTestsuite: munge for platform errno value variances (Hurd)
Jeremy Harris [Thu, 5 Dec 2019 14:19:06 +0000 (14:19 +0000)]
Testsuite: munge for platform errno value variances (Hurd)

4 years agoTransports: explicit errno values in returns
Jeremy Harris [Thu, 5 Dec 2019 14:18:07 +0000 (14:18 +0000)]
Transports: explicit errno values in returns

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

4 years agoPRDR: fix guard on example in configure.default. Bug 2486
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 agoTestsuite: support platforms using ifconfig from inetutils. Bug 2485
Samuel Thibault [Tue, 3 Dec 2019 21:13:06 +0000 (21:13 +0000)]
Testsuite: support platforms using ifconfig from inetutils.  Bug 2485

4 years agoTFO: disable for FreeBSD
Jeremy Harris [Tue, 3 Dec 2019 20:41:20 +0000 (20:41 +0000)]
TFO: disable for FreeBSD

4 years agoBuild: Enable *GNU (Hurd) Bug 2476
Heiko Schlittermann (HS12-RIPE) [Tue, 3 Dec 2019 06:23:25 +0000 (07:23 +0100)]
Build: Enable *GNU (Hurd) Bug 2476

4 years agoMake makefile: Handle DISABLE_TLS (option changed from SUPPORT_TLS)
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)

(cherry picked from commit 13032a329bb8133a2f56e8527c29f17c8fdfdbd0)

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

4 years agoTestsuite: document testcase issue on FreeBSD
Jeremy Harris [Sun, 1 Dec 2019 17:01:45 +0000 (17:01 +0000)]
Testsuite: document testcase issue on FreeBSD

4 years agoTestsuite: Fix use-of-undef
Jeremy Harris [Sun, 1 Dec 2019 14:49:26 +0000 (14:49 +0000)]
Testsuite: Fix use-of-undef

4 years agoMake smtp_flush() work for TLS channel
Jeremy Harris [Mon, 25 Nov 2019 16:18:15 +0000 (16:18 +0000)]
Make smtp_flush() work for TLS channel

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
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 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 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 agoDocs: gsasl auth channel-binding now also usable under OpenSSL
Jeremy Harris [Sat, 23 Nov 2019 22:21:00 +0000 (22:21 +0000)]
Docs: gsasl auth channel-binding now also usable under OpenSSL

4 years agotidying
Jeremy Harris [Thu, 21 Nov 2019 21:19:32 +0000 (21:19 +0000)]
tidying

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
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 agoOpenSSL: support authenticator channel-binding. Bug 2467
Jeremy Harris [Sun, 17 Nov 2019 19:30:42 +0000 (19:30 +0000)]
OpenSSL: support authenticator channel-binding.  Bug 2467

4 years agotidying
Jeremy Harris [Sun, 17 Nov 2019 16:32:06 +0000 (16:32 +0000)]
tidying

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
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

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

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

5 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

5 years agoTestsuite: fix Recieved: header munging for TLS info
Jeremy Harris [Fri, 15 Nov 2019 11:19:05 +0000 (11:19 +0000)]
Testsuite: fix Recieved: header munging for TLS info

5 years agoGnuTLS: fix $tls_X_ver generation
Jeremy Harris [Fri, 15 Nov 2019 11:18:07 +0000 (11:18 +0000)]
GnuTLS: fix $tls_X_ver generation

5 years agoTLS: restore TLS protocol version to default Received: header
Jeremy Harris [Thu, 14 Nov 2019 22:02:59 +0000 (22:02 +0000)]
TLS: restore TLS protocol version to default Received: header

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

5 years agoTLS: variables $tls_(in,out)_tlsver
Jeremy Harris [Thu, 14 Nov 2019 15:59:42 +0000 (15:59 +0000)]
TLS: variables $tls_(in,out)_tlsver

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

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

5 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
5 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

5 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

5 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
5 years agotidying
Jeremy Harris [Sun, 10 Nov 2019 16:50:58 +0000 (16:50 +0000)]
tidying

5 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
5 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

5 years agoTestsuite: fix stderr munging
Jeremy Harris [Sat, 9 Nov 2019 23:01:25 +0000 (23:01 +0000)]
Testsuite: fix stderr munging

Broken-by: 01446a56c7
5 years agoRemove the daemon pid file when exit is due to SIGTERM. Bug 340
Jeremy Harris [Sat, 9 Nov 2019 16:04:14 +0000 (16:04 +0000)]
Remove the daemon pid file when exit is due to SIGTERM.  Bug 340

5 years agoRevert "preallocate store for config", which appears to have been a mis-merge. Bug...
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.

5 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
5 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

(cherry picked from commit 13e70f5530fc3fd376e1397c76e073a339e738aa)

5 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

5 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

5 years agoDKIM/CHUNKING: support CHUNKING when a transport_filter is used, if DKIM signing...
Jeremy Harris [Tue, 5 Nov 2019 21:13:41 +0000 (21:13 +0000)]
DKIM/CHUNKING: support CHUNKING when a transport_filter is used, if DKIM signing is being done

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

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

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

Broken-by: 2b2cfa838f