exim.git
13 months agoDKIM: Predefined macro for standard headers, oversigned
Jeremy Harris [Sat, 11 Apr 2020 18:12:57 +0000 (19:12 +0100)]
DKIM: Predefined macro for standard headers, oversigned

13 months agotidying
Jeremy Harris [Thu, 9 Apr 2020 13:45:31 +0000 (14:45 +0100)]
tidying

13 months agoC99 initialisers
Jeremy Harris [Thu, 9 Apr 2020 13:39:03 +0000 (14:39 +0100)]
C99 initialisers

13 months agotidying
Jeremy Harris [Tue, 7 Apr 2020 18:41:31 +0000 (19:41 +0100)]
tidying

13 months agoFix crash
Jeremy Harris [Mon, 6 Apr 2020 19:15:47 +0000 (20:15 +0100)]
Fix crash

Broken-by: 0b4dfe7aa1
13 months agoExpansion item ${listquote }. Bug 1066
Jeremy Harris [Mon, 6 Apr 2020 15:20:35 +0000 (16:20 +0100)]
Expansion item ${listquote }.  Bug 1066

13 months agoMySQL, pgsql: per-query server options outside the lookup string. Bug 2546
Jeremy Harris [Sun, 5 Apr 2020 23:28:06 +0000 (00:28 +0100)]
MySQL, pgsql: per-query server options outside the lookup string.  Bug 2546

13 months agoTaint: check on supplied buffer vs. list when extracting elements
Jeremy Harris [Sun, 5 Apr 2020 22:21:40 +0000 (23:21 +0100)]
Taint: check on supplied buffer vs. list when extracting elements

13 months agoAvoid the long whats_supported line being mixed with output from other processes
Jeremy Harris [Sat, 4 Apr 2020 20:27:30 +0000 (21:27 +0100)]
Avoid the long whats_supported line being mixed with output from other processes

13 months agotidying: skip_whitespace
Jeremy Harris [Sat, 4 Apr 2020 13:25:07 +0000 (14:25 +0100)]
tidying: skip_whitespace

13 months agoLog fast-ramp queue-run trigger
Jeremy Harris [Fri, 3 Apr 2020 20:48:21 +0000 (21:48 +0100)]
Log fast-ramp queue-run trigger

13 months agodsearch: filter-matches option
Jeremy Harris [Fri, 3 Apr 2020 13:38:31 +0000 (14:38 +0100)]
dsearch: filter-matches option

13 months agodsearch: full-path return option
Jeremy Harris [Fri, 3 Apr 2020 13:36:17 +0000 (14:36 +0100)]
dsearch: full-path return option

13 months agoLookups: per-searchtype options framework
Jeremy Harris [Fri, 3 Apr 2020 13:10:43 +0000 (14:10 +0100)]
Lookups: per-searchtype options framework

13 months agoSqlite: new main option sqlite_dbfile
Jeremy Harris [Wed, 1 Apr 2020 22:29:40 +0000 (23:29 +0100)]
Sqlite: new main option sqlite_dbfile

13 months agoTestsuite: ignore all fork-time debug
Jeremy Harris [Mon, 30 Mar 2020 21:26:09 +0000 (22:26 +0100)]
Testsuite: ignore all fork-time debug

13 months agoDsearch: require absolute dirname
Jeremy Harris [Sun, 29 Mar 2020 19:59:49 +0000 (20:59 +0100)]
Dsearch: require absolute dirname

13 months agoconstify
Jeremy Harris [Sun, 29 Mar 2020 18:07:48 +0000 (19:07 +0100)]
constify

13 months agoOpenSSL: under resumption open ticket DB writable, for record delete
Jeremy Harris [Sun, 29 Mar 2020 14:00:07 +0000 (15:00 +0100)]
OpenSSL: under resumption open ticket DB writable, for record delete

13 months agoTaint enforce: directory open backstops, single-key search filename
Jeremy Harris [Sat, 28 Mar 2020 20:01:10 +0000 (20:01 +0000)]
Taint enforce: directory open backstops, single-key search filename

13 months agoTestsuite: output changes resulting
Jeremy Harris [Sat, 28 Mar 2020 18:22:22 +0000 (18:22 +0000)]
Testsuite: output changes resulting

Broken-by: 836c3e4102
13 months agoBuild: fix Solaris
Jeremy Harris [Sat, 28 Mar 2020 16:12:56 +0000 (16:12 +0000)]
Build: fix Solaris

