exim.git
19 years agoTK10/11/12
Tom Kistner [Mon, 27 Jun 2005 18:34:35 +0000 (18:34 +0000)]
TK10/11/12

19 years agoRemove tabs and trailing spaces ...
Tom Kistner [Mon, 27 Jun 2005 18:32:20 +0000 (18:32 +0000)]
Remove tabs and trailing spaces ...

19 years agoFixed some compiler warnings
Tom Kistner [Mon, 27 Jun 2005 18:10:30 +0000 (18:10 +0000)]
Fixed some compiler warnings

19 years agoFix HAVE_NS_TYPE for the SPF lookup type too
Tom Kistner [Mon, 27 Jun 2005 18:01:02 +0000 (18:01 +0000)]
Fix HAVE_NS_TYPE for the SPF lookup type too

19 years agoFix recursive inclusion of spf.h
Tom Kistner [Mon, 27 Jun 2005 15:28:45 +0000 (15:28 +0000)]
Fix recursive inclusion of spf.h

19 years agoImplement "testing" flag lookup logic
Tom Kistner [Mon, 27 Jun 2005 15:11:59 +0000 (15:11 +0000)]
Implement "testing" flag lookup logic

19 years agoFix cosmetic compiler warnings
Tom Kistner [Mon, 27 Jun 2005 15:11:04 +0000 (15:11 +0000)]
Fix cosmetic compiler warnings

19 years agoAdded an item in NewStuff about -d+all.
Philip Hazel [Mon, 27 Jun 2005 14:34:33 +0000 (14:34 +0000)]
Added an item in NewStuff about -d+all.

19 years agoAdded lots of "(void)" casts to standard function calls.
Philip Hazel [Mon, 27 Jun 2005 14:29:43 +0000 (14:29 +0000)]
Added lots of "(void)" casts to standard function calls.

19 years agoFix previous attempt to remove "memory" from debug "all".
Philip Hazel [Mon, 27 Jun 2005 14:29:04 +0000 (14:29 +0000)]
Fix previous attempt to remove "memory" from debug "all".

19 years agoAdd checks and local definitions for all T_xxx macros, not just a few
Philip Hazel [Mon, 27 Jun 2005 10:52:20 +0000 (10:52 +0000)]
Add checks and local definitions for all T_xxx macros, not just a few
special ones.

19 years agoRemoved support for Linux-libc5. It must be well obsolete, and the code
Philip Hazel [Mon, 27 Jun 2005 10:40:14 +0000 (10:40 +0000)]
Removed support for Linux-libc5. It must be well obsolete, and the code
in the os-type script was giving problems when libc.so lives in lib64,
like on x86_64 Fedora Core.

19 years agoAdd dependencies on spf.h, srs.h, dk.h to spf.o, srs.o, and dk.o in the
Philip Hazel [Mon, 27 Jun 2005 10:24:43 +0000 (10:24 +0000)]
Add dependencies on spf.h, srs.h, dk.h to spf.o, srs.o, and dk.o in the
makefile, as these are not listed in the general $(HDRS) list.

19 years agoRemove "memory" from -d+all; it's voluminous and rarely useful.
Philip Hazel [Mon, 27 Jun 2005 10:21:38 +0000 (10:21 +0000)]
Remove "memory" from -d+all; it's voluminous and rarely useful.

19 years agoFix order of results in spf_result_id_list table conforming to lib version 1.2.x
Tom Kistner [Fri, 24 Jun 2005 08:36:48 +0000 (08:36 +0000)]
Fix order of results in spf_result_id_list table conforming to lib version 1.2.x

19 years agoFixed putting a NUL char in a libdomainkeys buffer
Tom Kistner [Fri, 24 Jun 2005 08:23:21 +0000 (08:23 +0000)]
Fixed putting a NUL char in a libdomainkeys buffer

19 years agoFix crash when callout to an address routed by a verify_only router with
Philip Hazel [Thu, 23 Jun 2005 10:02:13 +0000 (10:02 +0000)]
Fix crash when callout to an address routed by a verify_only router with
no transport.

19 years agoInsert a lot of missing (void) casts.
Philip Hazel [Wed, 22 Jun 2005 15:44:37 +0000 (15:44 +0000)]
Insert a lot of missing (void) casts.

