exim.git
5 months agoLookups: sub-path for dsearch
Jeremy Harris [Sun, 26 May 2024 16:17:50 +0000 (17:17 +0100)]
Lookups: sub-path for dsearch

5 months agoTestsuite: perl version oddity
Jeremy Harris [Tue, 21 May 2024 11:35:04 +0000 (12:35 +0100)]
Testsuite: perl version oddity

Obsoletes: fd0a407eb801
Broken-by: 235ef8b38301
5 months agoperl version oddity
Jeremy Harris [Mon, 20 May 2024 16:05:12 +0000 (17:05 +0100)]
perl version oddity

5 months agotidying
Jeremy Harris [Tue, 14 May 2024 16:04:58 +0000 (17:04 +0100)]
tidying

5 months agoHandle MAIL-before-EHLO under smtp_max_synprot_errors. Bug 3096
Jeremy Harris [Mon, 20 May 2024 13:47:04 +0000 (14:47 +0100)]
Handle MAIL-before-EHLO under smtp_max_synprot_errors.  Bug 3096

6 months agoTestsuite: munge for non-dkim
Jeremy Harris [Thu, 16 May 2024 11:42:00 +0000 (12:42 +0100)]
Testsuite: munge for non-dkim

6 months agoDocs: add note on encryption for Mysql DB connections
Jeremy Harris [Thu, 16 May 2024 11:04:30 +0000 (12:04 +0100)]
Docs: add note on encryption for Mysql DB connections

6 months agoTestsuite: tidying
Jeremy Harris [Tue, 14 May 2024 12:23:16 +0000 (13:23 +0100)]
Testsuite: tidying

6 months agoDebug: typo
Jeremy Harris [Tue, 14 May 2024 11:28:36 +0000 (12:28 +0100)]
Debug: typo

Broken-by: 1d2868b2d90c
6 months agoTestsuite: more connect-time munge tweaking
Jeremy Harris [Mon, 13 May 2024 16:21:48 +0000 (17:21 +0100)]
Testsuite: more connect-time munge tweaking

6 months agoTestsuite: munge for another localtion for system certs
Jeremy Harris [Mon, 13 May 2024 15:55:16 +0000 (16:55 +0100)]
Testsuite: munge for another localtion for system certs

6 months agoFix GNU/Hurd build. Bug 3044
Jeremy Harris [Sun, 12 May 2024 10:49:04 +0000 (11:49 +0100)]
Fix GNU/Hurd build.  Bug 3044

Contributions from Samuel Thibault and Andreas Metzler

6 months agoTestsuite: fix munge for mailq
Jeremy Harris [Sun, 12 May 2024 09:45:51 +0000 (10:45 +0100)]
Testsuite: fix munge for mailq

6 months agoTestsuite: munge for dns neg-cache
Jeremy Harris [Sat, 11 May 2024 15:25:32 +0000 (16:25 +0100)]
Testsuite: munge for dns neg-cache

6 months agoTestsuite: more munge tweaks
Jeremy Harris [Sat, 11 May 2024 14:08:50 +0000 (15:08 +0100)]
Testsuite: more munge tweaks

6 months agoTestsuite: fix munging for ipv6 dns
Jeremy Harris [Fri, 10 May 2024 13:51:06 +0000 (14:51 +0100)]
Testsuite: fix munging for ipv6 dns

6 months agoTestsuite: fix munge around tpt connect time
Jeremy Harris [Thu, 9 May 2024 17:15:11 +0000 (18:15 +0100)]
Testsuite: fix munge around tpt connect time

Broken-by: 1d2868b2d90c
6 months agoDocs: clarify helo_allow_chars option
Jeremy Harris [Thu, 9 May 2024 14:38:27 +0000 (15:38 +0100)]
Docs: clarify helo_allow_chars option

6 months agoDebug: indent DNS ops
Jeremy Harris [Thu, 9 May 2024 14:37:49 +0000 (15:37 +0100)]
Debug: indent DNS ops

6 months agoDebug: fix showing option name for list (vs. list content)
Jeremy Harris [Wed, 8 May 2024 10:31:52 +0000 (11:31 +0100)]
Debug: fix showing option name for list (vs. list content)

It's done in a hacky way (always was) and is fragile.
Turns out, too fragile to be good.
- some lists, we cannot match up to an option name
  eg. stderr/0002
- some, we're falling back to comparing the list content; this gets duplicates
  and thus gives incorrect info, which is worse than no info
  (we could scan for dups, I guess?)
  Why do we get dups when we're comparing the addrs of the string?
  - mmm, do we Really get dups?
    - Yes: same option across two routers. Must be a static init for a default.
      In which case, does it being a dup matter?
      - OK, we can check router_name / transport_name

