users/jgh/exim.git
10 years agoCheck for errors running cmdline scanner. Bug 1396 malware-1418
Jeremy Harris [Wed, 5 Mar 2014 20:36:08 +0000 (20:36 +0000)]
Check for errors running cmdline scanner.  Bug 1396

10 years agodoc typo
Jeremy Harris [Tue, 4 Mar 2014 23:24:44 +0000 (23:24 +0000)]
doc typo

10 years agoMerge branch 'master' into malware-1418
Jeremy Harris [Sat, 1 Mar 2014 17:20:03 +0000 (17:20 +0000)]
Merge branch 'master' into malware-1418

10 years agoFix parallel make. Bug 1446
Jeremy Harris [Sat, 1 Mar 2014 17:02:43 +0000 (17:02 +0000)]
Fix parallel make.  Bug 1446
from work by Heiko Schlittermann

10 years agoRefactor error logging
Jeremy Harris [Fri, 28 Feb 2014 17:36:17 +0000 (17:36 +0000)]
Refactor error logging

10 years agoFix bug in malware scanner options
Jeremy Harris [Fri, 28 Feb 2014 16:12:29 +0000 (16:12 +0000)]
Fix bug in malware scanner options
Fix more string types

10 years agoRefactor daemon socket opens
Jeremy Harris [Sun, 23 Feb 2014 16:50:31 +0000 (16:50 +0000)]
Refactor daemon socket opens
Add documentation for "sock" scanner

10 years agoFix up more string types
Jeremy Harris [Tue, 18 Feb 2014 22:12:22 +0000 (22:12 +0000)]
Fix up more string types
Fix inverted test for empty main malware regex

10 years agoFix up string types
Jeremy Harris [Tue, 18 Feb 2014 21:26:13 +0000 (21:26 +0000)]
Fix up string types

10 years agoCheck "socket" scanner commandline spec for no more than one %s expansion
Jeremy Harris [Sun, 16 Feb 2014 18:09:40 +0000 (18:09 +0000)]
Check "socket" scanner commandline spec for no more than one %s expansion

10 years agoRefactor clamd socket connection
Jeremy Harris [Sun, 16 Feb 2014 16:33:01 +0000 (16:33 +0000)]
Refactor clamd socket connection

10 years agoMerge branch 'master' into malware-1418
Jeremy Harris [Sun, 16 Feb 2014 14:32:19 +0000 (14:32 +0000)]
Merge branch 'master' into malware-1418

10 years agoFix build on systems having ipv6 but lacking an IPV6_TCLASS define (GNU Hurd). Bug...
Jeremy Harris [Sun, 9 Feb 2014 21:03:27 +0000 (21:03 +0000)]
Fix build on systems having ipv6 but lacking an IPV6_TCLASS define (GNU Hurd).  Bug 1441
By Samuel Thibault

10 years agoWIP: refactor socket/ip connections
Jeremy Harris [Sat, 8 Feb 2014 13:24:29 +0000 (13:24 +0000)]
WIP: refactor socket/ip connections

10 years agoRefactor listarg RE compiles
Jeremy Harris [Mon, 3 Feb 2014 00:19:23 +0000 (00:19 +0000)]
Refactor listarg RE compiles

10 years agoRefactor reges operations
Jeremy Harris [Sun, 2 Feb 2014 23:10:07 +0000 (23:10 +0000)]
Refactor reges operations

10 years agoGeneric "sock" malware scanner type, from Martin Poole
Jeremy Harris [Sun, 2 Feb 2014 22:17:46 +0000 (22:17 +0000)]
Generic "sock" malware scanner type, from Martin Poole

10 years agoRefactor tcp socket opens
Jeremy Harris [Sun, 2 Feb 2014 20:09:10 +0000 (20:09 +0000)]
Refactor tcp socket opens

10 years agoUse table for scanner name and default args
Jeremy Harris [Sun, 2 Feb 2014 18:55:18 +0000 (18:55 +0000)]
Use table for scanner name and default args

10 years agoRefactor socket comms
Jeremy Harris [Sun, 26 Jan 2014 22:49:30 +0000 (22:49 +0000)]
Refactor socket comms

