summaryrefslogtreecommitdiff
path: root/mail/mimedefang
AgeCommit message (Collapse)AuthorFilesLines
2015-11-03Add SHA512 digests for distfiles for mail categoryagc1-1/+2
Problems found locating distfiles: Package mutt: missing distfile patch-1.5.24.rr.compressed.gz Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz Package pine: missing distfile fancy.patch.gz Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch Package qmail: missing distfile badrcptto.patch Package qmail: missing distfile outgoingip.patch Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-07-12Comment out dependencies of the stylewiz1-2/+2
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS since pkgsrc enforces the newest perl version anyway, so they should always pick perl, but sometimes (pkg_add) don't due to the design of the {,} syntax. No effective change for the above reason. Ok joerg
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-1/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-05-03MIMEDefang 2.78 RELEASEDpettai2-6/+6
* Fix bug in logic that coalesces multiparts to single-parts if possible; the bug broke DKIM signing. MIMEDefang 2.77 RELEASED * Change old author's name to "Dianne Skoll" in many places. MIMEDefang 2.76 RELEASED * mimedefang.pl.in: Get rid of all Perl function prototypes. Perl prototypes are badly-implemented and consensus among modern Perl 5 programmers is they shouldn't be used. https://www.securecoding.cert.org/confluence/display/perl/DCL00-PL.+Do+not+use+subroutine+prototypes * Add support for filter_wrapup callback. This is called at the very end and permits header modifications, but not body modifications. Useful for DKIM-signing. * mimedefang.pl.in: Fix typo: SOPHOS should have been SAVSCAN * mimedefang.c: Don't add a MIME-Version header if there is already one. * Fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646347 * Minor clarifications to mimedefang-filter man page. * Add "All / Summary" button to watch-multiple-mimedefangs.tcl
2014-06-02MIMEDefang 2.75pettai3-20/+6
* Many cosmetic improvements to watch-multiple-mimedefangs.tcl * Fix md_get_bogus_mx_hosts so it checks A records iff a domain has no MX records. * Add a forward declaration of rebuild_entity to avoid warnings on recent Perl versions.
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-03-13fix perl (5.18) "called too early to check prototype" messagepettai2-1/+14
2014-03-11Remove example rc.d scripts from PLISTs.jperkin1-3/+1
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or ignored otherwise.
2013-12-09Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes.obache1-3/+3
Bump PKGREVISION for runtime dependency pattern changed packages.
2013-07-12Bump PKGREVISION of all packages which create users, to pick up change ofjperkin1-1/+2
sysutils/user_* packages.
2013-06-15Here are the most important changes in MIMEDefang 2.74:pettai2-7/+6
* A new action_add_entity function has been added. * Deprecated defined(@array) construct has been removed. * New load1 md-mx-ctrl command summarizes load in a more useful format than load * watch-multiple-mimedefangs.tcl has been overhauled. * Various other bugfixes and documentation cleanups.
2013-05-31Bump all packages for perl-5.18, thatwiz1-2/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2012-10-08Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.asau1-3/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-1/+2
are called p5-*. I hope that's all of them.
2012-03-18Here are the most important changes in MIMEDefang 2.73:pettai2-7/+6
* A new -G option causes files created by mimedefang to be group-readable and sockets to be group readable/writable. * The multiplexor snoops in on communications and saves the Sendmail queue-ID for logging purposes. It logs the queue ID when logging a slave's STDERR. * MIMEDefang passes along the client port number, server IP address and server port number to all filter functions. This feature was sponsored by Scayl.
2011-08-14Revision bump after updating perl5 to 5.14.1.obache1-1/+2
2011-07-27Here are the most important changes in MIMEDefang 2.72:pettai2-6/+6
* In mimedefang.c, truncate overlong responses from the multiplexor. Also sanitize replies so "\r" doesn't get fed to smfi_setmlreply. * If a slave process replies with a very long reply, have the multiplexor consume (and discard) the excess input so the multiplexor-to-slave protocol does not become de-synchronized. * When mimedefang becomes a daemon, have it wait for a "go/no-go" message from the child before exiting. This should eliminate race conditions whereby the MTA starts before the milter socket is present. * Avoid run-time errors from Unix::Syslog on some platforms.
2010-08-30MIMEDefang 2.71 fixes the following bugs:pettai2-7/+6
* Restores compatibility with Postfix (which was broken in 2.70). * Properly fixes signal-handling in child processes. 2.70 included a partial fix, but signal-handling would break if you ran md-mx-ctrl reread.
2010-08-21Bump the PKGREVISION for all packages which depend directly on perl,seb1-1/+2
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
2010-07-19* Fixed a bug in embedded Perl: We have to callpettai2-7/+6
PERL_SET_CONTEXT after forking or Perl gets confused. In particular, setting signal-handling dispositions using $SIG{FOO} = sub { ... } breaks. * Clarify wording of mimedefang-filter man page. * Remove obsolete code that used to attempt to generate working directory names. Deactivate the no-longer-needed "-M" mimedefang option. * Add new "-y" option to mimedefang-multiplexor. This limits the number of concurrent "recipok" commands on a per-domain basis. * Remove Anomy::HTMLCleaner support. * use MIME::Parser::Filer's ignore_filename() call instead of subclassing to override evil_filename(). Same effect, less code. * refactor resend_message_one_recipient() to use resend_message_specifying_mode() instead of reimplementing it. * header_timezone() now generates a strictly RFC2822-compliant timezone string without needing POSIX::strftime() * Ensure that decode_mimewords() is called in scalar context.
2010-06-04Bump PKGREVISION for the bulkbuildpettai1-2/+2
2010-06-03part of PR pkg/43380 that didn't make it the first commitpettai1-2/+2
2010-05-31Fix for PR pkg/43380pettai3-2/+17
2010-03-08Release 2.68 is mostly a bug-fix release; the most important changes are:pettai2-7/+8
* Detect Sys::Syslog vs. Unix::Syslog at run-time rather than when running ./configure. * Bug fix: Don't change Content-Disposition to "inline" by default. This was causing weird bugs with Outlook iCalendar attachments. * Various crash fixes. * Make relay_is_blacklisted and relay_is_blacklisted_multi handle IPv6 addresses. * Make the C code call smfi_setmlreply if the milter library supports it and the Perl code returns a multi-line reply. (And take over maintainer)
2010-02-05Update to mimedefang 2.67, thanks to Klaus Heinzmarkd4-27/+20
Release 2.67 adds the following features since 2.65 (there was no public 2.66 release): * The ability for mimedefang-multiplexor to use poll rather than select. This removes the FD_SETSIZE limit on the number of file descriptors the multiplexor can handle. * Support for FPROTD version 6 daemonized virus scanner. 2.65 There is only one change since 2.64: An error in the way the embedded perl interpreter was initialized has been fixed. This fixes problems on the Debian HPPA architecture and possibly others. 2.64 This is a minor bugfix release; * Add support for NOD32 command-line scanner * Add support for Sophos "savscan" scanner
2010-01-30Added LICENSE information.heinz1-1/+2
2009-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2008-03-04Mechanical changes to add DESTDIR support to packages that installjlam1-18/+20
their files via a custom do-install target.
2007-08-15Update mimedefang to 2.63markd4-72/+17
Changes since 2.62: * mimedefang-multiplexor.c: Relax the umask when creating the unprivileged socket ("-a" command-line option.) * mimedefang.c(eom): If we do not have a queue ID yet, try to obtain one in eom. This is designed to improve operation with Postfix, which does not assign a queue ID until after the first successful RCPT. Based on a patch from Henrik Krohns. * examples/init-script.in: Added MD_SKIP_BAD_RCPTS init script option (suggested by John Nemeth) * Remove support for OpenAntivirus. It's a dead product. * mimedefang.pl.in(spam_assassin_status): Call $mail->finish() to prevent temporary files from accumulating. * redhat/mimedefang-init.in: Add configtest routine to check filter syntax. Changes since 2.61: * A new "change_sender" action lets you change the envelope sender. Only works with Sendmail/Milter 8.14.0 and newer! * Clam interface code has been fixed to work properly with ClamAV 0.90 and later. * Other minor improvements and bugfixes.
2007-07-04Make it easier to build and install packages "unprivileged", wherejlam1-3/+5
the owner of all installed files is a non-root user. This change affects most packages that require special users or groups by making them use the specified unprivileged user and group instead. (1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to unprivileged.mk. These two variables are lists of other bmake variables that define package-specific users and groups. Packages that have user-settable variables for users and groups, e.g. apache and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP}, etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER} and ${UNPRIVILEGED_GROUP}. (2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-03-14Update mimedefang to 2.61.markd4-16/+70
includes patch to work with clamav 0.90 and newer. Changes since 2.59: * SECURITY FIX: Versions 2.59 and 2.60 contained a programming error that could lead to a buffer overflow. This is definitely exploitable as a denial-of-service attack, and potentially may allow arbitrary code execution. The bug is fixed in 2.61. * If a message is going to end up being rejected, discarded or tempfailed, we don't bother carrying out requests to add/delete/modify headers or recipients, change the message body, etc. * mimedefang.c: Fix filter registration so MIMEDefang works correctly against libmilter from Sendmail 8.14 Changes since 2.58: * A new "watch-multiple-mimedefangs.tcl" tool that lets you keep an eye on a cluster of MIMEDefang scanners. * Fixes to the build scripts that should eliminate build problems on Intel/AMD 64-bit architectures. * mimedefang generates the COMMANDS file more safely and more efficiently. * Various other minor improvements and bug-fixes.
2006-11-08Update to mimedefang 2.58markd3-26/+24
Changes since 2.57: * Various minor bug-fixes, including a memory leak. Changes since 2.56: * Various minor bug-fixes * New md-mx-ctrl hload command shows load over past 1, 4, 12 and 24 hours. * New multiplexor scheduling algorithm tries to keep a given command on a given set of slaves.
2006-03-14Modify the pkginstall framework so that it manages all aspects ofjlam1-3/+1
INSTALL/DEINSTALL script creation within pkgsrc. If an INSTALL or DEINSTALL script is found in the package directory, it is automatically used as a template for the pkginstall-generated scripts. If instead, they should be used simply as the full scripts, then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC explicitly, e.g.: INSTALL_SRC= ${PKGDIR}/INSTALL DEINSTALL_SRC= # emtpy As part of the restructuring of the pkginstall framework internals, we now *always* generate temporary INSTALL or DEINSTALL scripts. By comparing these temporary scripts with minimal INSTALL/DEINSTALL scripts formed from only the base templates, we determine whether or not the INSTALL/DEINSTALL scripts are actually needed by the package (see the generate-install-scripts target in bsd.pkginstall.mk). In addition, more variables in the framework have been made private. The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are more sensible names given the very few exported variables in this framework. The only public variables relating to the templates are: INSTALL_SRC INSTALL_TEMPLATE DEINSTALL_SRC DEINSTALL_TEMPLATE HEADER_TEMPLATE The packages in pkgsrc have been modified to reflect the changes in the pkginstall framework.
2006-03-13Update to mimedefang 2.56markd2-7/+6
Changes 2.56: An off-by-one error in the multiplexor that could restart slaves unnecessarily was fixed. Compilation errors on some systems were fixed. A handful of other minor bugs were fixed. Changes 2.55: A new option allows you to reserve some slaves for connections from localhost; this helps clientmqueue runs to succeed on busy servers. Modern Vexira anti-virus scanners are supported; versions older than Spring 2005 are no longer supported. A new "filter_helo" callback lets you take action in response to HELO/EHLO. A new "action_insert_header" function lets you prepend headers (rather than just appending them). A new function lets you reject mail from hosts with bogus MX records; for example, MX records that resolve to private IP networks or the loopback address.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2006-01-16- Applied the code from the patch in PR 32540 by Anne Bennett, whichrillig1-1/+8
allows the user to define DEFANG_USER and DEFANG_GROUP in the MAKECONF file. Fixes PR 32540. - Added the configurable variables to BUILD_DEFS, so that they are shown during the build process. - Bumped PKGREVISION.
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-10Update mimedefang to 2.54markd4-18/+19
Changes 2.54: a few minor enhancements and fixes. Changes 2.53: mostly work around bugs and deficiencies in third-party packages commonly used with MIMEDefang.
2005-12-05Ran "pkglint --autofix", which corrected some of the quoting issues inrillig1-4/+4
CONFIGURE_ARGS.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-4/+4
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-09-28Removed trailing white-space.rillig1-2/+2
2005-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-2/+2
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
2005-06-20Fix path of clamscan. Bump PKGREVISION.markd1-2/+3
2005-06-16Create directories before installing files into them.jlam1-1/+2
2005-06-05Update mimedefang to version 2.52markd3-8/+13
Changes in 2.52 * mimedefang.pl.in (item_contains_virus_fprotd): Remove all references to $` and $', which can SIGNIFICANTLY slow down Perl regexp matching. * mimedefang.c(mfconnect): Do not call set_dsn from mfconnect, because the Milter API specifies that you can't call smfi_setreply from the connect callback. * mimedefang-filter.5.in: Document the fact that filter_relay cannot set the text of the SMTP reply code. * mimedefang.pl: We don't detect and load Perl modules until the detect_and_load_perl_modules() function is called. *** NOTE INCOMPATIBILITY *** You *MUST* call detect_and_load_perl_modules() inside your filter before you can rely on the %Features hash being set correctly, and before you can rely on SpamAssassin being loaded!!! Changes in 2.51 Note: There was no public 2.50 release; the 2.50 version was a private release that was available only with CanIt. * Added "-q" option to mimedefang. This permits the multiplexor to queue new incoming connections. It may make higher utilization of slaves and improve throughput. * ESMTP arguments in MAIL FROM: and RCPT TO: are now available to the Perl filter. See the mimedefang-filter(5) man page for details. * Documentation fixes: We don't refer to non-multiplexor mode any more, because that mode hasn't been available for ages. * The "tick" facility has been enhanced to permit multiple tick types. At any given instance, only one tick of a given type can be active, but ticks of different types can be active at the same time. * Log a warning if a message has more than one Subject: header.
2005-05-02RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.reed1-1/+3
And always is defined as share/examples/rc.d which was the default before. This rc.d scripts are not automatically added to PLISTs now also. So add to each corresponding PLIST as required. This was discussed on tech-pkg in late January and late April. Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digests.agc1-1/+2
2004-12-28The default location of the pkgsrc-installed rc.d scripts is nowreed1-1/+2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
2004-12-01Update to mimedefang 2.49markd2-5/+5
Changes: minor bug fixes.