Resulting testsuite sterr changes only partial, here.

There's a double check on local_parts in routers (always was).  Why?

One buildfarm animal (groundhog) is missing a "list element" line
possibly associated with dnssec_request_domains.  Why?

6 months agoTestsuite: munge for non-WITH_CONTENT_SCAN builds
Jeremy Harris [Tue, 7 May 2024 13:48:54 +0000 (14:48 +0100)]
Testsuite: munge for non-WITH_CONTENT_SCAN builds

6 months agoTestsuite: drop PRDR testcase from general MAIL-FROM-with-options testing
Jeremy Harris [Tue, 7 May 2024 13:33:46 +0000 (14:33 +0100)]
Testsuite: drop PRDR testcase from general MAIL-FROM-with-options testing

The PRDR-specific testcases check it works and not all builds include PRDR

6 months agoTestsuite: clarify testcase for dnsdb dns:fail event.
Jeremy Harris [Tue, 7 May 2024 12:12:14 +0000 (13:12 +0100)]
Testsuite: clarify testcase for dnsdb dns:fail event.

6 months agoTestsuite: munge retry DB dumps for long pathnames
Jeremy Harris [Mon, 6 May 2024 16:57:21 +0000 (17:57 +0100)]
Testsuite: munge retry DB dumps for long pathnames

6 months agoEvents: dns:fail Bug 3011
Jeremy Harris [Sun, 5 May 2024 17:11:45 +0000 (18:11 +0100)]
Events: dns:fail  Bug 3011

6 months agoDebug: markup ASCII control-chars
Jeremy Harris [Sat, 4 May 2024 14:43:36 +0000 (15:43 +0100)]
Debug: markup ASCII control-chars

6 months agoconstify
Jeremy Harris [Fri, 3 May 2024 17:18:00 +0000 (18:18 +0100)]
constify

6 months agoDocs: more commentary on example SRS usage
Jeremy Harris [Sun, 28 Apr 2024 13:41:37 +0000 (14:41 +0100)]
Docs: more commentary on example SRS usage

7 months agoDocs: update info on MTA-STS. Bug 3091
Jeremy Harris [Wed, 17 Apr 2024 12:36:17 +0000 (13:36 +0100)]
Docs: update info on MTA-STS.  Bug 3091

7 months agoDocs: add crossref
u34 [Sun, 14 Apr 2024 16:26:34 +0000 (17:26 +0100)]
Docs: add crossref

7 months agoTestsuite: output changes resulting
Jeremy Harris [Sun, 14 Apr 2024 11:15:38 +0000 (12:15 +0100)]
Testsuite: output changes resulting

Broken-by: e4cdc6558fcf
7 months agotidying
Jeremy Harris [Sun, 14 Apr 2024 09:04:37 +0000 (10:04 +0100)]
tidying

7 months agoUse compressed form of ipv6 in $sender_host_address under -bh. Bug 3027
Jeremy Harris [Thu, 11 Apr 2024 10:53:24 +0000 (11:53 +0100)]
Use compressed form of ipv6 in $sender_host_address under -bh.  Bug 3027

7 months agoDMARC: Avoid using Resent-From: header. Bug 3029
Jeremy Harris [Wed, 10 Apr 2024 16:10:05 +0000 (17:10 +0100)]
DMARC: Avoid using Resent-From: header.  Bug 3029

7 months agoSRS: fix encode for local-part with zero-length quoted element. Bug 3087
Jeremy Harris [Fri, 5 Apr 2024 10:27:10 +0000 (11:27 +0100)]
SRS: fix encode for local-part with zero-length quoted element.  Bug 3087

7 months agoDebug: use difftime()
Daniel Golle [Thu, 4 Apr 2024 23:39:56 +0000 (00:39 +0100)]
Debug: use difftime()

7 months agoRetries: rework DB keys, and fix exinext IPv6. Bug 3086
Jeremy Harris [Thu, 4 Apr 2024 14:53:53 +0000 (15:53 +0100)]
Retries: rework DB keys, and fix exinext IPv6. Bug 3086

7 months agoinlining
Jeremy Harris [Fri, 29 Mar 2024 20:42:47 +0000 (20:42 +0000)]
inlining

7 months agoLogging: fix receive-time crash with recipients-logging.
Jeremy Harris [Fri, 29 Mar 2024 17:37:05 +0000 (17:37 +0000)]
Logging: fix receive-time crash with recipients-logging.