13 months agoTestsuite: ignore fakens fork debug line, avoiding ipv6-support differences
Jeremy Harris [Sat, 28 Mar 2020 16:06:48 +0000 (16:06 +0000)]
Testsuite: ignore fakens fork debug line, avoiding ipv6-support differences

13 months agoOpenSSL: avoid loading server's CA-list-for-client-notification on client
Jeremy Harris [Fri, 27 Mar 2020 21:07:50 +0000 (21:07 +0000)]
OpenSSL: avoid loading server's CA-list-for-client-notification on client

13 months agoFix argument checking for ${readsocket }
Jeremy Harris [Thu, 26 Mar 2020 16:05:19 +0000 (16:05 +0000)]
Fix argument checking for ${readsocket }

13 months agoMerge branch 'debug_fork'
Jeremy Harris [Sun, 22 Mar 2020 20:15:33 +0000 (20:15 +0000)]
Merge branch 'debug_fork'

13 months agoexit-time debug
Jeremy Harris [Sun, 22 Mar 2020 18:30:18 +0000 (18:30 +0000)]
exit-time debug

13 months agodebug tidying
Jeremy Harris [Fri, 20 Mar 2020 22:48:41 +0000 (22:48 +0000)]
debug tidying

13 months agopass through exec
Jeremy Harris [Sat, 21 Mar 2020 23:27:06 +0000 (23:27 +0000)]
pass through exec

13 months agochild-open debug
Jeremy Harris [Fri, 20 Mar 2020 14:44:07 +0000 (14:44 +0000)]
child-open debug

13 months agoTestsuite: move dsearch-dependent testcase
Jeremy Harris [Sun, 22 Mar 2020 11:13:49 +0000 (11:13 +0000)]
Testsuite: move dsearch-dependent testcase

13 months agoTaint: fix dsearch result to be untainted
Jeremy Harris [Sun, 22 Mar 2020 00:55:59 +0000 (00:55 +0000)]
Taint: fix dsearch result to be untainted

13 months agoTaint: mark more command-line arguments
Jeremy Harris [Sat, 21 Mar 2020 17:09:53 +0000 (17:09 +0000)]
Taint: mark more command-line arguments

13 months agotidying
Jeremy Harris [Sun, 15 Mar 2020 14:32:05 +0000 (14:32 +0000)]
tidying

13 months agoFix segfault on bad cmdline -f (sender) argument. Bug 2541
Jeremy Harris [Fri, 20 Mar 2020 19:14:45 +0000 (19:14 +0000)]
Fix segfault on bad cmdline -f (sender) argument.  Bug 2541

13 months agoconsistent fork-time debug
Jeremy Harris [Wed, 18 Mar 2020 13:47:42 +0000 (13:47 +0000)]
consistent fork-time debug

Testcase issues: 0366 2035

14 months agofixes
Jeremy Harris [Wed, 18 Mar 2020 12:33:24 +0000 (12:33 +0000)]
fixes

14 months agotidying
Jeremy Harris [Wed, 18 Mar 2020 11:36:59 +0000 (11:36 +0000)]
tidying

14 months agoAvoid corrupting globals during time-pauses
Jeremy Harris [Tue, 17 Mar 2020 12:33:47 +0000 (12:33 +0000)]
Avoid corrupting globals during time-pauses

14 months agoFix spurious detection of timeout while writing to transport filter
Jeremy Harris [Sun, 15 Mar 2020 21:08:28 +0000 (21:08 +0000)]
Fix spurious detection of timeout while writing to transport filter

14 months agolabelled-process fork function
Jeremy Harris [Sun, 15 Mar 2020 17:34:02 +0000 (17:34 +0000)]
labelled-process fork function

14 months agoTestsuite: missing output file
Jeremy Harris [Sat, 14 Mar 2020 22:30:45 +0000 (22:30 +0000)]
Testsuite: missing output file

14 months agoTestsuite: use correct client for GnuTLS platform
Jeremy Harris [Sat, 14 Mar 2020 22:47:07 +0000 (22:47 +0000)]
Testsuite: use correct client for GnuTLS platform

14 months agoTestsuite: make "client" util TLS variants more similar
Jeremy Harris [Sat, 14 Mar 2020 20:50:55 +0000 (20:50 +0000)]
Testsuite: make "client" util TLS variants more similar

14 months agoTesttsuite: portability
Jeremy Harris [Sat, 14 Mar 2020 16:50:28 +0000 (16:50 +0000)]
Testtsuite: portability

14 months agoTestsuite: fix munge
Jeremy Harris [Fri, 13 Mar 2020 14:16:15 +0000 (14:16 +0000)]
Testsuite: fix munge

