Jeremy Harris [Sun, 7 Aug 2016 22:19:02 +0000 (23:19 +0100)]
Revert "DKIM: reduce memory usage"
This reverts commit
dea4897244b409bf91dc60a7e5e4b3d06f123dd6.
It appears to induce spurious behaviour, seen in the testsuite. Possibly
the sha_hash update calls think the memory they are passed will still
be around later (eg. at sha_finish time)? A pity, since currently
we are allocating for the entire message body - which could easily
be MB or (future) GB.
Jeremy Harris [Sun, 7 Aug 2016 14:14:59 +0000 (15:14 +0100)]
CHUNKING: fix transmit with long headers
When the buffer used for SMTP commands and message headers filled to flush
point, protocol sequencing was wrong.
Jeremy Harris [Sat, 6 Aug 2016 22:01:13 +0000 (23:01 +0100)]
DKIM: reduce memory usage
Jeremy Harris [Sat, 6 Aug 2016 17:28:18 +0000 (18:28 +0100)]
Routing: in a dnslookup, fix fail_defer_domains to defer on missing MX record. Bug 1867
Jeremy Harris [Sat, 6 Aug 2016 14:51:01 +0000 (15:51 +0100)]
Fix DISABLE_DKIM build & test. Fix build on systems lacking MAX in standard includes.
Broken-by: 44bc8f0c2f35
Jeremy Harris [Sat, 6 Aug 2016 13:04:45 +0000 (14:04 +0100)]
Merge branch 'CHUNKING'
Jeremy Harris [Thu, 4 Aug 2016 23:26:23 +0000 (00:26 +0100)]
tidying
Jeremy Harris [Thu, 4 Aug 2016 19:31:20 +0000 (20:31 +0100)]
Docs: add warning on non-ASCII results from SpamAssassin. Bug 1863
Jeremy Harris [Thu, 4 Aug 2016 14:26:05 +0000 (15:26 +0100)]
Merge branch 'fakereject'
Jeremy Harris [Tue, 19 Jul 2016 22:53:35 +0000 (23:53 +0100)]
Logging: visibility of fakereject
Jeremy Harris [Thu, 4 Aug 2016 12:26:27 +0000 (13:26 +0100)]
DKIM: log error on overlong input line
Jeremy Harris [Wed, 20 Jul 2016 11:40:28 +0000 (12:40 +0100)]
Named queues: Add queue name to "queued by ACL" log line
Jeremy Harris [Wed, 3 Aug 2016 10:32:32 +0000 (11:32 +0100)]
DANE: treat a TLSA response having only non-TLSA records the same as a no-match response
Jeremy Harris [Tue, 2 Aug 2016 11:10:41 +0000 (12:10 +0100)]
pass advertised facility to continued-transport process
Jeremy Harris [Tue, 2 Aug 2016 09:53:06 +0000 (10:53 +0100)]
transmit logging
Jeremy Harris [Mon, 1 Aug 2016 23:24:00 +0000 (00:24 +0100)]
testcases for PRDR
Jeremy Harris [Mon, 1 Aug 2016 21:39:20 +0000 (22:39 +0100)]
testcases for TLS
Jeremy Harris [Mon, 1 Aug 2016 20:56:00 +0000 (21:56 +0100)]
receive docs
Jeremy Harris [Mon, 1 Aug 2016 17:38:22 +0000 (18:38 +0100)]
receive with DKIM
Jeremy Harris [Mon, 1 Aug 2016 14:01:15 +0000 (15:01 +0100)]
transmit with DKIM
Jeremy Harris [Sat, 30 Jul 2016 15:29:22 +0000 (16:29 +0100)]
basic & pipelined transmit testcases
Jeremy Harris [Thu, 28 Jul 2016 21:41:17 +0000 (22:41 +0100)]
Callback into smtp transport for BDAT commands
Jeremy Harris [Tue, 26 Jul 2016 18:44:08 +0000 (19:44 +0100)]
tidying
Jeremy Harris [Sun, 24 Jul 2016 13:18:57 +0000 (14:18 +0100)]
feed need for BDAT down to write_chunk()
Jeremy Harris [Thu, 21 Jul 2016 13:38:48 +0000 (14:38 +0100)]
tidying: dkim output buffer
Jeremy Harris [Wed, 20 Jul 2016 16:56:40 +0000 (17:56 +0100)]
tidying: dkim output function args
Jeremy Harris [Wed, 20 Jul 2016 15:49:24 +0000 (16:49 +0100)]
transmit peer capability recognition
Jeremy Harris [Wed, 13 Jul 2016 20:28:18 +0000 (21:28 +0100)]
receive flow processing
Jeremy Harris [Sun, 31 Jul 2016 14:46:51 +0000 (15:46 +0100)]
Fix $body_linecount for empty lines
Jeremy Harris [Sun, 31 Jul 2016 14:14:51 +0000 (15:14 +0100)]
Logging: Fix logging of errors under PIPELINING
Jeremy Harris [Sat, 30 Jul 2016 14:46:26 +0000 (15:46 +0100)]
Expansions: shortcut hmac expansion during syntax-check phase
Jeremy Harris [Mon, 15 Feb 2016 15:42:21 +0000 (15:42 +0000)]
Expansions: add operators base32, base32d
Jeremy Harris [Wed, 27 Jul 2016 16:14:05 +0000 (17:14 +0100)]
Docs: minor clarifications
Jeremy Harris [Wed, 27 Jul 2016 16:12:23 +0000 (17:12 +0100)]
Unbreak transport-filters & bounce-generation.
Broken-by: 6b46ecc6a8f5
Jeremy Harris [Tue, 26 Jul 2016 18:44:08 +0000 (19:44 +0100)]
tidying
Jeremy Harris [Mon, 25 Jul 2016 14:18:23 +0000 (15:18 +0100)]
Docs: add caution on spamd_address
Jeremy Harris [Mon, 25 Jul 2016 14:17:02 +0000 (15:17 +0100)]
debug: prettify expansion condition trace output
Jeremy Harris [Mon, 11 Jul 2016 22:36:45 +0000 (23:36 +0100)]
recive smtp command
Jeremy Harris [Mon, 11 Jul 2016 10:55:34 +0000 (11:55 +0100)]
feature advertise
Jeremy Harris [Sun, 24 Jul 2016 15:29:11 +0000 (16:29 +0100)]
tidying
mrgus [Thu, 14 Jul 2016 23:37:54 +0000 (00:37 +0100)]
DKIM: error verification on missing tags. Bug 1853
Jeremy Harris [Mon, 11 Jul 2016 11:02:12 +0000 (12:02 +0100)]
testsuite: abstract out common conf settings
Jeremy Harris [Sun, 10 Jul 2016 13:20:03 +0000 (14:20 +0100)]
Cutthrough: expand transport dkim_domain option when testing for dkim signing
Jeremy Harris [Fri, 8 Jul 2016 17:49:10 +0000 (18:49 +0100)]
Cutthrough: disable on >1 addr from routing, and on verify option success_on_redirect
Jeremy Harris [Thu, 7 Jul 2016 22:20:04 +0000 (23:20 +0100)]
Cutthrough: avoid use of callout result cache
The connection always needs to be made, and no result
need be cached after verify either.
Jeremy Harris [Thu, 7 Jul 2016 20:51:13 +0000 (21:51 +0100)]
Testsuite: cutthrough vs. callout cache
Jeremy Harris [Thu, 7 Jul 2016 19:48:53 +0000 (20:48 +0100)]
tidying
Heiko Schlittermann (HS12-RIPE) [Thu, 23 Jun 2016 07:07:33 +0000 (09:07 +0200)]
Docs: Fix Typo
Jeremy Harris [Fri, 17 Jun 2016 19:25:18 +0000 (20:25 +0100)]
tidying
Jeremy Harris [Sun, 12 Jun 2016 22:12:55 +0000 (23:12 +0100)]
Safety check in deliver_split_address()
Jeremy Harris [Sun, 12 Jun 2016 17:56:18 +0000 (18:56 +0100)]
Routing: fix $verify_mode to be usable in routers
Jeremy Harris [Sat, 4 Jun 2016 10:03:14 +0000 (11:03 +0100)]
Docs: fix typoes for dnssec_require_domains. Bug 1842
Jeremy Harris [Fri, 3 Jun 2016 16:43:38 +0000 (17:43 +0100)]
Tidying: coverity issues
Jeremy Harris [Thu, 26 May 2016 15:20:49 +0000 (16:20 +0100)]
doc tweaks
Heiko Schlittermann (HS12-RIPE) [Fri, 3 Jun 2016 15:32:55 +0000 (17:32 +0200)]
Fix compiler warning/error on set_process_info(sprintf())
Jeremy Harris [Fri, 3 Jun 2016 14:50:00 +0000 (15:50 +0100)]
Merge branch 'multiqueue_336': Named queues
Heiko Schlittermann (HS12-RIPE) [Wed, 20 Apr 2016 21:36:20 +0000 (23:36 +0200)]
Doc: fix minor typos, clarifications (extract)
Jeremy Harris [Fri, 3 Jun 2016 09:47:50 +0000 (10:47 +0100)]
Build: add flage & includes to dbmbuild compile
Missing since 4.00 - no clue why.
Jeremy Harris [Fri, 3 Jun 2016 09:17:30 +0000 (10:17 +0100)]
Docs fix
Jeremy Harris [Thu, 2 Jun 2016 21:59:54 +0000 (22:59 +0100)]
Expansions: add ${sha3:<string>} item
Jeremy Harris [Thu, 2 Jun 2016 20:56:29 +0000 (21:56 +0100)]
Add support for ${sha256:<string>}
Jeremy Harris [Thu, 2 Jun 2016 19:43:14 +0000 (20:43 +0100)]
Setup for >2 sha methods
Jeremy Harris [Thu, 2 Jun 2016 17:54:09 +0000 (18:54 +0100)]
Move native sha1 implementation from auths to toplevel, only used for non-TLS builds
In TLS builds, use the TLS-related crypt library
Jeremy Harris [Thu, 2 Jun 2016 15:18:54 +0000 (16:18 +0100)]
Promote the pdkim variant-implementation sha routines to toplevel
Jeremy Harris [Thu, 2 Jun 2016 14:16:59 +0000 (15:16 +0100)]
Enhance logging for unfound spoolfile
Jeremy Harris [Tue, 31 May 2016 17:28:17 +0000 (18:28 +0100)]
Disallow queue= modifier from DATA ACL
Jeremy Harris [Tue, 31 May 2016 13:49:55 +0000 (14:49 +0100)]
Support "-qGpostgresql -Mvl <id>" and a better exiwhat output
Jeremy Harris [Tue, 31 May 2016 09:47:28 +0000 (10:47 +0100)]
Renumber testcase, again
Jeremy Harris [Mon, 30 May 2016 21:20:33 +0000 (22:20 +0100)]
Avoid writing msglog files in -bh and -bhc modes. Bug 1804
Heiko Schlittermann (HS12-RIPE) [Fri, 27 May 2016 12:50:38 +0000 (14:50 +0200)]
exipick: autodetect the spool directory from exim -bP
Jeremy Harris [Wed, 25 May 2016 23:32:53 +0000 (00:32 +0100)]
Tidying. Bug 1836
Jeremy Harris [Wed, 25 May 2016 20:11:58 +0000 (21:11 +0100)]
Renumber testcase
Jeremy Harris [Wed, 25 May 2016 18:53:35 +0000 (19:53 +0100)]
Accept "exim -bp -qGname"
Jeremy Harris [Sun, 22 May 2016 21:32:43 +0000 (22:32 +0100)]
Fix crash in VRFY handling for an unqualified name. Bug 1836
Introduced-by: 4f6ae5c314e5
Jeremy Harris [Mon, 23 May 2016 16:21:29 +0000 (17:21 +0100)]
fix queue_name tracking across exec
Jeremy Harris [Sun, 22 May 2016 12:38:08 +0000 (13:38 +0100)]
Testsuite: fix for 0574
Jeremy Harris [Sat, 21 May 2016 20:14:05 +0000 (21:14 +0100)]
Debug: "kill" option on ACL control=debug. Bug 1831
Jeremy Harris [Sat, 21 May 2016 14:55:06 +0000 (15:55 +0100)]
Add glibc version to libraries report
Jeremy Harris [Sat, 21 May 2016 14:14:15 +0000 (15:14 +0100)]
Testsuite: GnuTLS server TLD startup errors testcase
Jeremy Harris [Tue, 17 May 2016 21:16:37 +0000 (22:16 +0100)]
Tidying: coverity issues
Jeremy Harris [Tue, 17 May 2016 20:42:35 +0000 (21:42 +0100)]
TLS: retire obsolete options gnutls_require_{kx,mac,proto)
Jeremy Harris [Tue, 17 May 2016 20:07:39 +0000 (21:07 +0100)]
Delivery: clarify error log line. Bug 1782
"retry time not reached for any host after a long failure period"
has generated so many queries it plainly is not clear.
Replace with
"all hosts for 'dom.ain' have been failing for a long time (and retry time not reached)".
Jeremy Harris [Mon, 16 May 2016 18:58:20 +0000 (19:58 +0100)]
Logging: dnssec status on accept & delivery lines
Jeremy Harris [Thu, 12 May 2016 20:57:34 +0000 (21:57 +0100)]
DANE: for hosts_try_dane (but not _require), on dnssec but no TLSA returned, fallback to plain TLS
Jeremy Harris [Tue, 10 May 2016 15:00:57 +0000 (16:00 +0100)]
shift queue name use up to top layer in spooldir hierachy
Jeremy Harris [Mon, 9 May 2016 18:05:49 +0000 (19:05 +0100)]
Collect spool-layout code to one file
Jeremy Harris [Sun, 8 May 2016 12:26:13 +0000 (13:26 +0100)]
New $queue_name variable
queue_run_max main option expanded, allowing per-queue values
Jeremy Harris [Sun, 8 May 2016 12:25:57 +0000 (13:25 +0100)]
periodic queue runner
Jeremy Harris [Sun, 8 May 2016 11:43:06 +0000 (12:43 +0100)]
testcase
Jeremy Harris [Sun, 8 May 2016 00:29:25 +0000 (01:29 +0100)]
transport_pass_socket
Jeremy Harris [Sun, 8 May 2016 00:24:47 +0000 (01:24 +0100)]
logging
Jeremy Harris [Sun, 8 May 2016 00:05:54 +0000 (01:05 +0100)]
testcase
Jeremy Harris [Sat, 7 May 2016 22:55:46 +0000 (23:55 +0100)]
ACL modifier
Jeremy Harris [Sat, 7 May 2016 22:11:18 +0000 (23:11 +0100)]
Command-line options
Jeremy Harris [Sat, 7 May 2016 20:27:52 +0000 (21:27 +0100)]
global queue_name
Jeremy Harris [Fri, 6 May 2016 12:07:18 +0000 (13:07 +0100)]
Avoid exposing passwords in log, on failing ldap lookup expansion. Bug 165
Jeremy Harris [Wed, 4 May 2016 15:09:52 +0000 (16:09 +0100)]
Avoid exposing passwords in log, on failing ldap lookup expansion. Bug 165
Jeremy Harris [Wed, 4 May 2016 15:32:30 +0000 (16:32 +0100)]
TLS: support older GnuTLS versions
Jeremy Harris [Wed, 4 May 2016 13:48:41 +0000 (14:48 +0100)]
TLS: when tls_certificates unset, generate a selfsigned cert
Jeremy Harris [Tue, 26 Apr 2016 23:34:11 +0000 (00:34 +0100)]
Delivery: quieten smtp transport conn reuse vs. delivery race. Bug 1810
The fix is in deliver.c only. The remainder is just tidying.