Broken-by: d12746bc15d8
7 months agoDocs: say explicitly where an ACL definition ends
Jeremy Harris [Thu, 28 Mar 2024 21:31:00 +0000 (21:31 +0000)]
Docs: say explicitly where an ACL definition ends

7 months agoFix encoding for AUTH= on MAIL FROM
Jeremy Harris [Wed, 27 Mar 2024 16:04:50 +0000 (16:04 +0000)]
Fix encoding for AUTH= on MAIL FROM

7 months agotypoes
Jeremy Harris [Wed, 27 Mar 2024 15:40:03 +0000 (15:40 +0000)]
typoes

7 months agotidying
Jeremy Harris [Tue, 26 Mar 2024 19:52:49 +0000 (19:52 +0000)]
tidying

7 months agotidying
Jeremy Harris [Tue, 26 Mar 2024 17:36:59 +0000 (17:36 +0000)]
tidying

7 months agospecified-initializers
Jeremy Harris [Mon, 25 Mar 2024 12:13:09 +0000 (12:13 +0000)]
specified-initializers

7 months agoDebug: mark up space/nl in lookup results
Jeremy Harris [Fri, 22 Mar 2024 23:05:02 +0000 (23:05 +0000)]
Debug: mark up space/nl in lookup results

7 months agoDebug: more clarity on a ret=key lookup
Jeremy Harris [Fri, 22 Mar 2024 21:11:25 +0000 (21:11 +0000)]
Debug: more clarity on a ret=key lookup

7 months agoOption for taint when setting variable under -be
Jeremy Harris [Thu, 21 Mar 2024 23:48:32 +0000 (23:48 +0000)]
Option for taint when setting variable under -be

8 months agoAutoreply: Remove Exim version 3 campatibility code
Jeremy Harris [Sat, 16 Mar 2024 13:54:42 +0000 (13:54 +0000)]
Autoreply: Remove Exim version 3 campatibility code

8 months agoLookups: fix dbmnz crash on zero-length datum. Bug 3079
Jeremy Harris [Sat, 16 Mar 2024 13:50:45 +0000 (13:50 +0000)]
Lookups: fix dbmnz crash on zero-length datum.  Bug 3079

Broken-by: 6d2c02560e5c
8 months agoRewrites: fix delivery crash from constant errors_to. Bug 3081
Peter Benie [Thu, 14 Mar 2024 16:11:14 +0000 (16:11 +0000)]
Rewrites: fix delivery crash from constant errors_to.  Bug 3081

Broken-by: 753739fdef6d
8 months agoDebug: fix transport-wait DB message. Bug 3082
Peter Benie [Thu, 14 Mar 2024 15:56:07 +0000 (15:56 +0000)]
Debug: fix transport-wait DB message.  Bug 3082

8 months agoDocs: add note on DKIM vs. tpt modifying headers
Jeremy Harris [Sat, 9 Mar 2024 16:30:43 +0000 (16:30 +0000)]
Docs: add note on DKIM vs. tpt modifying headers

8 months agoSilence some compiler warnings. Bug 3076
Andrew Aitchison [Fri, 8 Mar 2024 11:52:10 +0000 (11:52 +0000)]
Silence some compiler warnings.  Bug 3076

8 months agoDebug: expansions: refactor ascii-art/UTF8; mark up space & nl
Jeremy Harris [Fri, 8 Mar 2024 01:59:34 +0000 (01:59 +0000)]
Debug: expansions: refactor ascii-art/UTF8; mark up space & nl

8 months agoFix crash on empty -oMt argument. Bug 3070
Heiko Schlichting [Thu, 29 Feb 2024 19:26:48 +0000 (19:26 +0000)]
Fix crash on empty -oMt argument.  Bug 3070

8 months agoLibreSSL: fix build for 3.5.0+ Bug 3074
Fabrice Fontaine [Thu, 29 Feb 2024 19:01:49 +0000 (19:01 +0000)]
LibreSSL: fix build for 3.5.0+    Bug 3074

8 months agoLookups: avoid leaking user/passwd from server spec to log. Bug 3066
Jeremy Harris [Wed, 28 Feb 2024 13:46:56 +0000 (13:46 +0000)]
Lookups: avoid leaking user/passwd from server spec to log.  Bug 3066

8 months agotidying
Jeremy Harris [Sat, 23 Dec 2023 17:44:31 +0000 (17:44 +0000)]
tidying

8 months agoBuild: avoid compiling code for unused transports, routers, authenticators
Jeremy Harris [Thu, 28 Sep 2023 10:10:13 +0000 (11:10 +0100)]
Build: avoid compiling code for unused transports, routers, authenticators

The smtp transport is not covered here; there are dependencies in
other bits of the exim body.

