exim.git
9 years agoFix truncation of items in headers_remove lists, this time in routers. Bug 1533
Jeremy Harris [Thu, 29 Jan 2015 17:42:47 +0000 (17:42 +0000)]
Fix truncation of items in headers_remove lists, this time in routers.  Bug 1533

9 years agoAdd timeout option to spamd_address server specification. Bug 68
Jeremy Harris [Wed, 28 Jan 2015 21:19:14 +0000 (21:19 +0000)]
Add timeout option to spamd_address server specification.  Bug 68

9 years agoSupport hostnames and IPv6 addresses for spamd_address. Bug 1259
Jeremy Harris [Wed, 28 Jan 2015 00:16:56 +0000 (00:16 +0000)]
Support hostnames and IPv6 addresses for spamd_address.  Bug 1259

9 years agoMake useful socket functions more generally available
Jeremy Harris [Tue, 9 Dec 2014 10:42:38 +0000 (10:42 +0000)]
Make useful socket functions more generally available

9 years agoFix crash in ocsp_url extract
Jeremy Harris [Tue, 27 Jan 2015 20:30:45 +0000 (20:30 +0000)]
Fix crash in ocsp_url extract

9 years agoDo not panic-log each clamd connection fail. Bug 392
Jeremy Harris [Sun, 25 Jan 2015 18:48:06 +0000 (18:48 +0000)]
Do not panic-log each clamd connection fail.  Bug 392
The panic log line for all servers failed is retained.

9 years agoDo not panic-log each spamd connection fail. Bug 392
Jeremy Harris [Sun, 25 Jan 2015 18:36:10 +0000 (18:36 +0000)]
Do not panic-log each spamd connection fail.  Bug 392
The panic log line for all servers failed is retained.

9 years agoAdd time, weight and backup modifiers to spamd_address list elements. Bug 670
Roman [Tue, 20 Jan 2015 22:11:41 +0000 (22:11 +0000)]
Add time, weight and backup modifiers to spamd_address list elements.  Bug 670
Heavy refactoring by JH.
Also support mixed/multiple Unix/TCP server specifications.

9 years agoSupport Rspamd. Patch from Andrew Lewis, lightly editorialised
Andrew Lewis [Sat, 24 Jan 2015 23:42:59 +0000 (23:42 +0000)]
Support Rspamd.  Patch from Andrew Lewis, lightly editorialised
by JH.  Bug 1573

9 years agoTestsuite: remove old testcase for reverse_host_lookup/defer_ok
Jeremy Harris [Sat, 24 Jan 2015 20:01:07 +0000 (20:01 +0000)]
Testsuite: remove old testcase for reverse_host_lookup/defer_ok

9 years agoSupport /defer_ok on verify=reverse_host_lookup. Bug 344
Jeremy Harris [Sat, 24 Jan 2015 18:48:48 +0000 (18:48 +0000)]
Support /defer_ok on verify=reverse_host_lookup.  Bug 344

9 years agoDANE: if all TLSA records are unusable, retry verification non-dane.
Jeremy Harris [Mon, 19 Jan 2015 16:42:31 +0000 (16:42 +0000)]
DANE: if all TLSA records are unusable, retry verification non-dane.

9 years agoDeny cutthrough if the ountbound is LMTP. Bug 1576
Jeremy Harris [Tue, 20 Jan 2015 21:25:27 +0000 (21:25 +0000)]
Deny cutthrough if the ountbound is LMTP.  Bug 1576

9 years agoTestsuite: add testcase for <>-mismatch in To:/From: headers
Jeremy Harris [Tue, 20 Jan 2015 20:57:15 +0000 (20:57 +0000)]
Testsuite: add testcase for <>-mismatch in To:/From: headers

9 years agoMulti-recipient cutthrough delivery. Bug 1542
Jeremy Harris [Tue, 13 Jan 2015 11:19:32 +0000 (11:19 +0000)]
Multi-recipient cutthrough delivery. Bug 1542

