exim.git
8 years agoMerge from master into 4.next
Heiko Schlittermann (HS12-RIPE) [Fri, 25 Nov 2016 10:23:26 +0000 (11:23 +0100)]
Merge from master into 4.next

Done with git merge --squash -x theirs master

8 years agoInit the resolver even in -be mode.
Heiko Schlittermann (HS12-RIPE) [Thu, 24 Mar 2016 15:01:15 +0000 (16:01 +0100)]
Init the resolver even in -be mode.

This gives us consistent behaviour if we use the resolver in -be and in
-bh, and probably other modes. (Perl uses the resolver library linked
into Exim and Perl's Socket6::getaddrinfo() returned different results
in -be and -bh mode.)

8 years agoDoc: Mark perl_taintmode as .new….wen
Heiko Schlittermann (HS12-RIPE) [Sat, 12 Mar 2016 11:23:50 +0000 (12:23 +0100)]
Doc: Mark perl_taintmode as .new….wen

8 years agonicer retry message
Jeremy Harris [Wed, 9 Mar 2016 14:03:58 +0000 (14:03 +0000)]
nicer retry message

8 years agoTLS: Fix ECDH use under LibreSSL. Bug 1806
Renaud Allard [Mon, 7 Mar 2016 19:04:34 +0000 (19:04 +0000)]
TLS: Fix ECDH use under LibreSSL.  Bug 1806

8 years agoExpansions: add operators base32, base32d
Jeremy Harris [Mon, 15 Feb 2016 15:42:21 +0000 (15:42 +0000)]
Expansions: add operators base32, base32d

8 years agoExpansions: shortcut hmac expansion during syntax-check phase
Jeremy Harris [Sun, 14 Feb 2016 18:10:20 +0000 (18:10 +0000)]
Expansions: shortcut hmac expansion during syntax-check phase

8 years agoDKIM: support oversigning. Bugs 1309, 1310
Jeremy Harris [Sun, 7 Feb 2016 21:14:37 +0000 (21:14 +0000)]
DKIM: support oversigning.  Bugs 1309, 1310

8 years agoAvoid RE compile unneeded unless LOOKUP_MODULE_DIR defined
Jeremy Harris [Sun, 7 Feb 2016 12:10:14 +0000 (12:10 +0000)]
Avoid RE compile unneeded unless LOOKUP_MODULE_DIR defined

8 years agoPass on SIZE to cutthrough connection
Jeremy Harris [Tue, 2 Feb 2016 21:49:02 +0000 (21:49 +0000)]
Pass on SIZE to cutthrough connection

8 years agoTestsuite: test perl_taintmode main option
Heiko Schlittermann (HS12) [Mon, 1 Feb 2016 12:57:33 +0000 (13:57 +0100)]
Testsuite: test perl_taintmode main option

8 years agoAdd perl_taintmode option
Heiko Schlittermann (HS12-RIPE) [Mon, 1 Feb 2016 12:13:27 +0000 (13:13 +0100)]
Add perl_taintmode option

8 years agoDocs: note DKIM signing options in smtp transport chapter
Jeremy Harris [Tue, 2 Feb 2016 12:44:41 +0000 (12:44 +0000)]
Docs: note DKIM signing options in smtp transport chapter

8 years agoMerge branch 'master' into 4.next
Jeremy Harris [Tue, 2 Feb 2016 11:46:50 +0000 (11:46 +0000)]
Merge branch 'master' into 4.next

8 years agolose extraneous file
Jeremy Harris [Tue, 2 Feb 2016 11:05:37 +0000 (11:05 +0000)]
lose extraneous file

8 years agoMerge commit 'f4d091fbe1f4' into 4.next
Jeremy Harris [Tue, 2 Feb 2016 10:57:17 +0000 (10:57 +0000)]
Merge commit 'f4d091fbe1f4' into 4.next