8 months agoDocs: add note on DKIM verify disable
Jeremy Harris [Sun, 25 Feb 2024 00:07:37 +0000 (00:07 +0000)]
Docs: add note on DKIM verify disable

8 months agoTeststuite: munges needed for buildfarm
Jeremy Harris [Sat, 17 Feb 2024 16:11:23 +0000 (16:11 +0000)]
Teststuite: munges needed for buildfarm

Broken by: 90bd3832bc0f

9 months agoDebug: option access for expansion
Jeremy Harris [Fri, 16 Feb 2024 23:16:29 +0000 (23:16 +0000)]
Debug: option access for expansion

9 months agoregex: avoid releasing built RE midloop
Jeremy Harris [Thu, 15 Feb 2024 19:56:40 +0000 (19:56 +0000)]
regex: avoid releasing built RE midloop

9 months agoExpand recipients_max, smtp-batch input
Jeremy Harris [Wed, 14 Feb 2024 11:25:52 +0000 (11:25 +0000)]
Expand recipients_max, smtp-batch input

9 months agoExpand recipients_max
Jeremy Harris [Sun, 11 Feb 2024 23:32:34 +0000 (23:32 +0000)]
Expand recipients_max

9 months agoUse non-releasable memory for regex line-buffer
Jeremy Harris [Tue, 13 Feb 2024 17:34:19 +0000 (17:34 +0000)]
Use non-releasable memory for regex line-buffer

Broken-by: 5aacb69f5c8
9 months agouse dynamic mem for regex_match_string
Jeremy Harris [Sun, 11 Feb 2024 15:04:58 +0000 (15:04 +0000)]
use dynamic mem for regex_match_string

9 months agoUse non-releaseable memory for regex match strings. Bug 3047
Jeremy Harris [Sun, 11 Feb 2024 13:57:18 +0000 (13:57 +0000)]
Use non-releaseable memory for regex match strings. Bug 3047

Broken-by: 35aacb69f5c8
9 months agoMove ESMPT LIMITS extension from experimental to mainline
Jeremy Harris [Sat, 10 Feb 2024 16:44:54 +0000 (16:44 +0000)]
Move ESMPT LIMITS extension from experimental to mainline

9 months ago Fix smtp transport response to close after all rcpt fates determined. Bug 3059
Jeremy Harris [Fri, 26 Jan 2024 21:18:01 +0000 (21:18 +0000)]
Fix smtp transport response to close after all rcpt fates determined.  Bug 3059

9 months agoACL: in "regex" condition, release store every thousand lines. Bug 3047
Jeremy Harris [Fri, 26 Jan 2024 21:58:59 +0000 (21:58 +0000)]
ACL: in "regex" condition, release store every thousand lines.  Bug 3047

9 months agoAppendfile: release regex-match store every thousand files. Bug 3047
Jeremy Harris [Thu, 25 Jan 2024 17:48:43 +0000 (17:48 +0000)]
Appendfile: release regex-match store every thousand files.  Bug 3047

9 months agoTLS: fix startup after forced-fail
Jeremy Harris [Sat, 20 Jan 2024 12:38:15 +0000 (12:38 +0000)]
TLS: fix startup after forced-fail

Broken-by: cf0c61644d7d, ce93c6d840d5, 520ef00f56ce
10 months agoExinext: handle new-format message IDs
Jeremy Harris [Mon, 15 Jan 2024 12:54:41 +0000 (12:54 +0000)]
Exinext: handle new-format message IDs

Broken-by: 46a36afae4
10 months agoLookups: log warning for deprecated syntax. Bug 3068
Jeremy Harris [Sat, 13 Jan 2024 15:24:12 +0000 (15:24 +0000)]
Lookups: log warning for deprecated syntax.  Bug 3068

10 months agoEximon: handle new-format message IDs
Heiko Schlichting [Fri, 12 Jan 2024 21:43:54 +0000 (21:43 +0000)]
Eximon: handle new-format message IDs

Broken-by: 46a36afae4
10 months agoFix recipient (or source) selection in combination with periodic queue run. Bug 3064
Jeremy Harris [Mon, 8 Jan 2024 16:01:55 +0000 (16:01 +0000)]
Fix recipient (or source) selection in combination with periodic queue run. Bug 3064

Broken-by: 1e835086d159
10 months agoDKIM: signing with t but no x timestamp. Bug 2851
Simon Arlott [Sun, 7 Jan 2024 18:04:55 +0000 (18:04 +0000)]
DKIM: signing with t but no x timestamp.  Bug 2851

