exim.git
18 years agoApplied Nico Erfurth's refactoring patch to spool_mbox.c.
Philip Hazel [Tue, 12 Sep 2006 10:35:56 +0000 (10:35 +0000)]
Applied Nico Erfurth's refactoring patch to spool_mbox.c.

18 years agoTidy wording on Exim man page.
Philip Hazel [Tue, 12 Sep 2006 10:15:11 +0000 (10:15 +0000)]
Tidy wording on Exim man page.

18 years agoNico Erfurth's patch to refactor mime.c (quoted-printable decoding).
Philip Hazel [Tue, 5 Sep 2006 15:34:40 +0000 (15:34 +0000)]
Nico Erfurth's patch to refactor mime.c (quoted-printable decoding).
Added a small, simple test for quoted-printable decoding.

18 years agoIgnore EPIPE as well as ECONNECT when closing down an SMTP session in
Philip Hazel [Tue, 5 Sep 2006 14:14:32 +0000 (14:14 +0000)]
Ignore EPIPE as well as ECONNECT when closing down an SMTP session in
the daemon, since dropped connections can show as EPIPE in Solaris.

18 years agoAn update to gcc 4 threw up some new uninitialized variable and signed vs
Philip Hazel [Tue, 5 Sep 2006 14:05:43 +0000 (14:05 +0000)]
An update to gcc 4 threw up some new uninitialized variable and signed vs
unsigned compiler warnings.

18 years ago(1) Update version number to 4.64. (2) Ignore callout cached information
Philip Hazel [Tue, 5 Sep 2006 13:24:10 +0000 (13:24 +0000)]
(1) Update version number to 4.64. (2) Ignore callout cached information
that MAIL FROM:<> is rejected when verifying a recipient using a
non-null MAIL address.

18 years agoIn the add_headers option to the mail command in an Exim filter,
Tony Finch [Mon, 21 Aug 2006 11:31:43 +0000 (11:31 +0000)]
In the add_headers option to the mail command in an Exim filter,
there was a bug that Exim would claim a syntax error in any
header after the first one which had an odd number of characters
in the field name.

