exim.git
18 months agoDocs: warn against using $local_part directly in delivery
Jeremy Harris [Wed, 8 Jan 2020 13:51:42 +0000 (13:51 +0000)]
Docs: warn against using $local_part directly in delivery

18 months agoAdd debug for content of file tainted due to faile name taint
Jeremy Harris [Wed, 8 Jan 2020 11:31:03 +0000 (11:31 +0000)]
Add debug for content of file tainted due to faile name taint

18 months agoFix error logging for dynamically-loaded modules. Bug 2507
Jeremy Harris [Wed, 8 Jan 2020 10:49:31 +0000 (10:49 +0000)]
Fix error logging for dynamically-loaded modules.  Bug 2507

18 months agocoding standards
Jeremy Harris [Wed, 8 Jan 2020 10:36:40 +0000 (10:36 +0000)]
coding standards

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Broken-by: 98eb959291
18 months 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

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

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

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

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

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

Broken-by: 8aa16eb712
19 months 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

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

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

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

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

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

Broken-by: 2791749f22
19 months 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

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

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

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

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

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

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

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

19 months 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()

19 months 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)

19 months 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.

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

Broken-by: 78598e6a6a
19 months 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

19 months 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
19 months 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()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

19 months 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)

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

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

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

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

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

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

19 months 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)

19 months 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]

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

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

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

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

Broken-by: 7d758a6a68
19 months 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

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

19 months 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]

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