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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

21 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

21 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

21 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

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

21 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

21 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

21 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

21 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

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

21 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

21 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

21 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

21 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

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

21 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

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

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

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

21 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

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

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

21 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

21 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

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

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

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

22 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

22 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

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

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

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

22 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

22 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

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

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

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

22 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

22 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

22 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

22 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

22 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

22 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

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

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

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

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

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

22 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

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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

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

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

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

22 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

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

22 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

22 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

22 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

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

22 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

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

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

22 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

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

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

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

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

22 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

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

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