10 years agoReplace more fixed-size buffers with allocated strings
Jeremy Harris [Sun, 26 Jan 2014 21:03:59 +0000 (21:03 +0000)]
Replace more fixed-size buffers with allocated strings

10 years agoFix tls_verify_certificates in gnutls use. Bug 1413.
Jeremy Harris [Sun, 26 Jan 2014 18:03:01 +0000 (18:03 +0000)]
Fix tls_verify_certificates in gnutls use.  Bug 1413.
Patch by W.Breyha, tested by H.Schlittermann

10 years agoLog/return-defer: de-repeat strings
Jeremy Harris [Mon, 20 Jan 2014 01:41:34 +0000 (01:41 +0000)]
Log/return-defer: de-repeat strings

10 years agoCoding style tweaks
Jeremy Harris [Sun, 19 Jan 2014 22:44:55 +0000 (22:44 +0000)]
Coding style tweaks

10 years agoReplace malware_name_buffer with exim-standard allocated space.
Jeremy Harris [Sun, 19 Jan 2014 22:22:37 +0000 (22:22 +0000)]
Replace malware_name_buffer with exim-standard allocated space.
Also lose drweb_match_string, kav_match_string and pre_malware_nb

10 years agoBugzilla 1433: Fix DMARC SEGV
Wolfgang Breyha [Tue, 14 Jan 2014 14:12:38 +0000 (06:12 -0800)]
Bugzilla 1433: Fix DMARC SEGV

Properly escape value passed to expand_string().
Check for NULL return from expand_string().

10 years agoUpdate copyright year in --version output
Phil Pennock [Tue, 7 Jan 2014 06:59:04 +0000 (01:59 -0500)]
Update copyright year in --version output

10 years agoCopyright year updates:
Phil Pennock [Tue, 7 Jan 2014 06:56:40 +0000 (01:56 -0500)]
Copyright year updates:

    vi $(git whatchanged --since=2013-01-01 | grep '^:100' | sed 's/^[^M]*M//' | sort -u | fgrep -v test/)

Did 2014 first, since otherwise every file I touched to update to 2013
would show as changed in 2014.  Last invocation logged to git was during
2012.  Will need to be more careful if auditing next year.

10 years agoCopyright year updates: 2014
Phil Pennock [Tue, 7 Jan 2014 06:49:54 +0000 (01:49 -0500)]
Copyright year updates: 2014

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

10 years agoDocument (and enforce) that DKIM-signing is not supported in cobination with cutthrou...
Jeremy Harris [Sun, 5 Jan 2014 21:22:06 +0000 (21:22 +0000)]
Document (and enforce) that DKIM-signing is not supported in cobination with cutthrough routing

10 years agoDocumant the non-support of header manipulation in post-RCPT ACLs in combination...
Jeremy Harris [Sun, 5 Jan 2014 17:54:41 +0000 (17:54 +0000)]
Documant the non-support of header manipulation in post-RCPT ACLs in combination with cuttrhough.
Add check and paniclog attempts to do so.  Bug 1411 (WONTFIX).

10 years agoExplicitly disable cutthrough on transports having filters
Jeremy Harris [Sun, 5 Jan 2014 15:27:19 +0000 (15:27 +0000)]
Explicitly disable cutthrough on transports having filters

10 years agoExplicitly disable cutthrough on transports having filters
Jeremy Harris [Sun, 29 Dec 2013 19:10:05 +0000 (19:10 +0000)]
Explicitly disable cutthrough on transports having filters

10 years agoProxy negotiation saves socket timeout values.
Todd Lyons [Mon, 30 Dec 2013 23:02:21 +0000 (15:02 -0800)]
Proxy negotiation saves socket timeout values.

Rename proxy expansions conforming to Exim standards.
Update documentation to reflect rename.
Seperate restore socket function

10 years agoAdd ${listextract {n}{list}...}
Jeremy Harris [Sun, 27 Oct 2013 15:18:44 +0000 (15:18 +0000)]
Add ${listextract {n}{list}...}

10 years agoFix use of uninitialized variable
Jeremy Harris [Sun, 15 Dec 2013 18:36:48 +0000 (18:36 +0000)]
Fix use of uninitialized variable

