From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add mlmmj. Date: Mon, 16 Jan 2017 16:40:11 +0000 Message-ID: <87bmv76jro.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <20161011135053.18340-1-ng0@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTAKk-0002CW-1H for guix-devel@gnu.org; Mon, 16 Jan 2017 11:40:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTAKg-00039d-Dl for guix-devel@gnu.org; Mon, 16 Jan 2017 11:40:37 -0500 Received: from aibo.runbox.com ([91.220.196.211]:38516) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTAKf-00039N-Oe for guix-devel@gnu.org; Mon, 16 Jan 2017 11:40:34 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cTAKc-0000hL-Ks for guix-devel@gnu.org; Mon, 16 Jan 2017 17:40:30 +0100 Received: from [176.67.168.210] (helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1cTAKL-0007zE-Ou for guix-devel@gnu.org; Mon, 16 Jan 2017 17:40:14 +0100 In-Reply-To: <20161011135053.18340-1-ng0@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Seeing as this was never added to the master, should I: * 1. Write system-service and system-test? or * 2. Simply send the rebased patch so that someone else can write the service? It requires an exim, postfix, or any MTA as a service, and I don't think we have this at the moment? ng0 writes: > * gnu/packages/mail.scm (mlmmj): New variable. > --- > gnu/packages/mail.scm | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 52 insertions(+) > > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm > index baa5a96..fc0d8e5 100644 > --- a/gnu/packages/mail.scm > +++ b/gnu/packages/mail.scm > @@ -1493,3 +1493,55 @@ transfer protocols.") > (license (non-copyleft "file://LICENSE" > "See LICENSE in the distribution.")))) > > +(define-public mlmmj > + (package > + (name "mlmmj") > + (version "1.2.19.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "http://mlmmj.org/releases/mlmmj-" version ".tar.bz2")) > + (sha256 > + (base32 > + "1piwvcxkqadjwk5x8jicaiyz9nngmaj3w13ghdqgaki32xd7zk9v")))) > + (build-system gnu-build-system) > + (inputs > + `(("perl" ,perl))) ; "contrib/web/" > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (arguments > + `(#:configure-flags > + ;; mlmmj-receive-strip is a replacement for mlmmj-receive > + ;; It opens the files control/mimedeny and control/mimestrip to get a list > + ;; of mimetypes for parts of multipart/mime messages that should be denied > + ;; or stripped. The parts then get stripped directly when the mail is > + ;; received. mlmmj-receive-strip also appends an extra header > + ;; X-ThisMailContainsUnwantedMimeParts: Y when the mail contains unwanted > + ;; mime parts > + (list "--enable-receive-strip") > + #:phases > + (modify-phases %standard-phases > + (add-before 'install 'install-contrib > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (share (string-append out "/share/mlmmj"))) > + (copy-recursively "contrib/web/" share))))))) > + (home-page "http://mlmmj.org") > + (synopsis "Mailing list managing made joyful") > + (description > + "Mlmmj is a simple and slim mailing list manager (MLM) inspired by ezmlm. > +It works with many different Mail Transport Agents (MTAs) and is simple for a > +system adminstrator to install, configure and integrate with other software. > +As it uses very few resources, and requires no daemons, it is ideal for > +installation on systems where resources are limited. Its features include: > +@enumerate > +@item Archive, Custom headers / footer, > +@item Fully automated bounce handling (similar to ezmlm), > +@item Complete requeueing functionality, Moderation functionality, Subject prefix, > +@item Subscribers only posting, Regular expression access control, > +@item Functionality to retrieve old posts, Web interface, Digests, > +@item No-mail subscription, VERP support, > +@item Delivery Status Notification (RFC1891) support, > +@item Rich and customisable texts for automated operations. > +@end enumerate\n") > + (license license:expat))) > -- > 2.10.1 > > -- ♥Ⓐ ng0 -- https://www.inventati.org/patternsinthechaos/