Testing and fixes by: Heiko Schlittermann <hs@schlittermann.de>

9 years agoTestsuite: Experimental_Certnames absorbed into mainline
Jeremy Harris [Tue, 20 Jan 2015 12:11:15 +0000 (12:11 +0000)]
Testsuite: Experimental_Certnames absorbed into mainline

9 years agoSeparate make targets for utils and exim. Bug 610
Jeremy Harris [Sun, 18 Jan 2015 21:36:34 +0000 (21:36 +0000)]
Separate make targets for utils and exim.  Bug 610

9 years agoLog local IP on delivery log line, under the incoming_interface log selector. Bug 507
Jeremy Harris [Sun, 18 Jan 2015 21:05:56 +0000 (21:05 +0000)]
Log local IP on delivery log line, under the incoming_interface log selector.  Bug 507

9 years agoDocs: fix sort example
Jeremy Harris [Sat, 17 Jan 2015 23:13:20 +0000 (23:13 +0000)]
Docs: fix sort example

9 years agoMake smtp_receive_timeout main option expanded. Bug 564
Jeremy Harris [Mon, 12 Jan 2015 16:01:38 +0000 (16:01 +0000)]
Make smtp_receive_timeout main option expanded.  Bug 564

9 years agoAdd cmdline option to append a log message. Bug 418
Jeremy Harris [Tue, 13 Jan 2015 10:59:07 +0000 (10:59 +0000)]
Add cmdline option to append a log message.  Bug 418

9 years agoDocs: bump previous-version
Jeremy Harris [Tue, 13 Jan 2015 11:00:44 +0000 (11:00 +0000)]
Docs: bump previous-version

9 years agoDocs: mark up with changebars
Jeremy Harris [Mon, 12 Jan 2015 19:25:04 +0000 (19:25 +0000)]
Docs: mark up with changebars

9 years agoTestsuite: fix leftover in mime testing
Jeremy Harris [Mon, 12 Jan 2015 18:53:12 +0000 (18:53 +0000)]
Testsuite: fix leftover in mime testing

9 years agoDo RE compilations at daemon startup. Bug 1568
Jeremy Harris [Sun, 11 Jan 2015 18:40:05 +0000 (18:40 +0000)]
Do RE compilations at daemon startup.  Bug 1568

9 years agoSupport timeout option on malware=
Jeremy Harris [Sun, 28 Dec 2014 17:16:54 +0000 (17:16 +0000)]
Support timeout option on malware=

9 years agoApply timeout consistently to all malware scanner types
Jeremy Harris [Sat, 27 Dec 2014 20:47:19 +0000 (20:47 +0000)]
Apply timeout consistently to all malware scanner types

9 years agoTestsuite: case for malware= avast
Jeremy Harris [Sun, 21 Dec 2014 21:35:04 +0000 (21:35 +0000)]
Testsuite: case for malware= avast

9 years agoApply timeout to Fsecure malware response. Bug 1549
Jeremy Harris [Fri, 21 Nov 2014 18:04:07 +0000 (18:04 +0000)]
Apply timeout to Fsecure malware response.  Bug 1549

9 years ago Add support for avast malware scanner. Bug 1033
Jeremy Harris [Tue, 23 Dec 2014 20:16:36 +0000 (20:16 +0000)]
Add support for avast malware scanner.  Bug 1033

    Originally by Dominic Benson <dominic@lenny.cus.org>
    Rebased for current malware.c by JGH.
    Testing by Heiko Schlittermann <hs@schlittermann.de>

9 years agoPropagate more error codes internally
Jeremy Harris [Sat, 20 Dec 2014 18:05:33 +0000 (18:05 +0000)]
Propagate more error codes internally

9 years agoDSN: use the SMTP return messsage for Diagnostic-Code lines. Bug 1559
Wolfgang Breyha [Fri, 19 Dec 2014 15:51:45 +0000 (15:51 +0000)]
DSN: use the SMTP return messsage for Diagnostic-Code lines.  Bug 1559

