exim.git
4 years agostring handling: strlen for gstring
Jeremy Harris [Sun, 12 Jan 2020 14:52:00 +0000 (14:52 +0000)]
string handling: strlen for gstring

4 years agoTestsuite: taint-enforcement issues
Jeremy Harris [Sun, 12 Jan 2020 00:14:27 +0000 (00:14 +0000)]
Testsuite: taint-enforcement issues

4 years agoFix build with DRWEB malware scanner
Jeremy Harris [Sat, 11 Jan 2020 23:07:53 +0000 (23:07 +0000)]
Fix build with DRWEB malware scanner

Broken-by: 9e21ce8fc4
4 years agoWarn updating folks to use $local_part_verified
Phil Pennock [Sat, 11 Jan 2020 23:51:28 +0000 (18:51 -0500)]
Warn updating folks to use $local_part_verified

This tainting change to appendfile seems likely to cause pain, breaking
previously working configurations.  Note it in README.UPDATING.

4 years agotaint enforce: file access backstops
Jeremy Harris [Sat, 11 Jan 2020 21:52:24 +0000 (21:52 +0000)]
taint enforce: file access backstops

4 years agoACL: taint-enforce queue modifier
Jeremy Harris [Sat, 11 Jan 2020 21:51:42 +0000 (21:51 +0000)]
ACL: taint-enforce queue modifier

4 years agoautoreply transport: taint-enfoce options
Jeremy Harris [Sat, 11 Jan 2020 21:50:58 +0000 (21:50 +0000)]
autoreply transport: taint-enfoce options

4 years agotaint-enforce DB filenames
Jeremy Harris [Sat, 11 Jan 2020 21:50:05 +0000 (21:50 +0000)]
taint-enforce DB filenames

4 years agoredirect router: taint-enforce filenames
Jeremy Harris [Sat, 11 Jan 2020 21:49:10 +0000 (21:49 +0000)]
redirect router: taint-enforce filenames

4 years agopipe transport: taint-enforce command
Jeremy Harris [Sat, 11 Jan 2020 21:48:25 +0000 (21:48 +0000)]
pipe transport: taint-enforce command

4 years agoappendfile: taint-enforce file & directory options
Jeremy Harris [Sat, 11 Jan 2020 21:46:43 +0000 (21:46 +0000)]
appendfile: taint-enforce file & directory options
testsuite: bless facility

4 years agoappendfile: refactor
Jeremy Harris [Sat, 11 Jan 2020 20:50:47 +0000 (20:50 +0000)]
appendfile: refactor

4 years agoappendfile: tidying
Jeremy Harris [Sat, 11 Jan 2020 20:49:48 +0000 (20:49 +0000)]
appendfile: tidying

4 years agotidying: CCSS macro
Jeremy Harris [Sat, 11 Jan 2020 20:48:38 +0000 (20:48 +0000)]
tidying: CCSS macro

4 years ago$local_part_verified
Jeremy Harris [Sat, 11 Jan 2020 18:07:10 +0000 (18:07 +0000)]
$local_part_verified

4 years agoDocs: add explicit warnings for some variables likely tainted
Jeremy Harris [Fri, 10 Jan 2020 12:07:19 +0000 (12:07 +0000)]
Docs: add explicit warnings for some variables likely tainted

4 years agoFix error logging for dynamically-loaded modules. Bug 2507
Arkadiusz Miskiewicz [Wed, 8 Jan 2020 16:43:46 +0000 (16:43 +0000)]
Fix error logging for dynamically-loaded modules.  Bug 2507

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

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

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

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

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