19 years agoPut debug statements on either side of EXIM_DBOPEN() so as to pin down
Philip Hazel [Wed, 22 Jun 2005 14:45:05 +0000 (14:45 +0000)]
Put debug statements on either side of EXIM_DBOPEN() so as to pin down
crashes while opening hints files.

19 years agoAdded the long-awaited ${if match_ip condition.
Philip Hazel [Wed, 22 Jun 2005 10:17:22 +0000 (10:17 +0000)]
Added the long-awaited ${if match_ip condition.

19 years agoImplement daemon_startup_{retries,sleep} to control startup retrying.
Philip Hazel [Tue, 21 Jun 2005 14:14:55 +0000 (14:14 +0000)]
Implement daemon_startup_{retries,sleep} to control startup retrying.

19 years agoCompiling with DomainKeys caused the test suite to show up some bugs:
Philip Hazel [Mon, 20 Jun 2005 13:58:22 +0000 (13:58 +0000)]
Compiling with DomainKeys caused the test suite to show up some bugs:
(1) The filter variables $n0-$n9 and $sn0-$sn9 were broken.
(2) The table of control names was missing some conditional names,
leading to the wrong name in some error messages.

19 years agoAdd a whole pile of casts to get rid of compiler warnings in Tom's DK
Philip Hazel [Mon, 20 Jun 2005 11:20:41 +0000 (11:20 +0000)]
Add a whole pile of casts to get rid of compiler warnings in Tom's DK
code. I hadn't compiled it before, but a user complained...

19 years agoReturn "100" instead of NULL from prvs function if system clock is way
Philip Hazel [Mon, 20 Jun 2005 10:28:33 +0000 (10:28 +0000)]
Return "100" instead of NULL from prvs function if system clock is way
out.

19 years agoFix bug in my conversion of Tom's snprintf to string_vformat. Also make
Philip Hazel [Mon, 20 Jun 2005 10:04:55 +0000 (10:04 +0000)]
Fix bug in my conversion of Tom's snprintf to string_vformat. Also make
local functions static.

19 years agoUpdate Tru64 (OSF1) configuration after some email reports.
Philip Hazel [Mon, 20 Jun 2005 08:52:45 +0000 (08:52 +0000)]
Update Tru64 (OSF1) configuration after some email reports.

19 years agoAllow the message "All relevant MX records point to non-existent hosts"
Philip Hazel [Fri, 17 Jun 2005 14:20:48 +0000 (14:20 +0000)]
Allow the message "All relevant MX records point to non-existent hosts"
to be included in bounce messages, as it doesn't seem to be a security
risk.

19 years agoAdded macros for time_t as for off_t and used them to rework the code of
Philip Hazel [Fri, 17 Jun 2005 13:52:14 +0000 (13:52 +0000)]
Added macros for time_t as for off_t and used them to rework the code of
Tom's prvs patch to avoid the hardwired use of "%lld" and "long long".
Replaced the call to snprintf() with a call to string_vformat().

19 years agoTidy up Exim's PCRE Makefile to generate tidier output like the other
Philip Hazel [Fri, 17 Jun 2005 11:33:00 +0000 (11:33 +0000)]
Tidy up Exim's PCRE Makefile to generate tidier output like the other
Exim Makefiles.

19 years agoMichael Haardt's patch to update Sieve to RFC3028bis.
Philip Hazel [Fri, 17 Jun 2005 10:47:05 +0000 (10:47 +0000)]
Michael Haardt's patch to update Sieve to RFC3028bis.

19 years agoVerify recipient with use_postmaster and random was losing
Philip Hazel [Fri, 17 Jun 2005 10:20:30 +0000 (10:20 +0000)]
Verify recipient with use_postmaster and random was losing
use_postmaster after the random test.

19 years agoApplied Michael Haardt's HP-UX patch.
Philip Hazel [Fri, 17 Jun 2005 09:02:40 +0000 (09:02 +0000)]
Applied Michael Haardt's HP-UX patch.

19 years agoPut in some casts for signed/unsigned character strings that Tom forgot
Philip Hazel [Fri, 17 Jun 2005 08:23:28 +0000 (08:23 +0000)]
Put in some casts for signed/unsigned character strings that Tom forgot
in expand.c. :-)

19 years agoTK/02
Tom Kistner [Thu, 16 Jun 2005 20:03:43 +0000 (20:03 +0000)]
TK/02

19 years agoTK/09
Tom Kistner [Thu, 16 Jun 2005 20:02:42 +0000 (20:02 +0000)]
TK/09

19 years agoadded "prvs" and "prvscheck" expansion items
Tom Kistner [Thu, 16 Jun 2005 20:01:29 +0000 (20:01 +0000)]
added "prvs" and "prvscheck" expansion items

19 years ago(1) Applied Matthew Newton's exicyclog patch. (2) Another wish.
Philip Hazel [Thu, 16 Jun 2005 15:48:58 +0000 (15:48 +0000)]
(1) Applied Matthew Newton's exicyclog patch. (2) Another wish.

19 years agoCheck the length of off_t at build time and use %ld or %lld to print
Philip Hazel [Thu, 16 Jun 2005 14:10:13 +0000 (14:10 +0000)]
Check the length of off_t at build time and use %ld or %lld to print
off_t values as appropriate. Assume that %lld is available if the size
of off_t is greater than 4. This involved some modifications to
string_vformat() in order to handle %lld.

19 years agoInstall all the files that comprise the new DocBook way of making the
Philip Hazel [Thu, 16 Jun 2005 10:32:31 +0000 (10:32 +0000)]
Install all the files that comprise the new DocBook way of making the
documentation.

19 years agoFix typo in previous commit.
Tony Finch [Wed, 15 Jun 2005 14:16:05 +0000 (14:16 +0000)]
Fix typo in previous commit.

19 years agoSome systems need an explicit -ldl in order to support EXPAND_DLFUNC
Tony Finch [Wed, 15 Jun 2005 14:12:49 +0000 (14:12 +0000)]
Some systems need an explicit -ldl in order to support EXPAND_DLFUNC

19 years agoInstalled PCRE 6.0 sources, which involved adding a number of files and
Philip Hazel [Wed, 15 Jun 2005 08:57:10 +0000 (08:57 +0000)]
Installed PCRE 6.0 sources, which involved adding a number of files and
renaming some others.

19 years agoAuto_thaw no longer applies to bounce messages.
Philip Hazel [Tue, 14 Jun 2005 13:48:40 +0000 (13:48 +0000)]
Auto_thaw no longer applies to bounce messages.

19 years agoAdd Tony's wish about the default config so that it won't get forgotten;
Philip Hazel [Tue, 14 Jun 2005 10:40:41 +0000 (10:40 +0000)]
Add Tony's wish about the default config so that it won't get forgotten;
hopefully it will be done for the 4.60 release (but not before).

19 years agoApplied Alex Kiernan's patch for the API change in BDB 4.3.
Philip Hazel [Tue, 14 Jun 2005 10:32:01 +0000 (10:32 +0000)]
Applied Alex Kiernan's patch for the API change in BDB 4.3.

19 years agoFix a typo in an error message for ${extract reported by
Tony Finch [Mon, 13 Jun 2005 13:37:39 +0000 (13:37 +0000)]
Fix a typo in an error message for ${extract reported by
Jeremy Harris <jgh@wizmail.org> in exim-users Message-ID:
<42AC48EB.90406@wizmail.org>

19 years agoAnother ratelimit tweak. I didn't anticipate people using per_cmd
Tony Finch [Fri, 10 Jun 2005 19:27:05 +0000 (19:27 +0000)]
Another ratelimit tweak. I didn't anticipate people using per_cmd
ratelimits more than once in the same ACL (e.g. to increase the
delay for higher rates) so the code didn't do the right thing in
that situation. There's now a per_cmd cache which is reset at the
start of each ACL run.

19 years agoA minor code clean-up and a comment fix for the CSA patch arising
Tony Finch [Fri, 10 Jun 2005 18:59:34 +0000 (18:59 +0000)]
A minor code clean-up and a comment fix for the CSA patch arising
from a bug report by John Horne. The lack of initialization of the
found variable in acl_verify_csa() was not a bug but I've fixed it
because it's risky.

Bug ID 26

19 years agoTK/08
Tom Kistner [Fri, 10 Jun 2005 13:39:52 +0000 (13:39 +0000)]
TK/08

19 years agoRevert accidental bogus checkin, sorry
Tom Kistner [Fri, 10 Jun 2005 13:38:06 +0000 (13:38 +0000)]
Revert accidental bogus checkin, sorry

19 years agoFix possible endless loop due to dying spamd
Tom Kistner [Fri, 10 Jun 2005 13:29:36 +0000 (13:29 +0000)]
Fix possible endless loop due to dying spamd

19 years agoRemove 2G quota wish (now implemented); add 2G message wish, for some
Philip Hazel [Tue, 7 Jun 2005 15:36:47 +0000 (15:36 +0000)]
Remove 2G quota wish (now implemented); add 2G message wish, for some
time in the future.

19 years agoUpgrade appendfile so that it is capable of handling quotas that are
Philip Hazel [Tue, 7 Jun 2005 15:20:55 +0000 (15:20 +0000)]
Upgrade appendfile so that it is capable of handling quotas that are
greater than 2G.

19 years agoFix ${def: bug which treated "0" as false. Also diagnose syntax error of
Philip Hazel [Tue, 7 Jun 2005 10:41:26 +0000 (10:41 +0000)]
Fix ${def: bug which treated "0" as false. Also diagnose syntax error of
unexpected characters after the variable name.

19 years agoInstalled exipick 20050604.1 as supplied by John Jetmore.
Philip Hazel [Tue, 7 Jun 2005 09:15:04 +0000 (09:15 +0000)]
Installed exipick 20050604.1 as supplied by John Jetmore.

19 years agoAdded Chris Webb contribution
Tom Kistner [Mon, 6 Jun 2005 19:30:18 +0000 (19:30 +0000)]
Added Chris Webb contribution

19 years agoTk05-07
Tom Kistner [Mon, 6 Jun 2005 19:23:03 +0000 (19:23 +0000)]
Tk05-07

19 years agoMerged patched from Alex Miller: 1) Improve aveserver failure handling 2) Write prope...
Tom Kistner [Mon, 6 Jun 2005 18:49:35 +0000 (18:49 +0000)]
Merged patched from Alex Miller: 1) Improve aveserver failure handling 2) Write proper mbox delimiter in .eml files. 3) add X-Envelope-Sender and X-Envelope-To headers to .eml file