Minor tweaking by JH.

9 years agoTestsuite: random number used for DSN MIME boundary can have few digits
Jeremy Harris [Tue, 16 Dec 2014 15:20:24 +0000 (15:20 +0000)]
Testsuite: random number used for DSN MIME boundary can have few digits

9 years agoMove DSN support to mainline
Jeremy Harris [Tue, 23 Dec 2014 20:07:16 +0000 (20:07 +0000)]
Move DSN support to mainline
Affects bug 893

9 years agoClose dangling file. Bug 1379
Jeremy Harris [Sun, 14 Dec 2014 22:41:31 +0000 (22:41 +0000)]
Close dangling file.  Bug 1379

9 years agoEmphasize whitespace in hostnames in debug output
Jeremy Harris [Tue, 23 Dec 2014 20:02:53 +0000 (20:02 +0000)]
Emphasize whitespace in hostnames in debug output

9 years agoDisable identd (rfc1413) lookups by default
Jeremy Harris [Tue, 23 Dec 2014 19:50:07 +0000 (19:50 +0000)]
Disable identd (rfc1413) lookups by default

9 years agoNew variable $exim_version. Bug 306
Jeremy Harris [Sat, 29 Nov 2014 19:52:09 +0000 (19:52 +0000)]
New variable $exim_version.  Bug 306

9 years agoNew variable $config_dir, $config_file. Bug 1553
Heiko Schlittermann [Sat, 29 Nov 2014 19:39:58 +0000 (19:39 +0000)]
New variable $config_dir, $config_file.  Bug 1553

9 years agoCode tidying
Jeremy Harris [Tue, 23 Dec 2014 19:43:33 +0000 (19:43 +0000)]
Code tidying

9 years agoFix buffer overrun in spam= acl condition. Bug 1552
Jeremy Harris [Thu, 27 Nov 2014 16:26:44 +0000 (16:26 +0000)]
Fix buffer overrun in spam= acl condition.  Bug 1552

9 years agoCode tidying
Jeremy Harris [Thu, 27 Nov 2014 16:28:03 +0000 (16:28 +0000)]
Code tidying

9 years agoReformat to project standard
Jeremy Harris [Thu, 27 Nov 2014 15:17:24 +0000 (15:17 +0000)]
Reformat to project standard

9 years agoLog certificate verification status by default
Jeremy Harris [Sun, 23 Nov 2014 22:38:14 +0000 (22:38 +0000)]
Log certificate verification status by default

9 years agoMake smtp transport try server cert verify by default
Jeremy Harris [Sun, 23 Nov 2014 17:01:14 +0000 (17:01 +0000)]
Make smtp transport try server cert verify by default
This is an exim client checking a server certificate.

9 years agoMake "system" location for certificate CA bundle the default
Jeremy Harris [Sun, 23 Nov 2014 16:58:06 +0000 (16:58 +0000)]
Make "system" location for certificate CA bundle the default

9 years agoSupport use of system default CA bundle
Jeremy Harris [Sun, 23 Nov 2014 16:10:30 +0000 (16:10 +0000)]
Support use of system default CA bundle

9 years agoMove certificate name checking to mainline, default enabled
Jeremy Harris [Sat, 22 Nov 2014 19:16:19 +0000 (19:16 +0000)]
Move certificate name checking to mainline, default enabled
This is an exim client checking a server certificate.

9 years agoAs client, request PRDR by default if the server offers it
Jeremy Harris [Fri, 21 Nov 2014 15:15:15 +0000 (15:15 +0000)]
As client, request PRDR by default if the server offers it

9 years agoUpdate RFC conformance notes
Jeremy Harris [Fri, 21 Nov 2014 13:44:26 +0000 (13:44 +0000)]
Update RFC conformance notes

9 years agoRefactor common uses of list-checking
Jeremy Harris [Thu, 20 Nov 2014 16:32:35 +0000 (16:32 +0000)]
Refactor common uses of list-checking

