users/heiko/exim.git
4 years agocoding standards
Jeremy Harris [Wed, 8 Jan 2020 10:36:40 +0000 (10:36 +0000)]
coding standards

4 years agoSPF: switch to NO_DATA for SPF-rr lookups. Bug 1294
Wolfgang Breyha [Tue, 7 Jan 2020 13:31:20 +0000 (13:31 +0000)]
SPF: switch to NO_DATA for SPF-rr lookups.  Bug 1294

4 years agoSPF: shortcircuit SPF RR lookups. Bug 1294
Wolfgang Breyha [Thu, 2 Jan 2020 13:27:25 +0000 (13:27 +0000)]
SPF: shortcircuit SPF RR lookups.  Bug 1294

4 years agoSPF: fix result for case of only non-spf TXT RRs. Bug 2499
Wolfgang Breyha [Tue, 7 Jan 2020 13:03:18 +0000 (13:03 +0000)]
SPF: fix result for case of only non-spf TXT RRs.  Bug 2499

4 years agoHurd: account for setgroups() being callable unprivileged
Samuel Thibault [Mon, 6 Jan 2020 13:46:54 +0000 (13:46 +0000)]
Hurd: account for setgroups() being callable unprivileged

4 years agoSPF: additional debug
Jeremy Harris [Sat, 4 Jan 2020 19:49:54 +0000 (19:49 +0000)]
SPF: additional debug

4 years agoSPF: handle DNS NO_DATA return. Bug 2499
Wolfgang Breyha [Thu, 2 Jan 2020 13:16:52 +0000 (13:16 +0000)]
SPF: handle DNS NO_DATA return.  Bug 2499

4 years agoGSASL: provide $autnN for scram option expansions
Jeremy Harris [Wed, 1 Jan 2020 15:19:52 +0000 (15:19 +0000)]
GSASL: provide $autnN for scram option expansions

4 years agoGSASL: remove unneeded stringprep operations; library does it for us
Jeremy Harris [Tue, 31 Dec 2019 14:24:29 +0000 (14:24 +0000)]
GSASL: remove unneeded stringprep operations; library does it for us

4 years agoTestsuite: testcase for GSASL SCRAM-SHA-256
Jeremy Harris [Mon, 30 Dec 2019 22:45:21 +0000 (22:45 +0000)]
Testsuite: testcase for GSASL SCRAM-SHA-256

4 years agoGSASL: feature macro
Jeremy Harris [Mon, 30 Dec 2019 20:53:26 +0000 (20:53 +0000)]
GSASL: feature macro

4 years agoLogging: Add DT= to defer & fail message lines. Bug 322
Jeremy Harris [Sun, 29 Dec 2019 13:41:17 +0000 (13:41 +0000)]
Logging: Add DT= to defer & fail message lines.  Bug 322

4 years agoSPF: library version reporting
Jeremy Harris [Sat, 28 Dec 2019 21:54:51 +0000 (21:54 +0000)]
SPF: library version reporting

4 years agoFix build with older TLS library versions
Jeremy Harris [Sat, 28 Dec 2019 18:27:54 +0000 (18:27 +0000)]
Fix build with older TLS library versions

Broken-by: 1c519e07b9
4 years agoSPF: fix handling mix of spf and other txt records. Bug 2499
Wolfgang Breyha [Sat, 28 Dec 2019 17:14:42 +0000 (17:14 +0000)]
SPF: fix handling mix of spf and other txt records.  Bug 2499

4 years agoTestsuite: SPF testcase additions
Jeremy Harris [Sat, 28 Dec 2019 17:44:28 +0000 (17:44 +0000)]
Testsuite: SPF testcase additions

4 years agoGSASL channel-binding: TLS resumption checks
Jeremy Harris [Sat, 28 Dec 2019 17:00:30 +0000 (17:00 +0000)]
GSASL channel-binding: TLS resumption checks

4 years agoDocs: typo
Jeremy Harris [Fri, 27 Dec 2019 21:14:02 +0000 (21:14 +0000)]
Docs: typo

4 years agoTestsuite: new output
Jeremy Harris [Fri, 27 Dec 2019 18:46:14 +0000 (18:46 +0000)]
Testsuite: new output

4 years agoAuthenticator gsasl: client support. Bug 2349
Jeremy Harris [Fri, 27 Dec 2019 18:37:19 +0000 (18:37 +0000)]
Authenticator gsasl: client support.  Bug 2349

4 years agoSPF: support uppercase in v=spf1, permerror-on-multiple-RRs. Bug 2499
Jeremy Harris [Sun, 22 Dec 2019 19:56:15 +0000 (19:56 +0000)]
SPF: support uppercase in v=spf1, permerror-on-multiple-RRs.  Bug 2499

4 years agoTestsuite output
Jeremy Harris [Tue, 24 Dec 2019 15:53:56 +0000 (15:53 +0000)]
Testsuite output

