map-regex CHANGES-log
3.0 map-regex is included in sendmail-8.9. The rulesets are now known as
check_local. New location:
http://www.unix-ag.uni-hannover.de/soft/check_local/
The map-regex-2.8 is available for older sendmails.
It is not supported any longer.
2.8 headers.c.patch: fixed a bug with empty header-fields.
added _CHECK_HEADER_MESSAGE_ID_
(suggested by: Mark G. Thomas <Mark@Misty.com>)
parse_received: changed [^[.@()] -> [^[().@], due to some
buggy regex-libs. (thanks to: Scot W. Hetzel <hetzels@westbend.net>)
2.7 headers.c.patch: the encapsulated ("value") is now optional.
See the documentation. check_header.m4 adjusted.
minor bugfix in map_regex.c
2.6 the number of substrings is now taken from regex_t.
substring_count() is not used any longer. added range
check in parse_fields()
(thanks to: Kari.Hurtta@ozone.fmi.fi)
fixed a minor bug in the "(<>)" checking part of
map_regex_lookup()
2.5 added _RBLOVERRIDE_LOCALIP_
added _LOCAL_SUBNETBITS_
map_storage.c: added option -h for adding a header field like
X-Spam-Header
added lookup-option 'c' for clearing the storage
added _X_SPAM_HEADER_
2.4 added README.map-storage
added lookup option 'b' to map_storage.c
2.3 headers.c.patch: added MAX_RSCHECK to fix a buflen
problem with prescan.
fixed a distribution bug in conf.c.patch
(thanks to: Nels Lindquist )
2.2 added _CHECK_HEADER_CC_
map_regex.c: added some code to make it more robust against
unbalanced '(<"' when using option -s.
headers.c.patch: check if strlen(fvalue) < MAXNAME. Skip the
rscheck for too long Header-Fields.
2.1 changed _CHECK_HEADER_REPLY-TO_ to _CHECK_HEADER_REPLY_TO_, because
there are problems with AIX's m4
(thanks to: Simon Travaglia )
fixed a bug in parse_received pattern: 553 unbalanced '('
2.0 added option _FRIEND_STORAGE_ in check_header.m4
added map_storage.c for option _FRIEND_STORAGE_
added MAPDEF("storage", ...) in conf.c.patch
changed headers.c.patch: rewrite some characters like \n and \r
as ' ' for better readable syslog.
1.5 fixed a major bug with 'Received: (from user@localhost)' in the
parse_received pattern.
added RBL support to Slookup_ip. See http://maps.vix.com/rbl/
added checkregex support to Slookup_address ;-)
added new ruleset Scheck_from to check_header
check_received is now known as check_header: There are several
new options, see README.check_header
1.4 changed the pattern in check_received.m4 to a more general one.
Parsing is done in 2 steps now, cause of problems with
hostnames like 1234.domain.com.
1.3 added check_received.m4, README.check_header, headers.c.patch
1.2 added option -m
added optional parameter to option -s
changed default behaviour of -s without parameter:
return substring[0..n]
1.1 changed default delimiter to CONDELSE ($|)
added substring_count(),
learned to count substrings in basic expressions
added syserr(), if substrings > MAX_MATCH
added char *ldp to avoid buffer overflow (option -s)
1.0 initial release