14 months agoTestsuite: fix case for TLS library differences
Jeremy Harris [Thu, 12 Mar 2020 20:14:32 +0000 (20:14 +0000)]
Testsuite: fix case for TLS library differences

14 months agoRetry once a single-item delivery from the queue, when lock causes no attempt
Jeremy Harris [Thu, 12 Mar 2020 18:00:50 +0000 (18:00 +0000)]
Retry once a single-item delivery from the queue, when lock causes no attempt

14 months agoDebug: _exit() process-termination
Jeremy Harris [Thu, 12 Mar 2020 17:13:47 +0000 (17:13 +0000)]
Debug: _exit() process-termination

14 months agoTestsuite: fix build on non-gnumake platforms
Jeremy Harris [Tue, 10 Mar 2020 22:53:31 +0000 (22:53 +0000)]
Testsuite: fix build on non-gnumake platforms

14 months agoTestsuite: fix build on non-gnumake platforms
Jeremy Harris [Tue, 10 Mar 2020 22:40:27 +0000 (22:40 +0000)]
Testsuite: fix build on non-gnumake platforms

Broken-by: effbc122d
14 months agoEarly-pipe: retry without pipelining on first-response failure
Jeremy Harris [Tue, 10 Mar 2020 17:06:26 +0000 (17:06 +0000)]
Early-pipe: retry without pipelining on first-response failure

14 months agoDefault notifier socket name to spooldir-dependent path even for abstract names
Jeremy Harris [Sun, 8 Mar 2020 22:24:37 +0000 (22:24 +0000)]
Default notifier socket name to spooldir-dependent path even for abstract names

14 months agoClose notifier socket before re-exec of daemon. Bug 2539
Jeremy Harris [Sun, 8 Mar 2020 20:26:19 +0000 (20:26 +0000)]
Close notifier socket before re-exec of daemon.  Bug 2539

14 months agotidying
Jeremy Harris [Sun, 1 Mar 2020 16:36:19 +0000 (16:36 +0000)]
tidying

14 months agoFix parsing of cmdline -os & -pr options. Bug 2538
Heiko Schlichting [Sun, 8 Mar 2020 19:28:37 +0000 (19:28 +0000)]
Fix parsing of cmdline -os & -pr options.  Bug 2538

Incorrect attibution in 305e4faec2 commit

        Found & fixed by Heiko; coding massaged by jgh
Broken-by: 777cc7485c
14 months agoTestsuite: better restriction of parallel 2-stage-queue-runners
Jeremy Harris [Sun, 8 Mar 2020 18:37:14 +0000 (18:37 +0000)]
Testsuite: better restriction of parallel 2-stage-queue-runners

14 months ago Fix parsing of cmdline -os & -pr options. Bug 2538
Heiko Schlittermann (HS12-RIPE) [Sun, 8 Mar 2020 16:00:28 +0000 (16:00 +0000)]
Fix parsing of cmdline -os & -pr options.  Bug 2538

    Found & fixed by Heiko; coding massaged by jgh
Broken-by: 777cc7485c
14 months agoTestsuite: testcases for bug 2538
Jeremy Harris [Sun, 8 Mar 2020 15:20:10 +0000 (15:20 +0000)]
Testsuite: testcases for bug 2538

14 months agoTaint: track in ${utf8clean:} operator
Jeremy Harris [Thu, 5 Mar 2020 16:20:26 +0000 (16:20 +0000)]
Taint: track in ${utf8clean:} operator

14 months agoDocs: tidying
Jeremy Harris [Wed, 19 Feb 2020 13:19:58 +0000 (13:19 +0000)]
Docs: tidying

14 months agoDocs: typo in example config file. Bug 2528
David Restall [Sun, 1 Mar 2020 22:10:49 +0000 (22:10 +0000)]
Docs: typo in example config file.  Bug 2528

14 months agoRevert "GnuTLS: remove GNUTLS_E_AGAIN handling"
Heiko Schlittermann (HS12-RIPE) [Tue, 3 Mar 2020 07:06:22 +0000 (08:06 +0100)]
Revert "GnuTLS: remove GNUTLS_E_AGAIN handling"

This reverts commit 0b049796b89a59fc322119b54199d92c404ef687.

Thanks to Andreas Metzler for pointing me to:
https://gitlab.com/gnutls/gnutls/issues/644#note_123363338

