summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'sigpipe-fix' of git://github.com/lp0/exim into bugfixbugfixNigel Metheringham2011-01-301-0/+1
|\
| * child_open_uid: restore default SIGPIPE handlerSimon Arlott2011-01-301-0/+1
| | | | | | | | Exim ignores SIGPIPE, but child processes may require it.
* | Incremental improvement of release build scriptNigel Metheringham2011-01-281-25/+78
| |
* | Use LC_ALL=C for building lookups/Makefile.Phil Pennock2011-01-272-2/+12
| |
* | Pulled spamd_address-expanded caching fix.Phil Pennock2011-01-272-15/+27
| | | | | | | | | | | | | | | | | | | | Author: Wolfgang Breyha Bugzilla: 935 Attachment: 378 (looks like it could do with a strcmp check at the end before the extra string_copy, but that's a nicety and the author has presumably been running with this).
* | Permit make values to be indented or in env.Phil Pennock2011-01-272-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | It appears some make(1)s are not complaining about variables defined with leading whitespace on the line. Permit that where we can, for the lookups, but it's not tenable for CFLAGS_DYNAMIC. Some people are specifying knobs on the make command-line, so we get them via the environment. Tested: indented LOOKUP_CDB and commented out LOOKUP_DNSDB, supplying it via { make LOOKUP_DNSDB=yes }. { exim -d --version } shows both are built-in, no results from { fgrep DNSDB build-*/Makefile }.
* | Fix portability of Makefiles to HP-UX and other non-extended makes.Tony Finch2011-01-273-10/+21
| |
* | Fix portability bugs in valgrind support.Tony Finch2011-01-263-130/+874
| | | | | | | | | | | | | | | | Update valgrind.h and memcheck.h to copies from valgrind-3.6.0. This fixes portability to compilers other than gcc, notably Solaris CC and HP-UX CC. Fixes: bug #1050.
* | Workround compile error with old PCRE versionsNigel Metheringham2011-01-262-1/+13
|/ | | | | Fixes bug #1073
* Bug-fix the xpg4 Solaris logic.exim-4_74Phil Pennock2011-01-241-2/+2
| | | | | | | | | Should not code at 9am when still awake then. Should sanity-review such code changes before submitting (after sleep). Should s,/usr/xpg4/bin/sh,/bin/bash, as a convenient test to confirm what I suspected. But should do so pre-submit. Doh.
* Compatibility fixes for dynlookup makefile builder.Phil Pennock2011-01-243-6/+32
| | | | | | | | | | Don't abort if CFLAGS_DYNAMIC not defined. Oops! Attempt to get a POSIX environment on Solaris. Document POSIXy assumptions going forward. Problems reported by: Dennis Davis
* Loadable modules: fix debug invocationsPhil Pennock2011-01-231-5/+5
| | | | | | | | The new code was calling DEBUG(<n>) for values of n including 4, 5, 9; that was an Exim 3 API, we now use bits; -v sets bit 0x1, -bP implies -v, so { exim -bP } was pulling up random debug messages. Switched all the DEBUG checks to be DEBUG(D_lookup).
* Bug 1071: fix delivery logging with untrusted macros.Phil Pennock2011-01-232-2/+12
| | | | | | | If dropping privileges for untrusted macros, we disabled normal logging on the basis that it would fail; for the Exim run-time user, this is not the case, and it resulted in successful deliveries going unlogged. Fixed. Reported by Andreas Metzler.
* Report TRUSTED_CONFIG_LIST & WHITELIST_D_MACROS.Phil Pennock2011-01-231-0/+11
| | | | | When invoked { exim -d -bV } show these build-time options that affect what can be done.
* Document 1041 merge (DCC fix).Phil Pennock2011-01-231-0/+3
|
* Merge branch 'master' of git://git.exim.org/eximPhil Pennock2011-01-222-38/+63
|\
| * Sign Script - Take EXIM_KEY from environ.Phil Pennock2011-01-221-3/+4
| |
| * Reworked changebars (still relative to 4.72) in doc sourceNigel Metheringham2011-01-211-35/+59
| |
* | Bugzilla 1041: pull patch id=425, DCC fixes.Phil Pennock2011-01-222-1/+14
|/ | | | | DCC return codes were not always correct. Patch from DCC code maintainer, Wolfgang Breyha.
* Update dates.exim-4_74_RC1Phil Pennock2011-01-212-5/+5
| | | | | Spec: both doc date and release date (plus copyright year). Filter: only release date (doc not changed, so neither is copyright year)
* Test suite: make cf 64-bit compat for -exact.Phil Pennock2011-01-211-2/+7
| | | | | I assume stdint.h and intptr_t available for any platform where we're running the test suite.
* Tests compat. setgid failure / dropped_privilegePhil Pennock2011-01-213-7/+17
| | | | | | | If we've *dropped* privilege, it's okay to not abort if setgid fails. Document some of what's now needed for the test suite. Adjust the test suide for better post-4.73 compat.
* Bump version to 4.74.Phil Pennock2011-01-214-6/+11
| | | | | | | | Docs deliberately keep changebars since v4.72 as 4.73 has not been out for long. OptionLists updates for dynamic modules and for the security changes from 4.73.
* IncompatibleChanges out, README.UPDATING updated.Phil Pennock2011-01-212-59/+46
| | | | | | | | | | I forgot about README.UPDATING and introduced a new txt file with the 4.73 release, noting incompatible changes. Because these weren't documented in the normal place, some people missed them. Mea culpa. Integrated the notes from IncompatibleChanges into README.UPDATING. Added a note on the ABI of the dynlookups.
* Check return values of setgid/setuid.Phil Pennock2011-01-214-10/+62
| | | | | | | CVE-2011-0017 One assertion of the unimportance of checking the return value was wrong, in the event of a compromised exim run-time user.
* Version reporting & module ABI change.Phil Pennock2011-01-2128-33/+483
| | | | | | | | | | | | | | | | | | | | | | | | | | | Debug version display reports library info. Bumps lookup API magic constant, adds new field to module API. When invoking { exim -d -bV } we can display more version information. Show versions for many external libraries, including both compile-time and run-time information if we can. Optional for modules, may be NULL. Implemented for MySQL, SQLite & Whoson lookups. For all lookups, if dynamically loaded, report the Exim version number from the build. (Packagers will bundle stuff, but dynamic modules are no longer just available for packagers, so we need to deal with less managed environments and people forgetting to install new modules). Suggest in EDITME that users of modules not using package management consider embedding a version number in the path to the modules. Should consider removing the TLS (OpenSSL/GnuTLS) reporting from the default -bV display and moving it into the debug display. Not done. Created version.h, now support a version extension string for distributors who patch heavily. Henceforth release engineer should change the version in version.h not version.c.
* Module loading working on FreeBSD (and unbreak).Phil Pennock2011-01-172-0/+8
| | | | | | | | | | | | | | | (1) Commit eec525c43adade97ff94d839810faf7cb35bd87f broke module support, because we *do* still need some exported variable definitions, as for a module to actually work, we need the per-module _INCLUDE/_LIBS settings. (2) FreeBSD's nsdispatch() will leave dlerror() returning a complaint about "_nss_cache_cycle_prevention_function"; we need to clear the error state before the dlsym() call, so that any error found afterwards must have come from that dlsym() call. Fix is just an extra call to dlerror(), which should be portable. I can now use sqlite3 from a module, in FreeBSD.
* Mention new dlopen functionality.Phil Pennock2011-01-171-0/+10
|
* Clarify: tls_verify_certificates is for CA certs.Phil Pennock2011-01-161-0/+7
| | | | | | | It can be used for individual user certs but is really intended for CAs. Note this, and explain that if the tls_verify_certificates value is a file, then the certs within are sent from the server to clients, thus is public data.
* Let /dev/null have normal permissions.Phil Pennock2011-01-162-2/+7
| | | | | | The 4.73 fixes were a little too stringent and complained about the permissions on /dev/null. Exempt it from some checks. Reported by Andreas M. Kirchwitz
* Bug-fix for bash and no-dynamic case.Phil Pennock2011-01-161-8/+4
| | | | | | | | | | | When writing the patch, originally nothing other than a cp was needed if there were no dynamic modules. That changed, but the guard at the top did not. Remove that check. bash does not like a block which consists solely of a comment. Provide a ':' invocation. Both problems spotted by Simon Arlott -- thanks.
* Bug 139: portability fixes and documentation.Phil Pennock2011-01-1611-162/+167
| | | | | | | | | | | | | | | | | | Document the dynamic lookup module capability in spec.xfpt. Include a ChangeLog item. Avoid the GNU-specific "export" make(1) directive. Build the lookups Makefile using the existing framework. Build with BSD Make once more. The src/lookups/Makefile that is used at build time now has the dynamic content come from scripts/lookups-Makefile. Add CFLAGS_DYNAMIC support, which can be set in Local/Makefile. Provide defaults for Linux & FreeBSD. Ensure that build fails early if a dynamic module is requested but CFLAGS_DYNAMIC is not defined.
* src/deliver.c: log the error message when unlink(spoolname) failsTony Finch2011-01-142-1/+4
|
* src/transports/smtp.c: log LMTP confirmation same as SMTPTony Finch2011-01-142-1/+8
|
* src/dbfn.c: write lock aquisition failures to the panic logTony Finch2011-01-142-1/+8
|
* CONTRIBUTING: correct expansion of GPLTony Finch2011-01-141-1/+1
|
* Bugzilla #1067 - DKIM: Fix relaxed header canon for headers ending with ↵Tom Kistner2011-01-122-3/+2
| | | | whitespace.
* Include <dlfcn.h> only when necessaryDavid Woodhouse2011-01-052-2/+1
|
* Add dynamic lookup supportDavid Woodhouse2011-01-0551-1182/+992
| | | | Fixed: bug #139
* DKIM ACL Documentationexim-4_73Nigel Metheringham2010-12-261-0/+13
| | | | Fixes: bug #929
* Fixes: bug #1002 - Message loss when using multiple deliveriesMiroslav Lichvar2010-12-262-1/+3
|
* LDAP Authetication documentation example syntax fixNigel Metheringham2010-12-261-1/+1
| | | | Fixes: bug #999
* Reword BSMTP ACL documentationNigel Metheringham2010-12-261-2/+2
| | | | Fixes: bug #974
* Eximstats documentstion - s/delivery_time/deliver_time/Nigel Metheringham2010-12-261-1/+1
| | | | Fixes: bug #1034
* drop unwanted paragraph break.Andreas Metzler2010-12-261-1/+0
| | | | Fixes: bug #1052 Signed-off-by: Nigel Metheringham <nigel@exim.org>
* fix grammar error: s/this/that/Andreas Metzler2010-12-261-1/+1
| | | | Fixes: bug #1051 Signed-off-by: Nigel Metheringham <nigel@exim.org>
* Merge branch 'master' of ssh://git.exim.org/home/git/eximexim-4_73_RC1Nigel Metheringham2010-12-232-3/+3
|\
| * Do not refer to TRUSTED_CONFIG_PREFIX_FILE.Andreas Metzler2010-12-212-3/+3
| | | | | | | | | | Refer to TRUSTED_CONFIG_LIST instead of TRUSTED_CONFIG_PREFIX_FILE in documentation and comments.
* | Inserted change notifications into the documentation sourceNigel Metheringham2010-12-191-2/+40
|/
* Make the documentation cleared that TRUSTED_CONFIG_LIST is pathname one per lineDavid Woodhouse2010-12-183-9/+11
|