19 years agoAdded a "consolidating" wish to connect several ideas about header
Philip Hazel [Mon, 6 Jun 2005 08:37:17 +0000 (08:37 +0000)]
Added a "consolidating" wish to connect several ideas about header
handling.

19 years agoChangelog updated with details of the eximstats changes.
Steve Campbell [Fri, 3 Jun 2005 14:37:20 +0000 (14:37 +0000)]
Changelog updated with details of the eximstats changes.

19 years agoAdded -xls and the ability to specify output files (Frank Heydlauf).
Steve Campbell [Fri, 3 Jun 2005 14:28:50 +0000 (14:28 +0000)]
Added -xls and the ability to specify output files (Frank Heydlauf).
Use FileHandles for outputing results.
Allow any combination of xls, txt, and html output.
Fixed display of large numbers with -nvr option
Fixed merging of reports with empty tables.
Added the -include_original_destination flag
Removed tabs and trailing whitespace.

19 years agoAnother wish.
Philip Hazel [Fri, 3 Jun 2005 13:45:15 +0000 (13:45 +0000)]
Another wish.

19 years agoratelimit fix: omit the limit parameter from the database lookup
Tony Finch [Tue, 31 May 2005 17:07:39 +0000 (17:07 +0000)]
ratelimit fix: omit the limit parameter from the database lookup
key, so that minor configuration tweaks do not cause Exim to forget
clients' stored rates. The smoothing period and options affect the
meaning of the stored state, so are still included in the key.