10 years agoIncrease test CA key sizes from 512 to 1024 to handle TLS1.2 digest sizes.
Jeremy Harris [Sun, 15 Dec 2013 22:17:42 +0000 (22:17 +0000)]
Increase test CA key sizes from 512 to 1024 to handle TLS1.2 digest sizes.

10 years agoClarify interaction of delay_warning and retry configuration.
Jeremy Harris [Sat, 7 Dec 2013 13:34:42 +0000 (13:34 +0000)]
Clarify interaction of delay_warning and retry configuration.

10 years agoProxy Protocol - Server support
Todd Lyons [Sat, 30 Nov 2013 19:31:21 +0000 (11:31 -0800)]
Proxy Protocol - Server support

Initial conf setting and expansions
Logging setting whether to record proxy host, off by default
Put PROXY processing before connect ACL
Fix incoming address logging
Add Proxy Protocol to ChangeLog
Set window for Proxy Protocol header to be sent
Update docs and EDITME.

10 years agobuild: try to get dash/bash for sanity
Phil Pennock [Thu, 21 Nov 2013 01:16:02 +0000 (17:16 -0800)]
build: try to get dash/bash for sanity

The "local" builtin is not part of POSIX.  We want it.  Try harder to
get a vaguely sane shell, rather than just a POSIX shell.

Also, safeguard to error out more gracefully if invoked from outside the
build process.

10 years agoFix testsuite build on Solaris
Jeremy Harris [Wed, 20 Nov 2013 14:19:37 +0000 (14:19 +0000)]
Fix testsuite build on Solaris

As of s11, Solaris & derivatives need libsocket and libnsl.  Ensure they are searched for
by autoconfig.  This seems to be successfully ignored on Linux.
Credit to Dave Edmondson (dme@dme.org) for the fix.

10 years agoFix ldap option setting.
Todd Lyons [Thu, 31 Oct 2013 16:42:15 +0000 (09:42 -0700)]
Fix ldap option setting.

Some client libs set a global context, newer client libs set a global
  default which then needs to be reloaded.

10 years agoFix memory management vs acl-as-conditional, redux
Jeremy Harris [Tue, 12 Nov 2013 19:51:10 +0000 (19:51 +0000)]
Fix memory management vs acl-as-conditional, redux

10 years agoFix memory management vs. acl-as-conditional
Jeremy Harris [Sun, 10 Nov 2013 21:31:17 +0000 (21:31 +0000)]
Fix memory management vs. acl-as-conditional

10 years agoAdd commented-braces for ease of brace-matching editor use
Jeremy Harris [Sun, 10 Nov 2013 21:12:51 +0000 (21:12 +0000)]
Add commented-braces for ease of brace-matching editor use

10 years agospec: TLS certificates: avoid MD5
Phil Pennock [Sun, 10 Nov 2013 10:16:27 +0000 (05:16 -0500)]
spec: TLS certificates: avoid MD5

Make it clearer in the spec, where talking about certificates, that MD5
in certs is a really Quite Bad idea.

10 years agoBug 1334: AutoDetect compression type in exigrep
Todd Lyons [Sat, 12 Oct 2013 16:42:31 +0000 (09:42 -0700)]
Bug 1334: AutoDetect compression type in exigrep

Does not use any extra perl modules.
Attempts hard coded types first, so no extra code for the standard
  case.
Easy to add more compression types.

10 years agoPortability fix for Solaris without xpg4 utilities
Tony Finch [Thu, 7 Nov 2013 16:26:33 +0000 (16:26 +0000)]
Portability fix for Solaris without xpg4 utilities

10 years agoquickrelease: A dumb script for making source-only tarballs
Tony Finch [Thu, 7 Nov 2013 16:25:51 +0000 (16:25 +0000)]
quickrelease: A dumb script for making source-only tarballs

10 years agoPut back a required .new/.wen stanza
Todd Lyons [Tue, 5 Nov 2013 18:18:24 +0000 (10:18 -0800)]
Put back a required .new/.wen stanza