8 years agoDKIM: replace SHA and RSA routines from gnutls, under earlier library
Jeremy Harris [Mon, 1 Feb 2016 18:18:56 +0000 (18:18 +0000)]
DKIM: replace SHA and RSA routines from gnutls, under earlier library
versions, using libgcrypt and libtasn1 directly.  Bug 1772

8 years agoKeep options ordered alphabetical
Heiko Schlittermann (HS12-RIPE) [Sun, 31 Jan 2016 18:21:47 +0000 (19:21 +0100)]
Keep options ordered alphabetical

8 years agoGEF 20160130 Tiny corrections to Readme.pod
Graeme Fowler [Sat, 30 Jan 2016 17:12:24 +0000 (17:12 +0000)]
GEF 20160130 Tiny corrections to Readme.pod

8 years agoGEF 20160130 Changed date in header in test/README
Graeme Fowler [Sat, 30 Jan 2016 12:29:58 +0000 (12:29 +0000)]
GEF 20160130 Changed date in header in test/README

8 years agoFix typo
Heiko Schlittermann (HS12-RIPE) [Thu, 28 Jan 2016 21:43:28 +0000 (22:43 +0100)]
Fix typo

8 years agoDocs: clarify command string content in ${readsocket }
Jeremy Harris [Thu, 28 Jan 2016 14:52:19 +0000 (14:52 +0000)]
Docs: clarify command string content in ${readsocket }

8 years agoFix typo on ChangeLog
Heiko Schlittermann (HS12-RIPE) [Mon, 25 Jan 2016 11:52:07 +0000 (12:52 +0100)]
Fix typo on ChangeLog

8 years agoDocs: clarify use of $dkim_selector variable
Jeremy Harris [Fri, 22 Jan 2016 13:20:01 +0000 (13:20 +0000)]
Docs: clarify use of $dkim_selector variable

8 years agoPDKIM: Fix use of private-keys having trailing '=' in the base-64. Bug 1781
Jeremy Harris [Fri, 22 Jan 2016 13:17:34 +0000 (13:17 +0000)]
PDKIM: Fix use of private-keys having trailing '=' in the base-64.  Bug 1781

8 years agoCutthrough: Fix bug with dot-only line
Jeremy Harris [Thu, 21 Jan 2016 15:37:08 +0000 (15:37 +0000)]
Cutthrough: Fix bug with dot-only line

8 years agoTestuite: tidying exim-4_87_RC3
Jeremy Harris [Mon, 18 Jan 2016 16:54:45 +0000 (16:54 +0000)]
Testuite: tidying

8 years agoCopyright dates 2014, 2015
Jeremy Harris [Mon, 18 Jan 2016 15:11:44 +0000 (15:11 +0000)]
Copyright dates 2014, 2015

via:  vi $(git whatchanged --since=2014-12-31 --until=2016-01-01 | grep '^:100' | sed 's/^[^M]*M//' | grep -v 000000 | sort -u | fgrep -v test/)
(etc)

8 years agoChange notes
Jeremy Harris [Mon, 18 Jan 2016 14:34:07 +0000 (14:34 +0000)]
Change notes

8 years agoTestsuite: bounce_return_linesize_limit. Bug 1760
Jeremy Harris [Sun, 17 Jan 2016 23:36:11 +0000 (23:36 +0000)]
Testsuite: bounce_return_linesize_limit.  Bug 1760

8 years agoTidying
Jeremy Harris [Sun, 17 Jan 2016 22:45:55 +0000 (22:45 +0000)]
Tidying

8 years agoTestsuite: changes for VFRY update, 4f6ae5c314e5
Jeremy Harris [Sun, 17 Jan 2016 22:44:46 +0000 (22:44 +0000)]
Testsuite: changes for VFRY update, 4f6ae5c314e5

8 years agoRestrict line lengths in bounces. Bug 1760
Jeremy Harris [Sun, 17 Jan 2016 21:14:31 +0000 (21:14 +0000)]
Restrict line lengths in bounces.  Bug 1760