19 years agoSome new wishes.
Philip Hazel [Tue, 31 May 2005 11:31:30 +0000 (11:31 +0000)]
Some new wishes.

19 years agoMinor tweak to a comment.
Philip Hazel [Tue, 31 May 2005 11:10:50 +0000 (11:10 +0000)]
Minor tweak to a comment.

19 years agoAdd "fullpostmaster" to check <postmaster> without a domain, if the
Philip Hazel [Tue, 31 May 2005 10:58:18 +0000 (10:58 +0000)]
Add "fullpostmaster" to check <postmaster> without a domain, if the
domained version fails.

19 years ago4.52 TK/01
Tom Kistner [Wed, 25 May 2005 20:33:28 +0000 (20:33 +0000)]
4.52 TK/01

19 years agoTK/04
Tom Kistner [Wed, 25 May 2005 20:32:44 +0000 (20:32 +0000)]
TK/04

19 years agoAdd simple SPF lookup method (armored in EXPERIMENTAL_SPF)
Tom Kistner [Wed, 25 May 2005 20:07:55 +0000 (20:07 +0000)]
Add simple SPF lookup method (armored in EXPERIMENTAL_SPF)

19 years agoFix possible NULL secret
Tom Kistner [Wed, 25 May 2005 17:50:33 +0000 (17:50 +0000)]
Fix possible NULL secret

