56b944f6c2
Sat Mar 17 19:29:59 MET 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com> . Description: Added credits for Manoj Srivastava, the Debian packager, for his wonderful work. Added two variables: domain and hidenet, in order to address the Debian bug #72737. The values hardwired at Configure time in mailagent are now used only up to the moment where we have parsed the user configuration. Forgot to increment buf in pool_read(), in the C filter. This was an important bug, which had never hit me however. I noticed it by looking a the Debian patches. Use the "email" config var verbatim in FORWARD. It used to determine the Resent-From: by constructing a full email address, but this is wrong. We should use whatever the user said, and it is up to MTAs to fix the address should it be unqualified. Removed unused var in POST. Fixed longstanding lie in man; "To: gue@eiffel.fr" now works as advertised in the man page. It also means you can write: To Cc: user@example.com instead of the heavier: To Cc: /^user@example\.com$/ However, if you wish to use more complex patterns, you still have to use the /^/ anchored form. Create a new filter/address test to test various matching patterns on address selectors. Try to run tests as nobody when super-user -- from Debian. Fixed test rules for UNIQUE, removing spurious REJECT -f. The error present in the man page had also propagated to the test cases. . Files changed: * agent/files/setup.cf, agent/files/mailagent.cf: Added two variables: domain and hidenet. * agent/filter/io.c: Forgot to increment buf in pool_read() -- from Debian. * agent/magent.sh: Mydomain and hiddennet now superseded by config vars. Changed email_addr() and domain_addr() to honour new config vars. * agent/man/mailagent.SH: Documented new config vars: domain and hidenet. Various fixes from bug reports on Debian. * agent/pl/actions.pl: Use the "email" config var verbatim in FORWARD. Removed unused var in POST. * agent/pl/builtins.pl: Hostname computed via domain_addr() to honour hidenet. * agent/pl/matching.pl: Fixed longstanding lie in man; "To: gue@eiffel.fr" now works. * agent/pl/parse.pl: Use the "domain" config var instead of mydomain. * agent/pl/read_conf.pl: Computes suitable defaults for new "domain" and "hidenet". * agent/pl/rfc822.pl: Use "domain" config var instead of mydomain. * agent/test/TEST: Try to run tests as nobody when super-user -- from Debian. * agent/test/actions: Fixed test rules for UNIQUE, removing spurious REJECT -f. * agent/test/filter/address.t: Created. * agent/test/filter/list.t: Unlink files we expect to be created before running command. * agent/test/rules: Added new filter/address tests. Tue Mar 13 14:27:14 MET 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com> . Description: Made fixup of header fields in POST be a warning in the logs, instead of a mere notice. Added fix for broken continuations in parse_mail(). I have started receiving messages with invalid header continuations, and this led to failure in POST: the remote news server is much more strict on headers than mail agents. Fixed RESYNC, copied continuation fix from parse_mail(). Added support for SUBST/TR on mail headers: it is now possible to say something like: SUBST Subject: /foo/bar/g; to alter header field in place. See the updated manual page for details. Added rule to suppress () and {} in message ids, since again it led to failures when using POST. Added test cases for SUBST/TR on header fields. The newsgate program now computes the In-Reply-To field via a regexp instead of a split on References to cope with bad References line that dont have a space between message ids. . Files changed: * agent/man/mailagent.SH: Documented SUBST/TR on header fields. * agent/pl/actions.pl: Made fixup of header fields in POST be a warning. Fixed RESYNC, copied continuation fix from parse_mail(). Added support for SUBST/TR on mail headers. * agent/pl/filter.pl: Changed SUBST/TR parameter parsing to support header fields. * agent/pl/header.pl: Added rule to suppress () and {} in message ids. * agent/pl/history.pl: Message ids are now cleaned-up via msgid_cleanup(). * agent/pl/parse.pl: Added fix for broken continuations in parse_mail(). * agent/test/actions: Added test cases for SUBST/TR on header fields. * agent/test/cmd/subst.t: Added test cases for SUBST on header fields. * agent/test/cmd/tr.t: Added test cases for TR on header fields. * misc/news/ml.map: Typo fixes in leading comment. * misc/news/newsgate: The in-reply-to field is now computed via a regexp. Wed Jan 10 18:10:29 MET 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com> . Description: Updated date in README and my e-mail address. Documented my CPAN directory URL in agent/README. Compilation bug fixes in filter: . switched to dynamic init of standard file array for GNU libc . fixed incorrect selection of sys_errlist[] Changed semantics of "tome": the '.' and '_' in names is no longer stripped. If your full name was, say, raphael_manfredi, then you could set "tome: manfredi" and it worked. The heuristics were bad, and it prevented doing useful things. Let's drop support for that and see if anyone complains. ;-) Updated POST to current practices. In particular, it has been tested to establish a mail -> news gateway with INN 1.7.2. POST also support a new "-b" switch to cause article biffing, just like saving in a folder triggers mail biffing. The following new features are available in POST: . fix lines like From: A.B <a@b> into From: "A.B" <a@b> . remove duplicate Content-Transfer-Encoding and other MIME headers . generate proper References: line and fixes bad Message-ID lines. . fix date if too old or too far in the future In the new misc/news directory, you'll find a program and instruction to setup a news -> mail gateway (tested with INN 1.7.2), thereby making it possible to build a bi-directional mail <=> news gateway with mailagent. Fixed wrong lexical attribute synthesis for numbers during date parsing, which cause 08 and 09 to not parse at all. Fixed sed command that produced bad dependencies on linux in the agent/pl/utmp directory. Fixed dates for the SELECT test to avoid failures past year 2001. . Files changed: * agent/filter/io.c: Switched to dynamic init of standard file array for GNU libc. * agent/filter/logfile.c: Fixed incorrect selection of sys_errlist[]. * agent/man/mailagent.SH: Changed semantics of "tome". Updated POST to current practices. Documented biffing macros for news article. * agent/pl/actions.pl: Replaced calls to fake_date() by mta_date(). Rewrote the POST command, and added the -b switch. * agent/pl/biff.pl: Added support for news article biffing. * agent/pl/getdate.pl: Fixed wrong lexical attribute synthesis for numbers. * agent/pl/header.pl: New mta_date() routine replaces old fake_date(). Added msgid_cleanup() and parsedate() routines. * agent/pl/parse.pl: Allow direct IP numbers in Received fields. * agent/pl/period.pl: Added relative_age(). * agent/pl/rfc822.pl: Dropped support of '_' and '.' stripping in last_name(). Added gen_message_id(). * agent/pl/runcmd.pl: New -b switch for POST to request biffing. * agent/test/actions: Fixed dates for the SELECT test to avoid failures past 2001. * agent/test/cmd/vacation.t: Changed "tome" settings due to dropping of dot stripping. * misc/news/newsgate, misc/news/ml.map: Created. |
||
---|---|---|
.. | ||
patch-aa | ||
patch-ac | ||
patch-ag | ||
patch-ah | ||
patch-ai | ||
patch-aj | ||
patch-ak | ||
patch-al | ||
patch-am |