8 years agoVRFY: Permit an ACL to override the default 252 response, to support
Jeremy Harris [Sat, 16 Jan 2016 22:17:33 +0000 (22:17 +0000)]
VRFY: Permit an ACL to override the default 252 response, to support
verify-by-ACL instead of the more usual verify-by-routers.  Bug 1769

8 years agoTidying
Jeremy Harris [Sat, 16 Jan 2016 15:06:28 +0000 (15:06 +0000)]
Tidying

8 years agoTidying
Jeremy Harris [Sat, 16 Jan 2016 19:54:57 +0000 (19:54 +0000)]
Tidying

8 years agoExpansions: avoid releasing memory used for $value in ${run }
Jeremy Harris [Sat, 16 Jan 2016 19:14:58 +0000 (19:14 +0000)]
Expansions: avoid releasing memory used for $value in ${run }

8 years agoTestsuite: ignore optional OCSP output from -bP testcase
Jeremy Harris [Sat, 16 Jan 2016 18:04:55 +0000 (18:04 +0000)]
Testsuite: ignore optional OCSP output from -bP testcase

8 years agoExpansions: more detail in error messages
Jeremy Harris [Thu, 14 Jan 2016 22:08:56 +0000 (22:08 +0000)]
Expansions: more detail in error messages

8 years agoOpenSSL: Default the SINGLE_DH_USE option flag set
Jeremy Harris [Thu, 14 Jan 2016 21:13:01 +0000 (21:13 +0000)]
OpenSSL: Default the SINGLE_DH_USE option flag set

8 years agoDocs: add note on HELO rejections, and add requirment on good HELO in
Jeremy Harris [Tue, 12 Jan 2016 17:52:30 +0000 (17:52 +0000)]
Docs: add note on HELO rejections, and add requirment on good HELO in
the example configuration

8 years agoExpansions: Fix crash in crypteq: On OpenBSD a bad second-arg
Jeremy Harris [Mon, 11 Jan 2016 15:50:22 +0000 (15:50 +0000)]
Expansions: Fix crash in crypteq: On OpenBSD a bad second-arg
results in an error-return from crypt().  Errorcheck that return.

8 years agoTestsuite: split out conf for -bP test and lose dependency on Proxy/Socks
Jeremy Harris [Mon, 11 Jan 2016 14:25:02 +0000 (14:25 +0000)]
Testsuite: split out conf for -bP test and lose dependency on Proxy/Socks

8 years agoDNS: fix crash in megahomed test case, on OpenBSD. Sanity-check
Jeremy Harris [Mon, 11 Jan 2016 14:09:41 +0000 (14:09 +0000)]
DNS: fix crash in megahomed test case, on OpenBSD.  Sanity-check
pointers when stepping through resolver returns, as the return
may have been truncated if it seemed oversize.  Bug 1773

8 years agoSOCKS: fix build on OpenBSD
Jeremy Harris [Mon, 11 Jan 2016 13:49:59 +0000 (13:49 +0000)]
SOCKS: fix build on OpenBSD

8 years agoDANE: fix build with LibreSSL
Jeremy Harris [Mon, 11 Jan 2016 13:52:14 +0000 (13:52 +0000)]
DANE: fix build with LibreSSL

8 years agoDKIM: reinstate embedded Polarssl SHA routines under older GnuTLS. Bug 1772
Jeremy Harris [Thu, 7 Jan 2016 20:47:13 +0000 (20:47 +0000)]
DKIM: reinstate embedded Polarssl SHA routines under older GnuTLS.  Bug 1772

We need an incremental build of the hash, and GnuTLS did not expose the
required interfaces until version 2.10.0

8 years agoTestsuite: allow time for retry-time expiry
Jeremy Harris [Wed, 6 Jan 2016 21:43:51 +0000 (21:43 +0000)]
Testsuite: allow time for retry-time expiry

8 years agoTestsuite: ignore dane for -bP output
Jeremy Harris [Wed, 6 Jan 2016 21:33:19 +0000 (21:33 +0000)]
Testsuite: ignore dane for -bP output