19 years agoChange the result of the ratelimit ACL condition when clients are sending
Tony Finch [Wed, 25 May 2005 09:58:16 +0000 (09:58 +0000)]
Change the result of the ratelimit ACL condition when clients are sending
exactly at the limit, in order to improve the behaviour of certain edge
cases. The result was FAIL (under limit) and it's now OK (over limit).

19 years agoReduce the timeout when writing a block has to be done in several
Philip Hazel [Tue, 24 May 2005 14:56:26 +0000 (14:56 +0000)]
Reduce the timeout when writing a block has to be done in several
write() calls.

19 years agoPut DPC's mkcdb script (with tabs removed) into the util directory, and
Philip Hazel [Tue, 24 May 2005 11:20:40 +0000 (11:20 +0000)]
Put DPC's mkcdb script (with tabs removed) into the util directory, and
also created a README file for that directory.

19 years agoRemove broken code in exim.h that tried to preserve EX_OK when it was
Philip Hazel [Tue, 24 May 2005 10:57:10 +0000 (10:57 +0000)]
Remove broken code in exim.h that tried to preserve EX_OK when it was
redefined in unistd.h (IRIX6). It didn't matter because EX_OK is not
used.

19 years agoRemove C++ style comments accidentally introduced by Tom. :-)
Philip Hazel [Tue, 24 May 2005 08:50:35 +0000 (08:50 +0000)]
Remove C++ style comments accidentally introduced by Tom. :-)

19 years agoTK/02 TK/03
Tom Kistner [Tue, 24 May 2005 08:28:58 +0000 (08:28 +0000)]
TK/02 TK/03

19 years agoSPF: rewrote code to work with 1.2.x libsfp2 series. SRS: upgraded to latest patch...
Tom Kistner [Tue, 24 May 2005 08:15:01 +0000 (08:15 +0000)]
SPF: rewrote code to work with 1.2.x libsfp2 series. SRS: upgraded to latest patch from Miles Wilton. Misc: remove some tabs and whitespace.

19 years agoAdd the ratelimit ACL condition. This is mostly reasonably self-contained
Tony Finch [Mon, 23 May 2005 16:58:55 +0000 (16:58 +0000)]
Add the ratelimit ACL condition. This is mostly reasonably self-contained
except that it requires changes to most Makefiles in order to bring in the
maths library for the exp() function.

19 years agoExpand the documentation about the new submission mode behaviour.
Tony Finch [Mon, 23 May 2005 15:44:06 +0000 (15:44 +0000)]
Expand the documentation about the new submission mode behaviour.

19 years agoAdd control=fakedefer to go with control=fakereject.
Tony Finch [Mon, 23 May 2005 15:28:37 +0000 (15:28 +0000)]
Add control=fakedefer to go with control=fakereject.

19 years agoInstalled a modified version of Tony's submission enhancement patch +
Philip Hazel [Tue, 17 May 2005 15:00:04 +0000 (15:00 +0000)]
Installed a modified version of Tony's submission enhancement patch +
two small bugfixes.

19 years agoOutput the warning log line about deferring conditions in "warn"
Philip Hazel [Tue, 17 May 2005 11:20:32 +0000 (11:20 +0000)]
Output the warning log line about deferring conditions in "warn"
statements every time, not just once per message.