9 years agoMake the multi_domain smtp transport option expanded
Jeremy Harris [Sun, 16 Nov 2014 17:47:50 +0000 (17:47 +0000)]
Make the multi_domain smtp transport option expanded

9 years agoMake the retry_include_ip_address smtp transport option expanded. Bug 1545
Jeremy Harris [Sun, 16 Nov 2014 14:14:35 +0000 (14:14 +0000)]
Make the retry_include_ip_address smtp transport option expanded. Bug 1545

9 years agoClean docs for next release
Jeremy Harris [Mon, 12 Jan 2015 18:58:02 +0000 (18:58 +0000)]
Clean docs for next release

9 years agoDocs: move description of modifiers on dnsdb lookups to a separate section exim-4_85
Jeremy Harris [Mon, 5 Jan 2015 23:40:11 +0000 (23:40 +0000)]
Docs: move description of modifiers on dnsdb lookups to a separate section

9 years agoDocs: expand/reword entry on cutthrough delivery option
Jeremy Harris [Sun, 4 Jan 2015 09:22:58 +0000 (09:22 +0000)]
Docs: expand/reword entry on cutthrough delivery option

9 years agoAvoid crash with badly-terminated non-recognised mime parameter
Jeremy Harris [Thu, 1 Jan 2015 21:47:10 +0000 (21:47 +0000)]
Avoid crash with badly-terminated non-recognised mime parameter

9 years agoFix crash in mime acl when a parameter is unterminated
Jeremy Harris [Tue, 30 Dec 2014 20:39:02 +0000 (20:39 +0000)]
Fix crash in mime acl when a parameter is unterminated

Verified-by: Wolfgang Breyha <wbreyha@gmx.net>
9 years agoUpdate ChangeLog exim-4_85_RC4
Jeremy Harris [Tue, 30 Dec 2014 11:40:41 +0000 (11:40 +0000)]
Update ChangeLog

9 years agoTestsuite: case for malware= cmdline
Jeremy Harris [Sat, 27 Dec 2014 20:35:08 +0000 (20:35 +0000)]
Testsuite: case for malware= cmdline

9 years agoFix null-indirection in certextract expansion
Jeremy Harris [Thu, 25 Dec 2014 13:30:12 +0000 (13:30 +0000)]
Fix null-indirection in certextract expansion

Found-by: Roman Rybalko
9 years agoDocs thinko
Jeremy Harris [Wed, 24 Dec 2014 17:05:39 +0000 (17:05 +0000)]
Docs thinko

9 years agoUse TIME_T_FMT for formatting tv_sec. Bug 1561
Jeremy Harris [Mon, 22 Dec 2014 15:34:22 +0000 (15:34 +0000)]
Use TIME_T_FMT for formatting tv_sec.  Bug 1561

9 years agoBug 1547: Omit RFCs from release tarball docs dir
Todd Lyons [Mon, 22 Dec 2014 13:30:59 +0000 (05:30 -0800)]
Bug 1547: Omit RFCs from release tarball docs dir

RFC Drafts and RFCs have licenses which are problematic for Debian
  distribution. Omit them from the release tarball.

9 years agoTestsuite: cases for malware= interfaces to f-protd, aveserver, fsecure, soophie...
Jeremy Harris [Sun, 21 Dec 2014 21:32:13 +0000 (21:32 +0000)]
Testsuite: cases for malware= interfaces to f-protd, aveserver, fsecure, soophie & clamav

There are running against scripts not the rea thing
so only useful for spotting gross breakage.

9 years agoEXPERIMENTAL_DSN: use the SMTP return messsage for Diagnostic-Code lines. Bug 1559
Wolfgang Breyha [Fri, 19 Dec 2014 15:51:45 +0000 (15:51 +0000)]
EXPERIMENTAL_DSN: use the SMTP return messsage for Diagnostic-Code lines.  Bug 1559

Minor tweaking by JH.