14 months agoGnuTLS: Do not care about corked data when uncorking
Heiko Schlittermann (HS12-RIPE) [Mon, 2 Mar 2020 21:56:32 +0000 (22:56 +0100)]
GnuTLS: Do not care about corked data when uncorking

14 months agoGnuTLS: remove GNUTLS_E_AGAIN handling
Heiko Schlittermann (HS12-RIPE) [Mon, 2 Mar 2020 21:44:13 +0000 (22:44 +0100)]
GnuTLS: remove GNUTLS_E_AGAIN handling

The AGAIN shouldn't happen, as we are using blocking sockets

14 months agoFix $mime_part_count for non-mime message on multi-message connection. Bug 2537
Jeremy Harris [Sun, 1 Mar 2020 14:05:43 +0000 (14:05 +0000)]
Fix $mime_part_count for non-mime message on multi-message connection.  Bug 2537

14 months agoTestsuite: ignore differentce in libgsasl version
Jeremy Harris [Sat, 29 Feb 2020 18:18:46 +0000 (18:18 +0000)]
Testsuite: ignore differentce in libgsasl version

14 months agoAdd variables for wildcard portion of local-part affix. Bug 281
Jeremy Harris [Sat, 29 Feb 2020 16:30:35 +0000 (16:30 +0000)]
Add variables for wildcard portion of local-part affix.  Bug 281

14 months agoTestsuite: Move 2040 to 1101 (hanging pipelining connections)
Heiko Schlittermann (HS12-RIPE) [Wed, 26 Feb 2020 22:44:31 +0000 (23:44 +0100)]
Testsuite: Move 2040 to 1101 (hanging pipelining connections)

While this was a bug using GnuTLS, the test is rather generic
and the expected behaviour does not depend on the TLS implementation.

14 months agoTestsuite: build a generic tls enabled client: client-anytls
Heiko Schlittermann (HS12-RIPE) [Wed, 26 Feb 2020 22:32:46 +0000 (23:32 +0100)]
Testsuite: build a generic tls enabled client: client-anytls

14 months agoFix ${tr } expansion item. Bug 2533
Jeremy Harris [Wed, 26 Feb 2020 10:54:56 +0000 (10:54 +0000)]
Fix ${tr } expansion item.  Bug 2533

Broken-by: acec9514b1
14 months agoFix timestamp outputs for TAI timezone. Bug 2530
Arne Wörner [Mon, 24 Feb 2020 17:07:22 +0000 (17:07 +0000)]
Fix timestamp outputs for TAI timezone.  Bug 2530

14 months agoGnuTLS: avoid hang in older library, in selfsigned-cert creation
Jeremy Harris [Sun, 23 Feb 2020 22:35:22 +0000 (22:35 +0000)]
GnuTLS: avoid hang in older library, in selfsigned-cert creation

14 months agoReplace "Try to fix Solaris build" with compatibility compiler flags
Jeremy Harris [Sun, 23 Feb 2020 17:36:52 +0000 (17:36 +0000)]
Replace "Try to fix Solaris build" with compatibility compiler flags

This reverts commit b11989b8d73c17ccb70e22ca7e8a13540ecca73d.

14 months agoTry to fix Solaris build
Jeremy Harris [Sun, 23 Feb 2020 17:08:42 +0000 (17:08 +0000)]
Try to fix Solaris build

14 months agoWhen counting queue, avoid building & sorting list of names
Jeremy Harris [Sat, 22 Feb 2020 18:49:30 +0000 (18:49 +0000)]
When counting queue, avoid building & sorting list of names

This is worth maybe 30% time of a 10^5-sized queue

14 months agoHandle non-response from daemon for $queue_size
Jeremy Harris [Sat, 22 Feb 2020 17:31:33 +0000 (17:31 +0000)]
Handle non-response from daemon for $queue_size

14 months agoUnix socket creds: FreeBSD needs level 0 not SOL_SOCKET
Jeremy Harris [Sat, 22 Feb 2020 17:11:05 +0000 (17:11 +0000)]
Unix socket creds: FreeBSD needs level 0 not SOL_SOCKET

14 months agoUnix socket struct naming: avoid "sun" due to conflict on Solaris
Jeremy Harris [Sat, 22 Feb 2020 15:54:27 +0000 (15:54 +0000)]
Unix socket struct naming: avoid "sun" due to conflict on Solaris

14 months agoAllow for platforms not support abstract naming for Unix sockets
Jeremy Harris [Thu, 20 Feb 2020 14:39:14 +0000 (14:39 +0000)]
Allow for platforms not support abstract naming for Unix sockets