8 years agotypo
Jeremy Harris [Wed, 6 Jan 2016 20:31:44 +0000 (20:31 +0000)]
typo

8 years agoDKIM: Remove embedded copy of PolarSSL and use OpenSSL/GnuTLS library.
Jeremy Harris [Wed, 6 Jan 2016 17:50:06 +0000 (17:50 +0000)]
DKIM: Remove embedded copy of PolarSSL and use OpenSSL/GnuTLS library.
      Bug 1192

8 years agofix no-ssl build
Jeremy Harris [Wed, 6 Jan 2016 12:25:16 +0000 (12:25 +0000)]
fix no-ssl build

8 years agoDKIM: fix base64 decode to ignore whitespace; needed for private-key input
Jeremy Harris [Tue, 5 Jan 2016 14:54:02 +0000 (14:54 +0000)]
DKIM: fix base64 decode to ignore whitespace; needed for private-key input
from file.  Use this for general-purpose b64decode also.
Testsuite: DKIM signing testcase

8 years agoSupport certificates in base64 expansion operator. Bug 1762
Jeremy Harris [Wed, 30 Dec 2015 20:39:45 +0000 (20:39 +0000)]
Support certificates in base64 expansion operator.  Bug 1762

8 years agoNew expansion operator base64d, and base64 as synonym for str2b64. Bug 1746
Jeremy Harris [Wed, 30 Dec 2015 18:12:19 +0000 (18:12 +0000)]
New expansion operator base64d, and base64 as synonym for str2b64.  Bug 1746

8 years agoConsolidate base64 encode/decode routines.
Jeremy Harris [Wed, 30 Dec 2015 18:23:33 +0000 (18:23 +0000)]
Consolidate base64 encode/decode routines.

The functions previously in the auth directory, which allocate
exim-standard strings for output, are the main pair.  The file-IO
variant decode routine use by mime-handling is brought into
the same new source file.  The PDKIM functions are dropped.

8 years agoupdate to pre-4.87 master
Jeremy Harris [Tue, 29 Dec 2015 19:49:54 +0000 (19:49 +0000)]
update to pre-4.87 master

8 years agotidying
Jeremy Harris [Mon, 28 Dec 2015 14:04:58 +0000 (14:04 +0000)]
tidying

8 years agoDocs: more certs info
Jeremy Harris [Mon, 28 Dec 2015 14:01:30 +0000 (14:01 +0000)]
Docs: more certs info

8 years agoTestsuite: testcase for -bP
Jeremy Harris [Sun, 27 Dec 2015 14:25:39 +0000 (14:25 +0000)]
Testsuite: testcase for -bP

8 years agoProvide setenv/unsetenv for environments lacking them. Bug 1578
Jeremy Harris [Sun, 27 Dec 2015 13:18:42 +0000 (13:18 +0000)]
Provide setenv/unsetenv for environments lacking them.  Bug 1578
Currently this covers HP-UX and older Solaris.

8 years agoPretty print for -bP config
Heiko Schlittermann (HS12-RIPE) [Sat, 26 Dec 2015 13:16:43 +0000 (14:16 +0100)]
Pretty print for -bP config

8 years agotidying
Jeremy Harris [Sun, 20 Dec 2015 18:28:12 +0000 (18:28 +0000)]
tidying

8 years agoFix build on OpenBSD. Bug 1761
Jeremy Harris [Mon, 21 Dec 2015 16:49:35 +0000 (16:49 +0000)]
Fix build on OpenBSD.  Bug 1761

8 years agodnslists: testsuite output
Jeremy Harris [Mon, 21 Dec 2015 11:36:44 +0000 (11:36 +0000)]
dnslists: testsuite output

8 years agodnslists: permit use with explicit key(s) in nonsmtp ACLs. Bug 1748
Jeremy Harris [Sun, 20 Dec 2015 20:01:52 +0000 (20:01 +0000)]
dnslists: permit use with explicit key(s) in nonsmtp ACLs.  Bug 1748