19 years agoTidy up "make" output along the lines of a 2.6 kernel make (just a short
Philip Hazel [Tue, 17 May 2005 09:53:34 +0000 (09:53 +0000)]
Tidy up "make" output along the lines of a 2.6 kernel make (just a short
line for each compile). The full output can still be requested, however.

19 years agoAnother wish.
Philip Hazel [Thu, 12 May 2005 08:26:09 +0000 (08:26 +0000)]
Another wish.

19 years agoAdded a long comment to acl.c about the problem of detecting a client
Philip Hazel [Wed, 11 May 2005 09:26:55 +0000 (09:26 +0000)]
Added a long comment to acl.c about the problem of detecting a client
going away during a "delay" wait.

19 years agoCreate ChangeLog entry for Tom's poll() fix.
Philip Hazel [Wed, 11 May 2005 08:05:10 +0000 (08:05 +0000)]
Create ChangeLog entry for Tom's poll() fix.

19 years agoFix poll() being unavailable on Mac OSX 10.2
Tom Kistner [Tue, 10 May 2005 22:39:20 +0000 (22:39 +0000)]
Fix poll() being unavailable on Mac OSX 10.2

19 years agoAdd commented-out example of CSA check to the default configuration.
Philip Hazel [Tue, 10 May 2005 14:48:07 +0000 (14:48 +0000)]
Add commented-out example of CSA check to the default configuration.

19 years agoA new wish about header modification handling in unseen routers.
Philip Hazel [Tue, 10 May 2005 14:34:21 +0000 (14:34 +0000)]
A new wish about header modification handling in unseen routers.

19 years ago1. Preserve underlying transport filter timeout message if a pipe
Philip Hazel [Tue, 10 May 2005 11:13:09 +0000 (11:13 +0000)]
1. Preserve underlying transport filter timeout message if a pipe
command ends in failure.

19 years ago1. Update version.
Philip Hazel [Tue, 10 May 2005 10:19:11 +0000 (10:19 +0000)]
1. Update version.
2. Apply Tony's CSA patch (with some fixes) and add simple test.

19 years ago(1) New Wish. (2) Typo and tabs in FAQ source.
Philip Hazel [Fri, 6 May 2005 08:28:16 +0000 (08:28 +0000)]
(1) New Wish. (2) Typo and tabs in FAQ source.

19 years agoPass $(MAKE) to the scripts/Configure-config.h script so that it uses exim-4_51
Philip Hazel [Wed, 4 May 2005 10:17:28 +0000 (10:17 +0000)]
Pass $(MAKE) to the scripts/Configure-config.h script so that it uses
the same command (e.g. "gmake") that was called externally.

19 years agoLooks like HP-UX needs these settings to avoid compiler warnings:
Philip Hazel [Tue, 3 May 2005 14:22:12 +0000 (14:22 +0000)]
Looks like HP-UX needs these settings to avoid compiler warnings:
#define ICONV_ARG2_TYPE char **
#define EXIM_SOCKLEN_T size_t

19 years ago(1) Don't ignore timeouts while writing to a pipe! (As opposed to
Philip Hazel [Tue, 3 May 2005 14:20:00 +0000 (14:20 +0000)]
(1) Don't ignore timeouts while writing to a pipe! (As opposed to
timeout of the pipe command process.)
(2) Add timeout_defer option to turn timeouts into defers (default has
always been to fail).
(3) An upgrade to my desktop OS and to SSL has caused the output from
some of the test scripts to change.

19 years agoPatch from Sieve maintainer for latest vacation updates.
Philip Hazel [Tue, 3 May 2005 10:02:27 +0000 (10:02 +0000)]
Patch from Sieve maintainer for latest vacation updates.

19 years agoWish for memory shortage queue-only.
Philip Hazel [Tue, 3 May 2005 08:38:13 +0000 (08:38 +0000)]
Wish for memory shortage queue-only.

19 years agoAdd 3 DomainKeys globals to eximon
Tom Kistner [Fri, 29 Apr 2005 11:54:23 +0000 (11:54 +0000)]
Add 3 DomainKeys globals to eximon

19 years agoMake $value usable in the "else" part of ${run.
Philip Hazel [Thu, 28 Apr 2005 13:29:27 +0000 (13:29 +0000)]
Make $value usable in the "else" part of ${run.

19 years agoWish for quotas > 2G.
Philip Hazel [Thu, 28 Apr 2005 13:12:24 +0000 (13:12 +0000)]
Wish for quotas > 2G.