14 months agoUnix socket creds sockopt for BSD-ish platforms
Jeremy Harris [Wed, 19 Feb 2020 17:00:23 +0000 (17:00 +0000)]
Unix socket creds sockopt for BSD-ish platforms

14 months agoUnix socket creds definitions for BSD-ish platforms
Jeremy Harris [Wed, 19 Feb 2020 13:54:59 +0000 (13:54 +0000)]
Unix socket creds definitions for BSD-ish platforms

14 months agoGnuTLS: tls_write(): wait after uncorking the session
Heiko Schlittermann (HS12-RIPE) [Tue, 18 Feb 2020 17:59:49 +0000 (18:59 +0100)]
GnuTLS: tls_write(): wait after uncorking the session

14 months agoGnuTLS: Tweak debug output
Heiko Schlittermann (HS12-RIPE) [Wed, 12 Feb 2020 22:39:32 +0000 (23:39 +0100)]
GnuTLS: Tweak debug output

14 months agoGnuTLS: Clarify the use of SSLKEYFILE
Heiko Schlittermann (HS12-RIPE) [Wed, 12 Feb 2020 22:41:03 +0000 (23:41 +0100)]
GnuTLS: Clarify the use of SSLKEYFILE

14 months agoAdd queue_size variable. Bug 1406
Jeremy Harris [Sat, 10 Jan 2015 21:39:44 +0000 (21:39 +0000)]
Add queue_size variable.  Bug 1406

14 months agoMove notifier socket to general availability
Jeremy Harris [Tue, 18 Feb 2020 16:47:56 +0000 (16:47 +0000)]
Move notifier socket to general availability

14 months agoDocs: clarify DKIM key generation
Jeremy Harris [Tue, 18 Feb 2020 16:26:51 +0000 (16:26 +0000)]
Docs: clarify DKIM key generation

14 months agoTestsuite: add test for hanging callout connections
Heiko Schlittermann (HS12-RIPE) [Fri, 14 Feb 2020 10:20:39 +0000 (11:20 +0100)]
Testsuite: add test for hanging callout connections

Fixed in bd95ffc2ba87fbd3c752df17bc8fd9c01586d45a

14 months ago Overlapped twophase-queue-run and delivery. Experimental.
Jeremy Harris [Tue, 18 Feb 2020 11:30:57 +0000 (11:30 +0000)]
Overlapped twophase-queue-run and delivery.  Experimental.

14 months agoFix continued-connection SIZE parameter on MAIL commmand. Bug 2525
Jeremy Harris [Sun, 16 Feb 2020 21:03:46 +0000 (21:03 +0000)]
Fix continued-connection SIZE parameter on MAIL commmand.  Bug 2525

15 months agotidying
Jeremy Harris [Sat, 15 Feb 2020 20:56:14 +0000 (20:56 +0000)]
tidying

15 months agoDocs: ETRN default command
Jeremy Harris [Fri, 14 Feb 2020 13:50:14 +0000 (13:50 +0000)]
Docs: ETRN default command

15 months agoGnuTLS: fix hanging callout connections
Jeremy Harris [Thu, 13 Feb 2020 16:45:38 +0000 (16:45 +0000)]
GnuTLS: fix hanging callout connections

Broken-by: 925ac8e4f1
15 months agoAuths: fix cyrus-sasl driver for gssapi use. Bug 2524
Jeremy Harris [Thu, 13 Feb 2020 13:43:45 +0000 (13:43 +0000)]
Auths: fix cyrus-sasl driver for gssapi use.  Bug 2524

Broken-by: c0fb53b74e
15 months agoGnuTLS: tweak debug output
Jeremy Harris [Wed, 12 Feb 2020 14:45:05 +0000 (14:45 +0000)]
GnuTLS: tweak debug output

15 months agotidying
Jeremy Harris [Wed, 12 Feb 2020 12:17:34 +0000 (12:17 +0000)]
tidying

15 months agoACL: Fix parsing of control=queue_only
Jeremy Harris [Tue, 4 Feb 2020 14:32:17 +0000 (14:32 +0000)]
ACL: Fix parsing of control=queue_only

Broken-by: 9438970c97
15 months agoDocs: tweak local_scan chapter
Jeremy Harris [Tue, 4 Feb 2020 11:27:12 +0000 (11:27 +0000)]
Docs: tweak local_scan chapter

15 months agoIncompatibility warning
Jeremy Harris [Mon, 3 Feb 2020 18:12:36 +0000 (18:12 +0000)]
Incompatibility warning