8 years agoMalware: Fix potential spin-on-read-error with kavdaemon
Richard Clayton [Sun, 20 Dec 2015 19:12:21 +0000 (19:12 +0000)]
Malware: Fix potential spin-on-read-error with kavdaemon

8 years agoTestsuite: OpenSSL version variances
Jeremy Harris [Sun, 20 Dec 2015 18:08:11 +0000 (18:08 +0000)]
Testsuite: OpenSSL version variances

8 years agoCompiler quietening
Richard Clayton [Sun, 20 Dec 2015 18:07:18 +0000 (18:07 +0000)]
Compiler quietening

8 years agoDKIM: fix quoted-printable decode
Richard Clayton [Sun, 20 Dec 2015 17:54:18 +0000 (17:54 +0000)]
DKIM: fix quoted-printable decode

8 years agobuild dependencies
Jeremy Harris [Sun, 20 Dec 2015 13:37:45 +0000 (13:37 +0000)]
build dependencies

8 years agotidying
Jeremy Harris [Wed, 16 Dec 2015 12:05:41 +0000 (12:05 +0000)]
tidying

8 years agoDNSSEC: un-ifdef code uncompilable under DISABLE_DNSSSEC
Michael Haardt [Sun, 20 Dec 2015 12:52:21 +0000 (12:52 +0000)]
DNSSEC: un-ifdef code uncompilable under DISABLE_DNSSSEC

8 years agoOS: define sockaddr_storage for HP-UX
Michael Haardt [Sun, 20 Dec 2015 12:50:31 +0000 (12:50 +0000)]
OS: define sockaddr_storage for HP-UX

8 years agoRedis: move from Experimental to mainline exim-4_87_RC2
Jeremy Harris [Sun, 13 Dec 2015 17:12:43 +0000 (17:12 +0000)]
Redis: move from Experimental to mainline

8 years agoRedis: fix server-specified-in-lookup
Jasen Betts [Fri, 18 Dec 2015 13:42:27 +0000 (13:42 +0000)]
Redis: fix server-specified-in-lookup

Affects Bug 1745.  Broken-by: 2d8d625b2b96

8 years agoFix hosts_connection_nolog ensuring that sender_host_cache is not
Jeremy Harris [Thu, 17 Dec 2015 23:22:09 +0000 (23:22 +0000)]
Fix hosts_connection_nolog ensuring that sender_host_cache is not
incorrectly filled in by the daemon, where the sender_host will
be varying.

8 years agoDANE: do not override a cert verify failure, in callback. Also fix some test mistakes
Jeremy Harris [Wed, 16 Dec 2015 21:50:03 +0000 (21:50 +0000)]
DANE: do not override a cert verify failure, in callback.  Also fix some test mistakes

8 years agoDANE: When PKIX-EE matches don't clobber depth by trying PKIX-TA
Viktor Dukhovni [Tue, 15 Dec 2015 17:35:26 +0000 (17:35 +0000)]
DANE: When PKIX-EE matches don't clobber depth by trying PKIX-TA

8 years agoDANE: current src version
Viktor Dukhovni [Wed, 16 Dec 2015 21:47:49 +0000 (21:47 +0000)]
DANE: current src version

8 years agoDANE: fix testcase 2/0/1 TLSA record
Jeremy Harris [Tue, 15 Dec 2015 18:52:14 +0000 (18:52 +0000)]
DANE: fix testcase 2/0/1 TLSA record

8 years agoTestsuite: GnuTLS version changes
Jeremy Harris [Wed, 16 Dec 2015 12:04:41 +0000 (12:04 +0000)]
Testsuite: GnuTLS version changes

8 years agoTestsuite: OpenSSL version changes
Jeremy Harris [Tue, 15 Dec 2015 21:28:45 +0000 (21:28 +0000)]
Testsuite: OpenSSL version changes

8 years agoEvents: testsuite updates
Jeremy Harris [Mon, 14 Dec 2015 19:55:45 +0000 (19:55 +0000)]
Events: testsuite updates