9 years agoTestsuite: move testcase (requires plaintext authenticator) exim-4_85_RC3
Jeremy Harris [Tue, 16 Dec 2014 15:02:48 +0000 (15:02 +0000)]
Testsuite: move testcase (requires plaintext authenticator)

9 years agoTestsuite: additional crypto cypher useable
Jeremy Harris [Sun, 14 Dec 2014 18:58:45 +0000 (18:58 +0000)]
Testsuite: additional crypto cypher useable

Seen on Fedora 21 / OpenSSL 1.0.1j-fips

9 years agoRevert "Testsuite: Use explicit interface for send to localhost"
Jeremy Harris [Sun, 14 Dec 2014 17:31:44 +0000 (17:31 +0000)]
Revert "Testsuite: Use explicit interface for send to localhost"

This reverts commit 30079bc1d20c0473d012ef33654358cfadb0a2ff.
The buildfarm member running FreeBSD 10.0 was not fixed by that commit,
as was hoped.

9 years agoAccount properly for quoted or 2047-encoded MIME parameters while walking headers...
Jeremy Harris [Sun, 14 Dec 2014 15:15:34 +0000 (15:15 +0000)]
Account properly for quoted or 2047-encoded MIME parameters while walking headers. Bug 1558

9 years agoTestsuite: Use explicit interface for send to localhost
Jeremy Harris [Sat, 13 Dec 2014 20:18:39 +0000 (20:18 +0000)]
Testsuite: Use explicit interface for send to localhost

FreeBSD is more lax in its choice of local address to bind; the
difference is just noise in testcase output.

9 years agoDocs clarification
Jeremy Harris [Tue, 9 Dec 2014 10:41:00 +0000 (10:41 +0000)]
Docs clarification

9 years agoDocs typo
Jeremy Harris [Fri, 5 Dec 2014 15:17:10 +0000 (15:17 +0000)]
Docs typo

9 years agoFail a DANE-mode verify on totally missing certificate
Jeremy Harris [Thu, 4 Dec 2014 19:17:47 +0000 (19:17 +0000)]
Fail a DANE-mode verify on totally missing certificate

9 years agoDocs: clarify interaction of DANE and CA-based certificate verification options
Jeremy Harris [Thu, 4 Dec 2014 18:39:28 +0000 (18:39 +0000)]
Docs: clarify interaction of DANE and CA-based certificate verification options

9 years agoTestsuite: add more DANE testcases
Jeremy Harris [Wed, 3 Dec 2014 21:09:54 +0000 (21:09 +0000)]
Testsuite: add more DANE testcases

9 years agoSet previous version in doc XML exim-4_85_RC2
Todd Lyons [Mon, 1 Dec 2014 15:24:17 +0000 (07:24 -0800)]
Set previous version in doc XML

9 years agoDocs: update drweb malware scanner interface description
Jeremy Harris [Sun, 30 Nov 2014 17:34:00 +0000 (17:34 +0000)]
Docs: update drweb malware scanner interface description

9 years agoCompiler quietening. Bug 1555
Jeremy Harris [Sat, 29 Nov 2014 22:20:05 +0000 (22:20 +0000)]
Compiler quietening.  Bug 1555

9 years agoDocument interface to f-protd av_scanner type. Bug 923
Jeremy Harris [Sat, 29 Nov 2014 21:50:23 +0000 (21:50 +0000)]
Document interface to f-protd av_scanner type.  Bug 923

9 years agoTestsuite: treat ECONNRESET the same as ECONNREFUSED on the new connection
Jeremy Harris [Sat, 29 Nov 2014 19:05:28 +0000 (19:05 +0000)]
Testsuite: treat ECONNRESET the same as ECONNREFUSED on the new connection

9 years agoTestsuite: fix feature name
Jeremy Harris [Sat, 29 Nov 2014 17:30:27 +0000 (17:30 +0000)]
Testsuite: fix feature name

9 years agoCompiler quietening
Jeremy Harris [Sat, 29 Nov 2014 16:28:15 +0000 (16:28 +0000)]
Compiler quietening

