[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: Add mlmmj.
From: |
ng0 |
Subject: |
[PATCH] gnu: Add mlmmj. |
Date: |
Tue, 11 Oct 2016 13:50:53 +0000 |
* 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:
address@hidden
address@hidden Archive, Custom headers / footer,
address@hidden Fully automated bounce handling (similar to ezmlm),
address@hidden Complete requeueing functionality, Moderation functionality,
Subject prefix,
address@hidden Subscribers only posting, Regular expression access control,
address@hidden Functionality to retrieve old posts, Web interface, Digests,
address@hidden No-mail subscription, VERP support,
address@hidden Delivery Status Notification (RFC1891) support,
address@hidden Rich and customisable texts for automated operations.
address@hidden enumerate\n")
+ (license license:expat)))
--
2.10.1