summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-10-05test for .git dir with -d not -e; more portablePhil Pennock
2011-10-05Solaris/Irix portability hacks for reversionPhil Pennock
2011-10-03source referenced version.sh file alwaysexim-4_77_RC2Phil Pennock
Tested for version.sh in cwd, but used . to source, assuming that would pull in file from cwd. True on BSD (checked after $PATH) but not part of POSIX and not true for bash when in POSIX mode.
2011-10-03PP/12 fix uninitialised greeting string from PP/03exim-4_77_RC1Phil Pennock
2011-10-03Merge branch 'list_safety'Phil Pennock
(gnutls fixes had updated some text docs)
2011-09-25EXPAND_LISTMATCH_RHS plumbed into build makefiles.list_safety_merge_proposalPhil Pennock
Tested builds both with and without this option, behaviour matches expectations.
2011-09-25match_* do not expand RHS, unconditionally.Phil Pennock
EXPAND_LISTMATCH_RHS define is checked, but not yet plumbed that into build system.
2011-09-25Implement inlist/inlisti expansion conditionsPhil Pennock
2011-09-24Document match_*/inlist changes (before coding starts)Phil Pennock
2011-09-24Make sure rc is initialisedPhil Pennock
2011-09-24Pull Andreas Metzler's fix for gnutls_certificate_verify_peers (bug 1095)Phil Pennock
2011-09-24TLS1.2 and TLS1.1 support with GnuTLSPhil Pennock
2011-09-05ssize_t for mime.cPhil Pennock
mime_decode_*() functions can return -1 for error, which would be lost when assigning to unsigned int. Sprinkled ssize_t across function return types and result variables.
2011-08-28Handle IPv6 addresses with SPF.Phil Pennock
Patch from Wolfgang Breyha. Also, slight improvements to some debug statements. fixes bug 860
2011-08-28Handle ${run} returning more data than OS pipe buffer size.Phil Pennock
Patch from Holger Weiß. fixes bug 1131
2011-08-27Make maildir_use_size_file expandable.Phil Pennock
Patch from Heiko Schlittermann. Fixes bug 1089
2011-08-27Stop build process more reliably on failure.Phil Pennock
Patch from Heiko Schlittermann. Fixes bug 1087
2011-08-27$av_failed variable set when av_scanner deferredPhil Pennock
Patch from John Horne. Fixes bug 1078
2011-08-27Use .dylib not .so for dynamic libraries on MacOSPhil Pennock
Not tested the drtables.c change for dynamically loaded lookups, only the readline loading for -be interactive mode.
2011-08-27Add protocol=smtps support to smtp transport.Phil Pennock
Permits SSL-on-connect for outbound connections. Heavily based on Simon Arlott's patch, but with enough modifications to risk new bugs. nb: am on a plane, change confirmed to compile on MacOS, nothing more fixes bug 97
2011-08-27Raise smtp_cmd_buffer_size to 16384.Phil Pennock
Needed to interoperate with SASL commands containing a large initial-response; in practice, GSSAPI with authorisation data, such as in a Windows domain. Patch from Paul Fisher. fixes bug 879
2011-07-06Pull strict-aliasing fix for sockaddr_46.Phil Pennock
One-line code change in unattributed .patch file bundled in someone's .src.rpm. We cause plenty of warnings for -Wstrict-aliasing=2, most appear to be signed/unsigned char issues.
2011-06-30Use git to automatically create version.hTony Finch
Adapted from git itself via unifdef. This does not (yet) include the equivalent automation for the doc build.
2011-06-30Another PCRE remnant.Tony Finch
2011-06-30Remove a few PCRE remnants.Tony Finch
2011-06-29Remove obsolete $Cambridge$ CVS revision strings.Tony Finch
I have also de-CVSed the ABOUT files and cleaned up a few introductory comments.
2011-06-17Improved ratelimit ACL condition.Tony Finch
Replace /noupdate with simpler /readonly option. (/noupdate is supported for backwards compatibility but no longer documented.) Better checking of the compatibility between per_* options and the ACL in which the ratelimit condition appears. Better handling of the start of a burst of email and of very low-rate clients. The new /count= option generalizes the per_byte and per_rcpt options. The new /unique= option is a rather groovy use for a Bloom filter.
2011-06-07exiwhat: Ensure the SIGUSR1 signal handler is safe.Tony Finch
exiwhat sends a SIGUSR1 to all exim processes to make them write their status to the process log. This is all done in the signal handler, but the logging code makes a number of calls that are not signal safe. These can all cause crashes or recursive locking in libc. Firstly, obtaining and formatting the timestamp is not safe. Doing so is unnecessary since exiwhat strips off the timestamp. This change removes timestamps from the process log. Secondly, exim closes all the logs after writing the process log. Closing syslog is not signal safe, and isn't necessary. We now only close the process log after writing to it. Thirdly, exim may calculate the process_log_path inside the signal handler which involves some possibly-unsafe string handling code. This change calculates the path when reading the configuration. Fourthly, when exim creates the process log file it might have to call the unsafe directory_create() though this is unlikely in practice. After this change exim only calls log_create() in a subprocess which is safe - it sometimes needs to do so anyway, if it is running as root and needs to drop privileges. The new code has no process log handling in log.c which eliminates some awkward special cases. It uses very simple code to write to the file in the signal handler, so it is obviously safe by inspection.
2011-06-07Ensure we log the error message when unlink() fails.Tony Finch
See also commit ID 0761d44e
2011-06-05DKIM Verification: Fix relaxed canon for empty headers w/oTom Kistner
whitespace trailer
2011-05-09malware.c: avoid arithmetic on a void pointer.Tony Finch
2011-05-09Solaris build fix for Oracle's LDAP libraries.Phil Pennock
Patch from Stephen Usher. fixes 1109
2011-05-08INT_MIN {/,%} -1 = INT_MAX for our purposes.Phil Pennock
Dodge a SIGFPE on x86.
2011-05-08Merge branch 'tom_dev'Tom Kistner
2011-05-08Don't use match_isinlist() for simple string list matchingTom Kistner
2011-05-07Typo fixes from Andreas Metzler.Phil Pennock
fixes bug 1111
2011-05-06Prep for 4.76 release. Version bumps, ChangeLog update.exim-4_76_RC1Phil Pennock
2011-05-04Fix compile of exim_monitorPhil Pennock
The "Compiler masochism compliance" patch changed the log_write() prototype to use "const char *" instead of "char *"; I don't have X11 on my main box, so neglected to handle exim_monitor's duplicate definition of log_write(). Fixes bug 1107
2011-04-30Bugzilla #1106: Don't pass DKIM compound log line as format stringTom Kistner
2011-04-26Cond !bool{}/!bool_lax{} did not negate. Fixed.Phil Pennock
Fixes bug: 1104
2011-04-12Also ${eval:x % 0} fixed to not SIGFPE.Phil Pennock
Pointed out by: Steven A. Reisman
2011-04-12Catch divide-by-zero in ${eval:...}.Phil Pennock
Fixes 1102
2011-03-26Merge branch 'master' of git://git.exim.org/eximPhil Pennock
2011-03-26Revert "Avoid conflicting prototypes for strsignal()"Tom Kistner
This reverts commit 29f20a41029cc5e36a8756ad8dfda64d0ed314ce. Phil has staged something better.
2011-03-26Merge branch 'master' of /home/git/exim into tom_devTom Kistner
2011-03-26Avoid conflicting prototypes for strsignal()Tom Kistner
2011-03-26Rely on system prototypes if we #define our os funcs.Phil Pennock
The const-ness updates broke systems where `os_strsignal()` gets mapped to `strsignal()`, which does *not* return `const char *` but `char *`. If we #define away, then there should be a prototype from the system headers.
2011-03-25Bugzilla #1097: PDKIM: Update embedded PolarSSL code to 0.14.2, thanks to ↵Tom Kistner
Andreas Metzler for the patch!
2011-03-24Also memset(.., 0, ..) the pre-TLS input buffer.Phil Pennock
2011-03-24Extra paranoia around STARTTLS-with-data-in-buffer.Phil Pennock