10 months agoReport two-phase queue run in daemon startup log line
Jeremy Harris [Thu, 4 Jan 2024 22:29:59 +0000 (22:29 +0000)]
Report two-phase queue run in daemon startup log line

10 months agoDocs: expand SRS info
Jeremy Harris [Mon, 1 Jan 2024 21:08:13 +0000 (21:08 +0000)]
Docs: expand SRS info

10 months agoTestsuite: guard configs for no-PRDR build
Jeremy Harris [Mon, 1 Jan 2024 15:34:51 +0000 (15:34 +0000)]
Testsuite: guard configs for no-PRDR build

10 months agoAddress qualification: ensure maformed addresses are logged. Bug 3061
Jeremy Harris [Sun, 31 Dec 2023 22:12:17 +0000 (22:12 +0000)]
Address qualification: ensure maformed addresses are logged.  Bug 3061

10 months agoRewrites: avoid a split log line when rewiting hits a malformed address. Bug 3160
Jeremy Harris [Sun, 31 Dec 2023 19:59:09 +0000 (19:59 +0000)]
Rewrites: avoid a split log line when rewiting hits a malformed address.  Bug 3160

10 months agofdatasync the spool data file
Jeremy Harris [Sat, 14 Oct 2023 18:35:34 +0000 (19:35 +0100)]
fdatasync the spool data file

10 months agoTidying: enum for smtp_write_mail_and_rcpt_cmds() retcodes
Jeremy Harris [Fri, 29 Dec 2023 22:12:58 +0000 (22:12 +0000)]
Tidying: enum for smtp_write_mail_and_rcpt_cmds() retcodes

10 months agoDocs: CVE note
Jeremy Harris [Fri, 29 Dec 2023 16:11:02 +0000 (16:11 +0000)]
Docs: CVE note

Cherry-picked from: 5a8fc0799314

10 months agoTidying: defines for sync_responses() retcodes
Jeremy Harris [Fri, 29 Dec 2023 15:29:27 +0000 (15:29 +0000)]
Tidying: defines for sync_responses() retcodes

10 months agoDKIM: logging for signing in transport. Bug 3062
Jeremy Harris [Fri, 29 Dec 2023 12:40:22 +0000 (12:40 +0000)]
DKIM: logging for signing in transport. Bug 3062

10 months agoTestsuite: testcase for "smtp smuggling". Bug 3063
Jeremy Harris [Mon, 25 Dec 2023 16:50:23 +0000 (16:50 +0000)]
Testsuite: testcase for "smtp smuggling".  Bug 3063
Also remove the unneeded sync point added in cf1376206284

10 months agoReject "dot, LF" as ending data phase (pt. 2). Bug 3063
Jeremy Harris [Sat, 23 Dec 2023 17:42:57 +0000 (17:42 +0000)]
Reject "dot, LF" as ending data phase (pt. 2).  Bug 3063

10 months agoUse enum for body data input state-machine
Jeremy Harris [Sat, 23 Dec 2023 15:59:53 +0000 (15:59 +0000)]
Use enum for body data input state-machine

10 months agoReject "dot, LF" as ending data phase. Bug 3063
Jeremy Harris [Fri, 22 Dec 2023 23:57:05 +0000 (23:57 +0000)]
Reject "dot, LF" as ending data phase.  Bug 3063

10 months agotweak observability
Jeremy Harris [Thu, 21 Dec 2023 23:33:10 +0000 (23:33 +0000)]
tweak observability

10 months agoDocs: more indexing for localhost_number
Jeremy Harris [Mon, 18 Dec 2023 14:37:30 +0000 (14:37 +0000)]
Docs: more indexing for localhost_number

10 months agoTestsuite: spilt testcase
Jeremy Harris [Sat, 16 Dec 2023 17:37:30 +0000 (17:37 +0000)]
Testsuite: spilt testcase

10 months agoTeststsuite: shuffle testcases
Jeremy Harris [Sat, 16 Dec 2023 17:15:46 +0000 (17:15 +0000)]
Teststsuite: shuffle testcases

11 months agotidying
Jeremy Harris [Sat, 16 Dec 2023 16:31:06 +0000 (16:31 +0000)]
tidying

11 months agoFix periodic queue runs. Bug 3046
Jeremy Harris [Fri, 15 Dec 2023 21:05:32 +0000 (21:05 +0000)]
Fix periodic queue runs.  Bug 3046

Broken-by: 7d5055276a22
11 months agoHandle expansion fails in router "set" options. Bug 3058
Jeremy Harris [Thu, 7 Dec 2023 19:59:35 +0000 (19:59 +0000)]
Handle expansion fails in router "set" options.  Bug 3058