10 years agoPrep docs/markup for next release cycle
Todd Lyons [Tue, 5 Nov 2013 16:30:37 +0000 (08:30 -0800)]
Prep docs/markup for next release cycle

10 years agoExplain the TLS cleanup bug in the ChangeLog
Tony Finch [Tue, 5 Nov 2013 15:20:05 +0000 (15:20 +0000)]
Explain the TLS cleanup bug in the ChangeLog

10 years agoCorrectly close the server side of TLS when forking for delivery.
Tony Finch [Tue, 5 Nov 2013 12:18:02 +0000 (12:18 +0000)]
Correctly close the server side of TLS when forking for delivery.

10 years agoOnly unbind ldap connection if bind succeeded
Todd Lyons [Thu, 31 Oct 2013 13:04:27 +0000 (06:04 -0700)]
Only unbind ldap connection if bind succeeded

10 years agoDoc/Spec: section "Trust in configuration data" exim-4_82
Phil Pennock [Fri, 25 Oct 2013 00:38:28 +0000 (20:38 -0400)]
Doc/Spec: section "Trust in configuration data"

10 years agoMerge branch 'master' of git://git.exim.org/exim exim-4_82_RC5
Todd Lyons [Tue, 22 Oct 2013 12:11:33 +0000 (05:11 -0700)]
Merge branch 'master' of git://git.exim.org/exim

10 years agoSilence compiler string format warning exim-4_82_RC4
Todd Lyons [Tue, 22 Oct 2013 11:57:40 +0000 (04:57 -0700)]
Silence compiler string format warning

10 years agoBug 1400: Fix GnuTLS PKCS11 issues
Todd Lyons [Sun, 20 Oct 2013 00:01:26 +0000 (17:01 -0700)]
Bug 1400: Fix GnuTLS PKCS11 issues

Can disable PKCS11 in Makefile with AVOID_GNUTLS_PKCS11 build flag.
Rename gnutls_enable_pkcs11 option to gnutls_allow_auto_pkcs11.
Update Changelog

10 years agoTests: Don't delete patched exim if -KEEP is used
Todd Lyons [Sat, 19 Oct 2013 14:17:36 +0000 (07:17 -0700)]
Tests: Don't delete patched exim if -KEEP is used

10 years agoExtra requires/notes for running test suite
Todd Lyons [Sat, 19 Oct 2013 14:16:40 +0000 (07:16 -0700)]
Extra requires/notes for running test suite

10 years agoBugzilla 1402 - Handle upper case chars in tests
Todd Lyons [Sat, 19 Oct 2013 13:53:59 +0000 (06:53 -0700)]
Bugzilla 1402 - Handle upper case chars in tests

Test 533 fails if there are any upper case chars in the path to the
  test suite. Added caseful_local_part=true to the router which calls
  the pipe.

10 years agoAdjust runtest -CONTINUE to work everywhere
Todd Lyons [Fri, 18 Oct 2013 18:49:57 +0000 (11:49 -0700)]
Adjust runtest -CONTINUE to work everywhere

10 years agoFormat String safety
Todd Lyons [Tue, 15 Oct 2013 20:41:21 +0000 (13:41 -0700)]
Format String safety

10 years agoUpdate copyright year in exim -bV output
Todd Lyons [Tue, 15 Oct 2013 12:18:31 +0000 (05:18 -0700)]
Update copyright year in exim -bV output

10 years agoFix listnamed doc typos
Jeremy Harris [Sun, 13 Oct 2013 21:29:04 +0000 (22:29 +0100)]
Fix listnamed doc typos

10 years agoCross-ref av_scanner syntax to list syntax
Jeremy Harris [Sun, 13 Oct 2013 13:34:35 +0000 (14:34 +0100)]
Cross-ref av_scanner syntax to list syntax

10 years agoAdded missing .new/.wen in spec.xpft exim-4_82_RC3
Todd Lyons [Wed, 9 Oct 2013 20:40:49 +0000 (13:40 -0700)]
Added missing .new/.wen in spec.xpft

10 years agoDocumentation for multiple TCP clamd servers
Todd Lyons [Wed, 9 Oct 2013 15:48:39 +0000 (08:48 -0700)]
Documentation for multiple TCP clamd servers