18 years agoMore 4.63 documentation (noticed an important bit missing at the very exim-4_63
Philip Hazel [Mon, 31 Jul 2006 14:19:31 +0000 (14:19 +0000)]
More 4.63 documentation (noticed an important bit missing at the very
last minute).

18 years agoUpdate filter document for 4.63 release.
Philip Hazel [Mon, 31 Jul 2006 13:28:49 +0000 (13:28 +0000)]
Update filter document for 4.63 release.

18 years agoUpdate reference manual for the 4.63 release.
Philip Hazel [Mon, 31 Jul 2006 13:19:36 +0000 (13:19 +0000)]
Update reference manual for the 4.63 release.

18 years agoAdd { !eq{$h_list-id:$h_list-post:$h_list-subscribe:}{} } as another
Philip Hazel [Fri, 28 Jul 2006 11:39:11 +0000 (11:39 +0000)]
Add { !eq{$h_list-id:$h_list-post:$h_list-subscribe:}{} } as another
"don't send" delay warning condition by default.

18 years agoAllow (?-i) to work as expected in a (n)wildlsearch key.
Philip Hazel [Thu, 27 Jul 2006 13:50:43 +0000 (13:50 +0000)]
Allow (?-i) to work as expected in a (n)wildlsearch key.

18 years agoExim was not testing for a space following SMTP commands such as EHLO
Philip Hazel [Thu, 27 Jul 2006 11:29:32 +0000 (11:29 +0000)]
Exim was not testing for a space following SMTP commands such as EHLO
that require one. Thus, EHLORHUBARB was interpreted as a valid command.
This bug exists in every version of Exim that I still have, right back
to 0.12.

18 years agoRe-jigged the order of the tests in the default configuration so that
Philip Hazel [Thu, 27 Jul 2006 10:36:34 +0000 (10:36 +0000)]
Re-jigged the order of the tests in the default configuration so that
the tests for valid domains and recipients precede the DNS black list
and CSA tests, on the grounds that those ones are more expensive.

18 years agoMade -oMaa and -oMt work with -bh and -bs to pretend the connection is
Philip Hazel [Thu, 27 Jul 2006 10:13:52 +0000 (10:13 +0000)]
Made -oMaa and -oMt work with -bh and -bs to pretend the connection is
authenticated or an ident call has been made. Suppress the default
values for $authenticated_id and $authenticated_sender (but permit -oMai
and -oMas) when testing with -bh.

18 years agoFixed a number of test suite problems as reported (and partly patched)
Philip Hazel [Wed, 26 Jul 2006 14:39:13 +0000 (14:39 +0000)]
Fixed a number of test suite problems as reported (and partly patched)
by Martin Mrazik.

18 years agonote a caveat about print_topbitchars
Tony Finch [Mon, 24 Jul 2006 11:55:15 +0000 (11:55 +0000)]
note a caveat about print_topbitchars

18 years agoexipick 20060721.2
John Jetmore [Fri, 21 Jul 2006 16:48:42 +0000 (16:48 +0000)]
exipick 20060721.2

18 years agoAdd errno=0 before calling getpwnam() in previous patch.
Philip Hazel [Mon, 17 Jul 2006 09:21:00 +0000 (09:21 +0000)]
Add errno=0 before calling getpwnam() in previous patch.

18 years agoAlain Williams' patch for disabling LDAP referrals when requested.
Philip Hazel [Mon, 17 Jul 2006 09:18:09 +0000 (09:18 +0000)]
Alain Williams' patch for disabling LDAP referrals when requested.

18 years agoAdd a call to PQsetNoticeProcessor() to catch PostgreSQL "notices" and
Philip Hazel [Fri, 14 Jul 2006 14:42:57 +0000 (14:42 +0000)]
Add a call to PQsetNoticeProcessor() to catch PostgreSQL "notices" and
thereby stop them being written to stderr (the default).

18 years agoReset the locale after initializing Perl, as well as after calling a Perl
Philip Hazel [Fri, 14 Jul 2006 14:32:08 +0000 (14:32 +0000)]
Reset the locale after initializing Perl, as well as after calling a Perl
function (which it did previously).

18 years agoAdd PQsetClientEncoding(conn, "SQL_ASCII") to the pgsql module.
Philip Hazel [Fri, 14 Jul 2006 14:21:27 +0000 (14:21 +0000)]
Add PQsetClientEncoding(conn, "SQL_ASCII") to the pgsql module.

18 years agoAdd test for negated item as a retry rule pattern.
Philip Hazel [Fri, 14 Jul 2006 14:06:44 +0000 (14:06 +0000)]
Add test for negated item as a retry rule pattern.

18 years agoRejig debug output in route_finduser() to show more data, including the
Philip Hazel [Fri, 14 Jul 2006 14:00:16 +0000 (14:00 +0000)]
Rejig debug output in route_finduser() to show more data, including the
error from getpwnam() if it issues one.

18 years agoAdd a check for Auto-Submitted to the default for
Philip Hazel [Thu, 13 Jul 2006 14:46:05 +0000 (14:46 +0000)]
Add a check for Auto-Submitted to the default for
delay_warning_condition.

18 years agoAdd recognition of SMTP error codes in bespoke messages.
Philip Hazel [Thu, 13 Jul 2006 13:53:32 +0000 (13:53 +0000)]
Add recognition of SMTP error codes in bespoke messages.

18 years agoDiagnose an error for "seen", "unseen", or "noerror" if not followed by
Philip Hazel [Fri, 7 Jul 2006 14:36:04 +0000 (14:36 +0000)]
Diagnose an error for "seen", "unseen", or "noerror" if not followed by
a command.

18 years agoIn the default configuration, change the use of "message" to "add_header"
Philip Hazel [Fri, 7 Jul 2006 13:54:32 +0000 (13:54 +0000)]
In the default configuration, change the use of "message" to "add_header"
in "warn" statements.

18 years agoLog lines flagged for both main and reject logs were not written to
Philip Hazel [Fri, 7 Jul 2006 13:36:33 +0000 (13:36 +0000)]
Log lines flagged for both main and reject logs were not written to
syslog at all when both write_rejectlog and syslog_duplication were
false.

18 years agoApplied patch from Magnus Holmgren to include the "h" tag in Domain Keys
Philip Hazel [Thu, 6 Jul 2006 14:28:03 +0000 (14:28 +0000)]
Applied patch from Magnus Holmgren to include the "h" tag in Domain Keys
signatures.

18 years agoApplied patch from Arkadiusz Miskiewicz to apply a timeout to read
Philip Hazel [Thu, 6 Jul 2006 14:19:50 +0000 (14:19 +0000)]
Applied patch from Arkadiusz Miskiewicz to apply a timeout to read
operations in malware.c.

18 years agoMissed one case of "retry time not reached" when adding additional
Philip Hazel [Tue, 4 Jul 2006 09:07:20 +0000 (09:07 +0000)]
Missed one case of "retry time not reached" when adding additional
debugging information.

18 years agoMore acl_not_smtp_* cross-referencing.
Tony Finch [Mon, 3 Jul 2006 18:11:41 +0000 (18:11 +0000)]
More acl_not_smtp_* cross-referencing.
Suggested by Ross Boylan <ross@biostat.ucsf.edu>.

18 years agoMore debugging information given for retry time not reached.
Philip Hazel [Mon, 3 Jul 2006 15:39:06 +0000 (15:39 +0000)]
More debugging information given for retry time not reached.

18 years agoPatch to use select() when poll() not available in spam.c.
Philip Hazel [Mon, 3 Jul 2006 15:19:44 +0000 (15:19 +0000)]
Patch to use select() when poll() not available in spam.c.

18 years agoIndicate that duplicates shown in -bt output would not result in an
Philip Hazel [Fri, 30 Jun 2006 15:36:08 +0000 (15:36 +0000)]
Indicate that duplicates shown in -bt output would not result in an
additional delivery.

18 years agoRemove commented-out old de-duplication code. It's been over a year now.
Philip Hazel [Fri, 30 Jun 2006 14:14:46 +0000 (14:14 +0000)]
Remove commented-out old de-duplication code. It's been over a year now.

18 years agoChange ${quote_pgsql to quote ' as '' instead of \' because of a
Philip Hazel [Fri, 30 Jun 2006 13:57:46 +0000 (13:57 +0000)]
Change ${quote_pgsql to quote ' as '' instead of \' because of a
security issue.

18 years agoFix typo reported by Matt Sealey <matt@genesi-usa.com>
Tony Finch [Fri, 30 Jun 2006 12:53:48 +0000 (12:53 +0000)]
Fix typo reported by Matt Sealey <matt@genesi-usa.com>

18 years agoUpdate Wish List
Philip Hazel [Fri, 30 Jun 2006 08:53:49 +0000 (08:53 +0000)]
Update Wish List

18 years agoAdd acl_not_smtp_start ACL (mostly Johannes Berg's patch).
Philip Hazel [Wed, 28 Jun 2006 16:00:23 +0000 (16:00 +0000)]
Add acl_not_smtp_start ACL (mostly Johannes Berg's patch).

18 years agoAlex Kiernan's patch for a problem with libradius.
Philip Hazel [Wed, 28 Jun 2006 13:59:12 +0000 (13:59 +0000)]
Alex Kiernan's patch for a problem with libradius.

18 years agoTest tidy up.
Philip Hazel [Wed, 28 Jun 2006 13:53:28 +0000 (13:53 +0000)]
Test tidy up.

18 years agoMagnus Holmgren's patch to fix non-expanding transport home directory
Philip Hazel [Tue, 27 Jun 2006 15:38:07 +0000 (15:38 +0000)]
Magnus Holmgren's patch to fix non-expanding transport home directory
bug.

18 years agoFix Bugzilla #101: macro definition between ACLs doesn't work.
Philip Hazel [Tue, 27 Jun 2006 15:07:18 +0000 (15:07 +0000)]
Fix Bugzilla #101: macro definition between ACLs doesn't work.

18 years agoImplement filter_prepend_home option.
Philip Hazel [Tue, 27 Jun 2006 14:34:26 +0000 (14:34 +0000)]
Implement filter_prepend_home option.

18 years agoUpdate error message for unknown ACL verb.
Philip Hazel [Tue, 27 Jun 2006 14:04:29 +0000 (14:04 +0000)]
Update error message for unknown ACL verb.

18 years agoUpdate to 4.63.
Philip Hazel [Tue, 27 Jun 2006 13:39:24 +0000 (13:39 +0000)]
Update to 4.63.

18 years agoDefine LDAP_DEPRECATED in ldap.c to get the old functions that Exim uses
Philip Hazel [Tue, 27 Jun 2006 13:39:01 +0000 (13:39 +0000)]
Define LDAP_DEPRECATED in ldap.c to get the old functions that Exim uses
included in ldap.h in OpenLDAP.

18 years agoMake it easier to get SMTP authentication and TLS/SSL support working
Tony Finch [Wed, 7 Jun 2006 17:42:27 +0000 (17:42 +0000)]
Make it easier to get SMTP authentication and TLS/SSL support working
by adding some example configuration directives to the default
configuration file. A little bit of work is required to uncomment the
directives and define how usernames and passwords are checked, but
there is now a framework to start from.

18 years agoFix from Dean Brooks for ratelimit per_rcpt in acl_not_smtp.
Tony Finch [Wed, 7 Jun 2006 15:06:25 +0000 (15:06 +0000)]
Fix from Dean Brooks for ratelimit per_rcpt in acl_not_smtp.

18 years agoNote in the spec that $authenticated_id is not set for local
Tony Finch [Wed, 31 May 2006 19:34:57 +0000 (19:34 +0000)]
Note in the spec that $authenticated_id is not set for local
submissions from trusted users.

18 years agoCall initgroups() when dropping privilege, in order that Exim runs with
Tony Finch [Mon, 22 May 2006 18:42:34 +0000 (18:42 +0000)]
Call initgroups() when dropping privilege, in order that Exim runs with
consistent privilege.

18 years agoExim does (usually) call initgroups() when daemonizing.
Tony Finch [Mon, 22 May 2006 17:43:09 +0000 (17:43 +0000)]
Exim does (usually) call initgroups() when daemonizing.

18 years agoAnother wish.
Philip Hazel [Wed, 10 May 2006 15:36:11 +0000 (15:36 +0000)]
Another wish.

18 years agoEximstats updates put into the wrong part of the ChangeLog. Fixed.
Steve Campbell [Mon, 8 May 2006 12:45:05 +0000 (12:45 +0000)]
Eximstats updates put into the wrong part of the ChangeLog. Fixed.

18 years agoAdded chnages to relect eximstats v1.44 - v1.47
Steve Campbell [Fri, 5 May 2006 14:31:24 +0000 (14:31 +0000)]
Added chnages to relect eximstats v1.44 - v1.47

18 years agoFix new tests so they run on sesame. exim-4_62
Philip Hazel [Fri, 28 Apr 2006 13:46:36 +0000 (13:46 +0000)]
Fix new tests so they run on sesame.

18 years agoUpdate documentation, ready for 4.62.
Philip Hazel [Thu, 27 Apr 2006 15:19:27 +0000 (15:19 +0000)]
Update documentation, ready for 4.62.

18 years agoAdd maildirfolder_create_regex to appendfile.
Philip Hazel [Thu, 27 Apr 2006 08:53:24 +0000 (08:53 +0000)]
Add maildirfolder_create_regex to appendfile.

18 years agoFix problem with maildir delivery into a folder that is excluded from
Philip Hazel [Tue, 25 Apr 2006 14:02:29 +0000 (14:02 +0000)]
Fix problem with maildir delivery into a folder that is excluded from
quota calculations.

18 years agoSmall patch from the Sieve maintainer.
Philip Hazel [Tue, 25 Apr 2006 10:44:57 +0000 (10:44 +0000)]
Small patch from the Sieve maintainer.

18 years agoMake lockfile_mode apply to MBX lock files.
Philip Hazel [Tue, 25 Apr 2006 10:06:30 +0000 (10:06 +0000)]
Make lockfile_mode apply to MBX lock files.

18 years agoSpecial test.
Philip Hazel [Thu, 20 Apr 2006 15:43:50 +0000 (15:43 +0000)]
Special test.

18 years agoSkip CVS directory when scanning numbered script directories in test
Philip Hazel [Thu, 20 Apr 2006 15:34:25 +0000 (15:34 +0000)]
Skip CVS directory when scanning numbered script directories in test
suite runtest script.

18 years agoCorrect logging bug for failures to get hints database read lock.
Philip Hazel [Thu, 20 Apr 2006 15:05:15 +0000 (15:05 +0000)]
Correct logging bug for failures to get hints database read lock.

18 years agoMake batch delivery work for files and pipes set up by redirection.
Philip Hazel [Thu, 20 Apr 2006 14:11:29 +0000 (14:11 +0000)]
Make batch delivery work for files and pipes set up by redirection.

18 years agoModify (i.e. fix :-) change 4.61/PH/19: Using message arrival time for
Philip Hazel [Thu, 20 Apr 2006 10:57:46 +0000 (10:57 +0000)]
Modify (i.e. fix :-) change 4.61/PH/19: Using message arrival time for
"first failed" should *not* apply to host errors.

18 years agoAdd -lutil to the default FreeBSD LIBS setting.
Philip Hazel [Wed, 19 Apr 2006 11:15:43 +0000 (11:15 +0000)]
Add -lutil to the default FreeBSD LIBS setting.

18 years agoAdd a test for "!acl=" which was missing (and would have picked up a bug
Philip Hazel [Wed, 19 Apr 2006 11:11:12 +0000 (11:11 +0000)]
Add a test for "!acl=" which was missing (and would have picked up a bug
in 4.61).

18 years agoKludge for tcp-wrappers problem during system catastrophes.
Philip Hazel [Wed, 19 Apr 2006 10:58:21 +0000 (10:58 +0000)]
Kludge for tcp-wrappers problem during system catastrophes.

18 years agoThe MySQL and Postgresql tests hadn't been run for a while and needed
Philip Hazel [Tue, 18 Apr 2006 15:53:58 +0000 (15:53 +0000)]
The MySQL and Postgresql tests hadn't been run for a while and needed
updating.

18 years agoExtend ${readsocket to TCP sockets (modified John Jetmore's patch).
Philip Hazel [Tue, 18 Apr 2006 11:13:19 +0000 (11:13 +0000)]
Extend ${readsocket to TCP sockets (modified John Jetmore's patch).

18 years agoFix typo in usage: seond -> second
Tony Finch [Wed, 12 Apr 2006 13:37:29 +0000 (13:37 +0000)]
Fix typo in usage: seond -> second

18 years agoTypo in NewStuff; up version number.
Philip Hazel [Mon, 10 Apr 2006 08:14:58 +0000 (08:14 +0000)]
Typo in NewStuff; up version number.

18 years agoDocument the acl/add_header fix.
Tony Finch [Tue, 4 Apr 2006 17:10:07 +0000 (17:10 +0000)]
Document the acl/add_header fix.

18 years agoCorrect the order of the acl and add_header entries in a couple of tables.
Tony Finch [Tue, 4 Apr 2006 17:05:45 +0000 (17:05 +0000)]
Correct the order of the acl and add_header entries in a couple of tables.

18 years agoUpdate documentation for 4.61 and some of the preparation tools. exim-4_61
Philip Hazel [Tue, 4 Apr 2006 14:03:49 +0000 (14:03 +0000)]
Update documentation for 4.61 and some of the preparation tools.

18 years agoUpdate test after debug message bug fix.
Philip Hazel [Tue, 4 Apr 2006 14:02:31 +0000 (14:02 +0000)]
Update test after debug message bug fix.

18 years agoWish List update.
Philip Hazel [Tue, 4 Apr 2006 12:59:42 +0000 (12:59 +0000)]
Wish List update.

18 years agoMake dns_again_means_nonexist apply to gethostbyname lookups as well.
Philip Hazel [Tue, 4 Apr 2006 11:18:30 +0000 (11:18 +0000)]
Make dns_again_means_nonexist apply to gethostbyname lookups as well.

18 years ago\n missing in some debug messages.
Philip Hazel [Tue, 4 Apr 2006 10:01:20 +0000 (10:01 +0000)]
\n missing in some debug messages.

18 years agoChange misleading debugging wording "lookup deferred" -> "list match
Philip Hazel [Tue, 4 Apr 2006 09:48:50 +0000 (09:48 +0000)]
Change misleading debugging wording "lookup deferred" -> "list match
deferred" (because it isn't necessarily a lookup in the Exim sense).

18 years agoFix subtle but important bug in ip_connect(); it shouldn't close the
Philip Hazel [Tue, 4 Apr 2006 09:09:44 +0000 (09:09 +0000)]
Fix subtle but important bug in ip_connect(); it shouldn't close the
socket on a connection error. Also ensure that socket is closed in
iplookup.c after ip_connect() failure.

18 years agoTwo compiler warnings in sieve.c.
Philip Hazel [Tue, 4 Apr 2006 08:35:39 +0000 (08:35 +0000)]
Two compiler warnings in sieve.c.

18 years agoWish List update.
Philip Hazel [Fri, 31 Mar 2006 08:37:47 +0000 (08:37 +0000)]
Wish List update.

18 years agoFix bounces for non-SMTP reception errors to recognize
Philip Hazel [Mon, 20 Mar 2006 10:55:21 +0000 (10:55 +0000)]
Fix bounces for non-SMTP reception errors to recognize
bounce_return_xxx.

18 years agoFix address sorting untidiness for the test suite.
Philip Hazel [Fri, 17 Mar 2006 16:51:45 +0000 (16:51 +0000)]
Fix address sorting untidiness for the test suite.

18 years agoHP-UX configuration update.
Philip Hazel [Fri, 17 Mar 2006 09:39:00 +0000 (09:39 +0000)]
HP-UX configuration update.

18 years agoTest suite tidies.
Philip Hazel [Thu, 16 Mar 2006 14:23:36 +0000 (14:23 +0000)]
Test suite tidies.

18 years agoAdded configuration files for NetBSD3.
Philip Hazel [Thu, 16 Mar 2006 14:00:50 +0000 (14:00 +0000)]
Added configuration files for NetBSD3.

18 years agoChange HAVE_LOGIN_CAP to HAVE_SETCLASSRESOURCES because the former isn't
Philip Hazel [Thu, 16 Mar 2006 12:25:24 +0000 (12:25 +0000)]
Change HAVE_LOGIN_CAP to HAVE_SETCLASSRESOURCES because the former isn't
an accurate name (different APIs use login_cap.h, apparently).

18 years agoFix $address_data after verification redirect then defer/fail bug.
Philip Hazel [Thu, 16 Mar 2006 12:07:55 +0000 (12:07 +0000)]
Fix $address_data after verification redirect then defer/fail bug.

18 years agoAdd -k and -l to exicyclog.
Philip Hazel [Thu, 16 Mar 2006 11:51:09 +0000 (11:51 +0000)]
Add -k and -l to exicyclog.

18 years agoUser, not system, error message for VRFY defer.
Philip Hazel [Thu, 16 Mar 2006 11:14:46 +0000 (11:14 +0000)]
User, not system, error message for VRFY defer.

18 years agoAdd new errors mail_4xx, data_4xx, lost_connection, tls_required.
Philip Hazel [Thu, 9 Mar 2006 15:10:16 +0000 (15:10 +0000)]
Add new errors mail_4xx, data_4xx, lost_connection, tls_required.

18 years agoAllow for linefold when generating more than one RFC 2047 encoded-word.
Philip Hazel [Wed, 8 Mar 2006 11:13:07 +0000 (11:13 +0000)]
Allow for linefold when generating more than one RFC 2047 encoded-word.
Sieve uses this.

18 years agoTidies to SMTP dialogue debugging output.
Philip Hazel [Wed, 8 Mar 2006 10:49:18 +0000 (10:49 +0000)]
Tidies to SMTP dialogue debugging output.

18 years agoNew os.c-cygwin (and some minor WishList change I forgot to commit).
Philip Hazel [Wed, 8 Mar 2006 09:43:10 +0000 (09:43 +0000)]
New os.c-cygwin (and some minor WishList change I forgot to commit).