summaryrefslogtreecommitdiff
path: root/mail/mailagent
AgeCommit message (Collapse)AuthorFilesLines
2002-07-02Deprecate IS_INTERACTIVEagc1-2/+2
Mark this package as needing an interactive configuration stage
2001-11-01Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-10-26At present, if there is a pre-<target> or post-<target> script inagc1-1/+4
the scripts/ directory, it will be run automatically as part of the build process, by bsd.pkg.mk. There are now exactly 5 packages in pkgsrc which use this facility, and yet, for every package build, the existence of a script is checked by bsd.pkg.mk once before the target is executed, and once afterwards. This incurs needless overhead. Move the separate pre- and post- script handling out of bsd.pkg.mk into the individual package Makefiles, where it's much more obvious what is happening, anyway.
2001-04-20Move to sha1 digests, and add distfile sizes.agc1-1/+2
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc2-4/+2
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-08upgrade to 3.0.73.itojun6-37/+30
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.
2001-02-25Cleanup MKDIR usage => INSTALL_*_DIRhubertf1-3/+3
XXX need to teach pkglint to be more picky about this
2001-02-17Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-08-27Use new PERL5 variable instead of ${LOCALBASE}/bin/perl.jlam1-17/+11
2000-03-27Adapt to new handling of "${CONFIGURE}".tron1-2/+2
2000-01-05Strip trailing '.', and/or leading '(a|an) 'abs1-1/+1
1999-12-26fix mail/mailagent (email filtering tool) to fit into NetBSD pkgsrc.itojun13-10/+47
1999-12-26mail/mailagent from freebsd-currentitojun15-0/+351