10 years agoImported Bug 1057 multiple clamd patch from PLD repo
Todd Lyons [Fri, 9 Nov 2012 22:28:37 +0000 (14:28 -0800)]
Imported Bug 1057 multiple clamd patch from PLD repo

10 years agoBug 1150: Enhance docs for ${addresses:} expansion
Todd Lyons [Tue, 8 Oct 2013 18:00:33 +0000 (11:00 -0700)]
Bug 1150: Enhance docs for ${addresses:} expansion

10 years agoFix TPDA text.
Jeremy Harris [Mon, 7 Oct 2013 19:47:54 +0000 (20:47 +0100)]
Fix TPDA text.
Credit Axel Rau for careful proofreading.

10 years agoMerge branch 'master' of ssh://git.exim.org/home/git/exim
Todd Lyons [Mon, 7 Oct 2013 02:31:57 +0000 (19:31 -0700)]
Merge branch 'master' of ssh://git.exim.org/home/git/exim

10 years agoBug 1289: Clarify host list processing failures
Todd Lyons [Mon, 7 Oct 2013 02:21:55 +0000 (19:21 -0700)]
Bug 1289: Clarify host list processing failures

Enhance explanation of +ignore_unknown.

10 years agoTypo in docs: routing rules mentioned in retry rules section. Bug 1349
Jeremy Harris [Sun, 6 Oct 2013 17:31:15 +0000 (18:31 +0100)]
Typo in docs: routing rules mentioned in retry rules section.  Bug 1349

10 years agoMake smtp_accept_max_per_connection option text searchable. Bug 1361
Jeremy Harris [Sun, 6 Oct 2013 17:05:48 +0000 (18:05 +0100)]
Make smtp_accept_max_per_connection option text searchable. Bug 1361

Same fix as for 1197; abandon attempt to permit intelligent wrapping of the text

10 years agoAdd exiqsumm fix to ChangeLog
Todd Lyons [Sat, 5 Oct 2013 15:41:29 +0000 (08:41 -0700)]
Add exiqsumm fix to ChangeLog

10 years agoFix exiqsumm output for single queue item.
Todd Lyons [Sat, 5 Oct 2013 15:31:49 +0000 (08:31 -0700)]
Fix exiqsumm output for single queue item.

Patch from Richard Hall, with one minor addition to prevent
  uninitialized value error during output.

10 years agoBug 1392: Change status text when no dmarc record
Wolfgang Breyha [Fri, 4 Oct 2013 20:02:44 +0000 (13:02 -0700)]
Bug 1392: Change status text when no dmarc record

10 years agoFix DKIM variable name in documentation.
Ted Cooper [Fri, 4 Oct 2013 00:17:19 +0000 (10:17 +1000)]
Fix DKIM variable name in documentation.

10 years agoPrint tarball names in debug mode too
Todd Lyons [Thu, 3 Oct 2013 23:35:05 +0000 (16:35 -0700)]
Print tarball names in debug mode too

10 years agoFilter xfpt needs new macro too
Todd Lyons [Thu, 3 Oct 2013 23:29:52 +0000 (16:29 -0700)]
Filter xfpt needs new macro too

10 years agoFinish the xfpt fix.
Phil Pennock [Thu, 3 Oct 2013 20:13:52 +0000 (16:13 -0400)]
Finish the xfpt fix.

The readers of the version expect no surrounding whitespace; putting the
content in-place requires macro expansion, which requires that .literal
mode be `layout` or `off`, but either of those will escape the XML angle
brackets.  The easiest fix is to generate the XML as part of the macro
definition.

Moved local_params rules out of Makefile and into GenLocalParams

10 years agoBug 1389: Initialize and clear variables
Todd Lyons [Thu, 3 Oct 2013 23:24:14 +0000 (16:24 -0700)]
Bug 1389: Initialize and clear variables

10 years agoMerge branch 'master' of ssh://git.exim.org/home/git/exim
Todd Lyons [Thu, 3 Oct 2013 23:11:04 +0000 (16:11 -0700)]
Merge branch 'master' of ssh://git.exim.org/home/git/exim