8 years agoEvents: move from Experimental to mainline
Jeremy Harris [Mon, 14 Dec 2015 17:28:52 +0000 (17:28 +0000)]
Events: move from Experimental to mainline

8 years agotidying
Jeremy Harris [Sun, 13 Dec 2015 13:38:02 +0000 (13:38 +0000)]
tidying

8 years agoTestsuite: add testcase for Redis. Bug 1755
Jeremy Harris [Sat, 12 Dec 2015 00:31:01 +0000 (00:31 +0000)]
Testsuite: add testcase for Redis.  Bug 1755

8 years agoRedis: fix lookups to handle (quoted) spaces embedded in parts
Jeremy Harris [Fri, 11 Dec 2015 17:42:55 +0000 (17:42 +0000)]
Redis: fix lookups to handle (quoted) spaces embedded in parts
of the query string, and make ${quote_redis:} do that quoting.  Bug 1745

8 years agoI18N: Move EAI support from Experimental to mainline exim-4_87_RC1
Jeremy Harris [Wed, 9 Dec 2015 17:29:26 +0000 (17:29 +0000)]
I18N: Move EAI support from Experimental to mainline

8 years agoTestsuite: divert server log away from case 0611 to help with runtime ordering changes
Jeremy Harris [Wed, 9 Dec 2015 13:28:43 +0000 (13:28 +0000)]
Testsuite: divert server log away from case 0611 to help with runtime ordering changes

8 years agoPROXY: fix mismerge
Jeremy Harris [Tue, 8 Dec 2015 22:40:58 +0000 (22:40 +0000)]
PROXY: fix mismerge

8 years agoTestsuite: fix to ignore SUPPORT_PROXY debug output difference
Jeremy Harris [Tue, 8 Dec 2015 22:39:07 +0000 (22:39 +0000)]
Testsuite: fix to ignore SUPPORT_PROXY debug output difference

8 years agoSOCKS: Add log_selector support.
Jeremy Harris [Tue, 8 Dec 2015 22:21:58 +0000 (22:21 +0000)]
SOCKS: Add log_selector support.
Also make the proxy_* variables meaningful for events associated with proxied transports.

8 years agoPROXY: Move Proxy Protocol support from Experimental to mainline.
Jeremy Harris [Sat, 5 Dec 2015 20:21:51 +0000 (20:21 +0000)]
PROXY: Move Proxy Protocol support from Experimental to mainline.
No testsuite coverage yet.

8 years agoSOCKS: downgrade from DISABLE_SOCKS to SUPPORT_SOCKS in Local/Makefile
Jeremy Harris [Tue, 8 Dec 2015 16:56:15 +0000 (16:56 +0000)]
SOCKS: downgrade from DISABLE_SOCKS to SUPPORT_SOCKS in Local/Makefile

8 years agoSOCKS: move from Experimental to mainline
Jeremy Harris [Mon, 7 Dec 2015 15:22:38 +0000 (15:22 +0000)]
SOCKS: move from Experimental to mainline

8 years agoDocs: more index entries
Jeremy Harris [Sun, 6 Dec 2015 19:10:15 +0000 (19:10 +0000)]
Docs: more index entries

8 years agoSPAMD/malware: Log service identity with errors. Bug 1740
Jeremy Harris [Fri, 4 Dec 2015 17:58:24 +0000 (17:58 +0000)]
SPAMD/malware: Log service identity with errors.  Bug 1740

8 years agoDKIM: replace pdkim module debugging trace facility with Exim standard
Jeremy Harris [Wed, 2 Dec 2015 19:56:38 +0000 (19:56 +0000)]
DKIM: replace pdkim module debugging trace facility with Exim standard

8 years agoTestsuite: Use the configure results in Makefile
Heiko Schlittermann (HS12-RIPE) [Wed, 2 Dec 2015 20:56:35 +0000 (21:56 +0100)]
Testsuite: Use the configure results in Makefile