Broken-by: 98eb959291
4 years agoFix the variables set by gsasl authenticator
Jeremy Harris [Tue, 24 Dec 2019 15:43:00 +0000 (15:43 +0000)]
Fix the variables set by gsasl authenticator

4 years agotidying
Jeremy Harris [Mon, 23 Dec 2019 22:40:06 +0000 (22:40 +0000)]
tidying

4 years agoDocs: more info for dovecot auth driver
Jeremy Harris [Mon, 23 Dec 2019 20:07:34 +0000 (20:07 +0000)]
Docs: more info for dovecot auth driver

4 years agoFix build with heimdal-gssapi. Bug 2501
Jeremy Harris [Sun, 22 Dec 2019 21:51:53 +0000 (21:51 +0000)]
Fix build with heimdal-gssapi.  Bug 2501

4 years agoFix Solaris build (pt.2)
Jeremy Harris [Sun, 22 Dec 2019 21:24:24 +0000 (21:24 +0000)]
Fix Solaris build (pt.2)

Broken-by: 8aa16eb712
4 years agoPIPELINING: break and check for 452 every hundred RCPTs
Jeremy Harris [Sun, 22 Dec 2019 19:53:39 +0000 (19:53 +0000)]
PIPELINING: break and check for 452 every hundred RCPTs

4 years agoFix Solaris build
Jeremy Harris [Sat, 21 Dec 2019 22:07:41 +0000 (22:07 +0000)]
Fix Solaris build

Broken-by: 8aa16eb712
4 years agoEximon: fix string-handling. Bug 2500
Jeremy Harris [Sat, 21 Dec 2019 20:31:31 +0000 (20:31 +0000)]
Eximon: fix string-handling.  Bug 2500

4 years agoSPF: only require "v=spf1" on TXT DNS records during lookups. Bug 2499
Wolfgang Breyha [Fri, 20 Dec 2019 14:01:23 +0000 (14:01 +0000)]
SPF: only require "v=spf1" on TXT DNS records during lookups.  Bug 2499

4 years agoGnu/Hurd: revert pipe-i/o EINTR handling changes
Jeremy Harris [Wed, 18 Dec 2019 16:07:38 +0000 (16:07 +0000)]
Gnu/Hurd: revert pipe-i/o EINTR handling changes

4 years agoFix Hurd build, another go
Jeremy Harris [Wed, 18 Dec 2019 16:07:38 +0000 (16:07 +0000)]
Fix Hurd build, another go

4 years agoFix Hurd build, another go
Jeremy Harris [Wed, 18 Dec 2019 13:59:22 +0000 (13:59 +0000)]
Fix Hurd build, another go

4 years agoFix Hurd build: typoes
Jeremy Harris [Wed, 18 Dec 2019 09:21:12 +0000 (09:21 +0000)]
Fix Hurd build: typoes

Broken-by: 2791749f22
4 years agoGNU/Hurd: retry EINTR returns from pipe I/O
Jeremy Harris [Tue, 17 Dec 2019 20:35:28 +0000 (20:35 +0000)]
GNU/Hurd: retry EINTR returns from pipe I/O

Replaces: a76f64c3d4

4 years agoTestsuite: account for 4-component version numbers
Jeremy Harris [Tue, 17 Dec 2019 19:04:00 +0000 (19:04 +0000)]
Testsuite: account for 4-component version numbers

4 years agoTestsuite: longer timeout on identd testcase
Jeremy Harris [Tue, 17 Dec 2019 17:38:02 +0000 (17:38 +0000)]
Testsuite: longer timeout on identd testcase

4 years agoHandle EINTR from transport-pipe write
Jeremy Harris [Tue, 17 Dec 2019 16:55:25 +0000 (16:55 +0000)]
Handle EINTR from transport-pipe write

4 years agoBetter information on queue-runner pipe error
Jeremy Harris [Tue, 17 Dec 2019 16:24:18 +0000 (16:24 +0000)]
Better information on queue-runner pipe error

4 years ago ARC: Reset received ARC instance counter before next message on a connection...
Jeremy Harris [Tue, 17 Dec 2019 10:46:21 +0000 (10:46 +0000)]
ARC: Reset received ARC instance counter before next message on a connection.  Bug 2498

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

5 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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

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

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

5 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

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

5 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

5 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

5 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

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

5 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

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

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

5 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

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

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

Broken-by: 73a10da9bb
5 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

5 years agoFreeBSD: better support for TFO
Jeremy Harris [Tue, 3 Dec 2019 22:12:09 +0000 (22:12 +0000)]
FreeBSD: better support for TFO

5 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

5 years agoFreeBSD: fix sendfile shim
Jeremy Harris [Sat, 7 Dec 2019 22:07:02 +0000 (22:07 +0000)]
FreeBSD: fix sendfile shim

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

5 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

5 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

5 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
5 years agoARC: fix crash in signing
Jeremy Harris [Wed, 4 Dec 2019 14:01:18 +0000 (14:01 +0000)]
ARC: fix crash in signing

5 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

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

5 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

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

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

5 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

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

5 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

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

5 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

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

5 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

5 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

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