10 years agoUnbreak HTML build for RC candidates.
Phil Pennock [Thu, 3 Oct 2013 18:50:09 +0000 (14:50 -0400)]
Unbreak HTML build for RC candidates.

The HTML build now uses the website repo, which extracts the version
number from the XML (generated from the .xfpt).  Meanwhile, commit
2aee48d6 made the version number in the build process dynamic, taking
the value from the release script (via an environ variable).

This change fixes the invocation to pass the version _without_ an RC
suffix to the XML build, letting HTML generation happen.

10 years agoMention Redis lookup in NewStuff
Todd Lyons [Thu, 3 Oct 2013 16:34:44 +0000 (09:34 -0700)]
Mention Redis lookup in NewStuff

10 years agoSetting LC_ALL with make overrode this sort check exim-4_82_RC2
Todd Lyons [Thu, 3 Oct 2013 13:42:26 +0000 (06:42 -0700)]
Setting LC_ALL with make overrode this sort check

10 years agoFix docbook paths for xml generation
Todd Lyons [Thu, 3 Oct 2013 02:21:22 +0000 (19:21 -0700)]
Fix docbook paths for xml generation

10 years agoBugzilla 1217: Experimental Redis lookup
Todd Lyons [Tue, 1 Oct 2013 16:24:19 +0000 (09:24 -0700)]
Bugzilla 1217: Experimental Redis lookup

Add want_experimental() test in the script to create the lookups
  Makefile to ease detection of requested Experimental features, and
  simplify the #ifdef guards in the redis.c.

10 years agoDo not use MSG_NOSIGNAL on send() in ${udpsend}
Jeremy Harris [Mon, 30 Sep 2013 19:24:13 +0000 (20:24 +0100)]
Do not use MSG_NOSIGNAL on send() in ${udpsend}

Some non-Posix systems don't define it.  Anyway, Exim ignores SIGPIPE for most purposes.

10 years agoMerge branch 'patch-3' of https://github.com/bes-internal/exim into master_dmarc_doc
Todd Lyons [Mon, 30 Sep 2013 19:55:44 +0000 (12:55 -0700)]
Merge branch 'patch-3' of https://github.com/bes-internal/exim into master_dmarc_doc

10 years agoAdded documentation of features, acknowledgements
Todd Lyons [Mon, 30 Sep 2013 18:56:42 +0000 (11:56 -0700)]
Added documentation of features, acknowledgements

10 years agoAdd ratelimit doc addition to ChangeLog
Todd Lyons [Mon, 30 Sep 2013 18:24:44 +0000 (11:24 -0700)]
Add ratelimit doc addition to ChangeLog

10 years agoTypo re-fix in ratelimit.pl doc
Todd Lyons [Mon, 30 Sep 2013 18:22:58 +0000 (11:22 -0700)]
Typo re-fix in ratelimit.pl doc

10 years agoMerge branch 'patch-1' of https://github.com/bes-internal/exim into master-bes-rateli...
Todd Lyons [Mon, 30 Sep 2013 18:20:46 +0000 (11:20 -0700)]
Merge branch 'patch-1' of https://github.com/bes-internal/exim into master-bes-ratelimit.pl

10 years agoMerge branch 'master_tpda'
Todd Lyons [Mon, 30 Sep 2013 18:10:50 +0000 (11:10 -0700)]
Merge branch 'master_tpda'

10 years agoAdjust test build link paths.
Todd Lyons [Mon, 30 Sep 2013 17:52:50 +0000 (10:52 -0700)]
Adjust test build link paths.

Details at: http://comments.gmane.org/gmane.mail.exim.user/91154
Add ignore for a logfile from test run.

10 years agoBug 1031: Experimental TPDA
Jeremy Harris [Mon, 30 Sep 2013 17:12:12 +0000 (10:12 -0700)]
Bug 1031: Experimental TPDA

Remove whitespace

10 years agoRemove whitespace
Todd Lyons [Mon, 30 Sep 2013 17:08:53 +0000 (10:08 -0700)]
Remove whitespace

10 years agofix dmarc_status condition documentation
bes-internal [Mon, 30 Sep 2013 15:06:06 +0000 (18:06 +0300)]
fix dmarc_status condition documentation