head 1.6; access; symbols pkgsrc-2019Q1:1.5.0.74 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.72 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.70 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.68 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.66 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.64 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.62 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.58 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.56 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.54 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.52 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.50 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.48 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.46 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.44 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.42 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.40 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.38 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.36 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.34 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.32 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.30 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.28 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.26 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.24 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.22 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.20 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.18 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.16 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.14 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.12 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.10 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.8 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.6 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.4 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.2 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.4.0.26 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.24 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.22 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.20 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.18 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.16 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.14 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.12 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.10 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.8 pkgsrc-2008Q1:1.4.0.6 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.4 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.2 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.3.0.10 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.8 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.6 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.4 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.2 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.0.6 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.4 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.2 pkgsrc-2005Q1-base:1.1; locks; strict; comment @# @; 1.6 date 2019.05.24.13.17.58; author hauke; state dead; branches; next 1.5; commitid wsxfERtRQIlsvsoB; 1.5 date 2010.06.15.23.14.47; author pettai; state Exp; branches; next 1.4; 1.4 date 2007.08.10.17.57.09; author jlam; state Exp; branches; next 1.3; 1.3 date 2006.04.28.18.14.06; author jlam; state Exp; branches; next 1.2; 1.2 date 2005.10.20.20.26.37; author jlam; state Exp; branches; next 1.1; 1.1 date 2005.02.18.22.12.53; author jlam; state Exp; branches; next ; desc @@ 1.6 log @Upgrade mail/maildrop to v3.0.0 o new dependencies: courier-unicode (split out library), libidn o install text READMe files over html ones o add options.mk - optionally authenticate against dovecot user db - make locking configurable (I have seen locking rows between dovecot and mailfilter that lead to delivery failures) o re-work patches From the upstream changelog (yes, it's been eight years): 3.0.0 2018-07-31 Sam Varshavchik * rfc2045/reformime: parse utf-8 address types in DSNs. 2018-07-30 Sam Varshavchik * maildrop: explicitly require libidn to build maildrop. 2018-07-29 Sam Varshavchik * mailbot: generate message/global, message/global-delivery-status, and message/global-headers, when needed, when formatting autoreplies. * reformime: -m option uses message/global instead of message/rfc822 for UTF8 messages. 2018-06-25 Sam Varshavchik * rfc2045/reformime.c (main2): fix crash if -x or -X is specified without the corresponding -s option. 2018-02-16 Sam Varshavchik * libs/maildrop/search.C: ":H" pattern matching option, matching only the main message headers. 2018-01-08 Osamu Aoki * libs/maildrop/deliver.C (delivery): Always return 75 upon delivery failure, for the standalone maildrop build. 2017-12-26 Sam Varshavchik * libs/maildir/maildirmake.c (main): maildirmake's -q option will create the maildir if it does not exist. * libs/rfc2045/reformime.c (main2): Added -rU option, and a new internal RFC2045_RW_8BIT_ALWAYS conversion option. * libs/rfc2045/reformime.c (main2): Fix crash when the -s option is not valid. 2.9.3 2017-11-26 Sam Varshavchik * libs/rfc2045/rfc2045reply.c (mkreply): Fix null pointer dereferences. 2.9.2 2017-10-03 Sam Varshavchik * reformail: fix use after free with -f1 2017-09-27 Giovanni Bechis * Fix to configure.ac 2017-09-19 Sam Varshavchik * courier: switch default header encoding to UTF-8. 2.9.0 2017-06-17 Sam Varshavchik * libs/maildir/maildirquota.c (docheckquota): Skip DT_LNK. 2017-03-11 Sam Varshavchik * courier-unicode library API update. 2017-01-27 "Stefan Hornburg (Racke)" * Merge several Debian patches: 0001-Include-cstdio-in-afx.h.patch 0005-Ignore-and-.dpkg-a-z-files.patch 0007-Fix-bashisms.patch 0009-Fix-linking-in-upstream-Makefiles.patch 0012-Define-and-use-PEMFILE-in-mkesmtpdcert.patch (*) with some changes. 0013-Add-P-to-ghostscript-invocation.patch 0014-Improve-error-reporting-in-preline.c.patch 0017-Fix-formatting-errors-in-syslog-calls.patch 0020-Add-perl-stanza-to-perlfilter-scripts.patch 2.8.5 2016-09-20 "Hanno Böck" * libs/maildrop/maildir.C (MaildirSave): Fix new/delete mismatch. 2.8.4 2016-08-03 Sam Varshavchik * reformime: do not abort due to invalid encoding of the "name" attributes. 2015-12-20 Sam Varshavchik * maildrop: implement the FLAGS variable. 2015-12-16 Andreas Kinzler * maildrop: fix maildrop not searching last line of text. 2015-07-19 Sam Varshavchik * maildrop: fix parsing of a message without a body. 2.8.3 2015-06-27 "Hanno Böck" * libs/maildrop/mailbot.c: Fix bad malloc for --feedback-* command line parameters. 2015-06-20 Sam Varshavchik * maildrop: Implement option to automatically create home directories. 2015-05-09 "Jö Fahlke" * maildrop: Don't include matched subpatterns in foreach. 2.8.2 2015-04-25 Giovanni Bechis * maildircache.c: fix use after free. * mkdhparams: make compatible with libressl 2015-02-28 Sam Varshavchik * Update to courier-unicode 1.2. 2015-02-16 "Hanno Böck" * Fix compilation warning, testsuite. 2.8.0 2014-12-13 Sam Varshavchik * Update autotools 2.7.2 2014-07-21 Sam Varshavchik * gpglib, rfc2045: fix makefiles. * maildrop: fix parsing of headers added by the -A option. 2014-07-13 Sam Varshavchik * liblock, couriertls: fix compilation for OpenBSD -- based on a patch from Giovanni Bechis . 2014-06-23 Sam Varshavchik * libs/gpglib/Makefile.am: Fix -lunicode linkage. * libs/rfc2045/Makefile.am: Fix -lunicode linkage. * libs/rfc2045/rfc2045decodemsgtoutf8.c (rfc2045_decodemsgtoutf8): recognize "message" MIME content type, in addition to "text". 2014-06-18 Sam Varshavchik * maildrop: -d option changes groupid only when effective group id is root. Addresses Debian bug 564601. * mailbot: Add -T replydraft/-l options. 2014-02-02 Osamu Aoki * Makefile.am: install makedat.1 and makedat.html 2014-01-15 Sam Varshavchik * libs/maildrop/search.C (search_cb): Fix logged patterns getting garbled, in log output. 2014-01-12 Sam Varshavchik * Factored out the unicode library into a separate package. 2.7.1 2013-11-25 Sam Varshavchik * Fix various compiler warnings about unchecked results from setuid and setgid calls. 2.7.0 2013-08-28 Sam Varshavchik * maildrop: pattern searches are now specified in UTF-8. maildrop MIME-decodes the search pattern, and transcodes it to the UTF-8 character set, for searching purposes. 2012-12-04 Alessandro Vesely * rfc2045/makemime.c (openfile_or_pipe): Do not dup stdin filedesc, sometimes the stdin buffer already gets filled. 2.6.0 2012-09-05 Sam Varshavchik * maildir/maildiraclt.c (maildir_acl_delete): Fix double-free on error path of an ENOMEM. 2012-06-18 Sam Varshavchik * maildrop: make a mention of reformail -D's locking in the manual pages. 2012-06-17 Osamu Aoki * maildrop/formatmbox.C (GetLineBuffer): Do not skip whitespaces looking for From: and Subject: headers, to log. 2012-05-05 Sam Varshavchik * rfc2045/rfc2045mkboundary.c (rfc2045_mk_boundary): truncate the hostname portion of the boundary to 30 chars. 2012-04-22 Sam Varshavchik * liblock/mail.c (dotlock_exists): Quell a compiler warning. 2012-02-23 Osamu Aoki * Miscellaneous spelling fixes. 2.5.5 2011-11-25 Sam Varshavchik * rfc2045/rfc2045reply.c (mkreply): Fix copying of the contents of the original message. * rfc2045/reformime.c (do_print_info): rfc2231_udecodeDisposition() failure is not fatal. * rfc2045/reformime.c (get_suitable_filename): Ditto. 2011-09-06 Sam Varshavchik * rfc2045/reformime.c (main2): Fixed segfault on some arches from an initial null given to strtok. 2011-08-31 Sam Varshavchik * mailbot: add "feedback" and "replyfeedback" formats, generating RFC 5965-formatted feedback report. -a option attaches the entire original message, instead of only its headers, for "replydsn", "feedback", and "replyfeedback" formats. 2011-08-14 Sam Varshavchik * rfc2045/reformime.c (main2): On ia64 and arm, argv is in readonly memory. @ text @$NetBSD: patch-ab,v 1.5 2010/06/15 23:14:47 pettai Exp $ --- maildrop/configure.orig 2007-04-22 11:24:25.000000000 -0400 +++ maildrop/configure @@@@ -19066,7 +19066,7 @@@@ fi test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -if test -d $srcdir/../courier +if true || test -d $srcdir/../courier then # # This version of maildrop is integrated into Courier mail server @@@@ -19203,7 +19203,7 @@@@ SPOOLDIR="$DIR" get_spooldir() { -if test -d $srcdir/../courier +if true || test -d $srcdir/../courier then MBOX_RESET_GID=1 SPOOLDIR="./Maildir" @@@@ -19270,7 +19270,7 @@@@ if test "${with_default_maildrop+set}" = else # Courier defaults to ./Maildir - if test -d $srcdir/../courier + if true || test -d $srcdir/../courier then maildrop_cv_SYS_INSTALL_MBOXDIR=./Maildir fi @ 1.5 log @maildrop-2.5.0: * maildrop/mailbot.c (main): Set close-on-exec bit on opened files. * rfc2045/rfc2045reply.c (mkreply): Fix sender's name in the reply salutation. * rfc2045/reformime.sgml: Document the -c option to reformime. * Big quota patch (with some changes). (See the Changelog for the previous releases) Based on patch(es) from PR pkg/42989 by Brian Candler @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2007/08/10 17:57:09 jlam Exp $ @ 1.4 log @Update mail/maildrop to 2.0.4. Changes from version 2.0.2 include: * New command-line option to require the use of a working courier-authlib installation. * Install makedat along with related documentation. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -21562,7 +21562,7 @@@@ fi d14 1 a14 1 @@@@ -21699,7 +21699,7 @@@@ SPOOLDIR="$DIR" d23 1 a23 1 @@@@ -21767,7 +21767,7 @@@@ if test "${with_default_maildrop+set}" = @ 1.3 log @Update mail/maildrop to 2.0.2. Changes from version 2.0.1 include + Install the makedat documentation; even though "makedat" is part of courier-authlib, that package installs no doucmentation for it, and "makedat" is used quite frequently in conjunction with maildrop. * fix for RFC822 compliance -- encode spaces that precede a newline. @ text @d3 1 a3 1 --- maildrop/configure.orig 2006-02-19 11:40:09.000000000 -0500 d5 1 a5 1 @@@@ -22605,7 +22605,7 @@@@ fi d14 1 a14 1 @@@@ -22742,7 +22742,7 @@@@ SPOOLDIR="$DIR" d23 1 a23 1 @@@@ -22810,7 +22810,7 @@@@ if test "${with_default_maildrop+set}" = @ 1.2 log @Update mail/maildrop to 2.0.1. Changes from version 1.8.1 include: * Use PCRE (http://www.pcre.org) for mattern matching. + Most visible change is a different syntax for subexpression matching, using (...). MATCH2 becomes MATCH1, MATCH3 becomes MATCH2, etc... + "w" account option dropped. + During a transitional period, setting MAILDROP_OLD_REGEXP reverts to the old pattern matching engine. * Do not autoreply to messages with an Auto-Submitted: header, unless it's contents are "no". Add Auto-Submitted: auto-replied. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2005/02/18 22:12:53 jlam Exp $ d3 1 a3 1 --- maildrop/configure.orig 2005-09-23 20:28:40.000000000 -0400 d5 1 a5 1 @@@@ -22118,7 +22118,7 @@@@ fi d14 1 a14 1 @@@@ -22255,7 +22255,7 @@@@ SPOOLDIR="$DIR" d23 1 a23 1 @@@@ -22323,7 +22323,7 @@@@ if test "${with_default_maildrop+set}" = @ 1.1 log @Update mail/maildrop to version 1.8.0. Changes from version 1.3.9 include: * Support for MySQL and LDAP lookups via courier-authlib. * Honor maildir delivery quotas. * Bug fixes in MIME handling. * Plug memory leaks. * Replace dotlock with lockmail, which supports more types of locking. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- maildrop/configure.orig 2004-10-30 23:15:52.000000000 -0400 d5 1 a5 1 @@@@ -22094,7 +22094,7 @@@@ fi d14 1 a14 1 @@@@ -22231,7 +22231,7 @@@@ SPOOLDIR="$DIR" d23 1 a23 1 @@@@ -22299,7 +22299,7 @@@@ if test "${with_default_maildrop+set}" = @