9 years agoGit: ignore a few more nonsource files
Jeremy Harris [Fri, 28 Nov 2014 19:26:10 +0000 (19:26 +0000)]
Git: ignore a few more nonsource files

9 years agoTestsuite: avoid ipv6 when testing retry data
Jeremy Harris [Fri, 28 Nov 2014 19:10:05 +0000 (19:10 +0000)]
Testsuite: avoid ipv6 when testing retry data
Some test hosts cannot do ipv6.  We assume that ipv4 is available.

9 years agoFix buffer overrun in spam= acl condition. Bug 1552
Jeremy Harris [Thu, 27 Nov 2014 16:26:44 +0000 (16:26 +0000)]
Fix buffer overrun in spam= acl condition.  Bug 1552

9 years agoTestsuite: sort output of retry DB dumps
Jeremy Harris [Wed, 26 Nov 2014 17:40:00 +0000 (17:40 +0000)]
Testsuite: sort output of retry DB dumps

Different systems will have dump output in different order
so to tidy up the Solaris runs, sort pairs of lines by the
leading "word".

10 years agoTestsuite: "echo -n" portability - use printf(1) if possible
Jeremy Harris [Tue, 25 Nov 2014 22:12:42 +0000 (22:12 +0000)]
Testsuite: "echo -n" portability - use printf(1) if possible

10 years agoError the build if DANE included but DNSSEC not available
Jeremy Harris [Tue, 25 Nov 2014 17:11:50 +0000 (17:11 +0000)]
Error the build if DANE included but DNSSEC not available

10 years agoDocs typo in index entry. Fixes: #1551
Nigel Metheringham [Tue, 25 Nov 2014 08:46:52 +0000 (08:46 +0000)]
Docs typo in index entry. Fixes: #1551

10 years agoDocument OpenSSL behaviour on system default CA bundle
Jeremy Harris [Sun, 23 Nov 2014 16:16:11 +0000 (16:16 +0000)]
Document OpenSSL behaviour on system default CA bundle

10 years agoDocs: fix missing quotes
Jeremy Harris [Sat, 22 Nov 2014 19:19:09 +0000 (19:19 +0000)]
Docs: fix missing quotes

10 years agoDocs: crossref $sending_ip_address. Bug 1319
Jeremy Harris [Fri, 21 Nov 2014 16:52:38 +0000 (16:52 +0000)]
Docs: crossref $sending_ip_address.  Bug 1319

10 years agoTestsuite: case 0601 logging ordering
Jeremy Harris [Fri, 21 Nov 2014 15:12:17 +0000 (15:12 +0000)]
Testsuite: case 0601 logging ordering

10 years agoUpdate RFC conformance notes
Jeremy Harris [Fri, 21 Nov 2014 13:52:22 +0000 (13:52 +0000)]
Update RFC conformance notes

10 years agoTestsuite: debugging Solaris run ordering issue. Log +received_recipients
Jeremy Harris [Fri, 21 Nov 2014 13:21:48 +0000 (13:21 +0000)]
Testsuite: debugging Solaris run ordering issue. Log +received_recipients

10 years agoWhen following a CNAME chain, if any lookup is insecure the whole must be too
Jeremy Harris [Thu, 20 Nov 2014 20:17:32 +0000 (20:17 +0000)]
When following a CNAME chain, if any lookup is insecure the whole must be too

10 years agoConst-ification
Jeremy Harris [Thu, 20 Nov 2014 20:16:58 +0000 (20:16 +0000)]
Const-ification

10 years agoConst-ification
Jeremy Harris [Thu, 20 Nov 2014 16:14:47 +0000 (16:14 +0000)]
Const-ification

10 years agoFix copying of host_used in smtp transport
Jeremy Harris [Thu, 20 Nov 2014 16:46:48 +0000 (16:46 +0000)]
Fix copying of host_used in smtp transport

Following c562f "More regular logging use of H=<name> [<ip>]" there
were error cases where a host-item that was being expanded per-call
was used.  Move the copy earlier so these are covered.