From f77424d5f4c4a384d6422d49bd78144e6775fd06 Mon Sep 17 00:00:00 2001 From: Chloe Brown Date: Mon, 1 Aug 2022 13:56:34 +0100 Subject: exim: new package. Repackage exim, with the following changes: - add /etc/exim.conf as a trusted configuration location. - enable LMTP transport. --- yellowsquid/packages/mail.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 yellowsquid/packages/mail.scm diff --git a/yellowsquid/packages/mail.scm b/yellowsquid/packages/mail.scm new file mode 100644 index 0000000..cd980ce --- /dev/null +++ b/yellowsquid/packages/mail.scm @@ -0,0 +1,19 @@ +(define-module (yellowsquid packages mail) + #:use-module ((gnu packages mail) #:prefix gnu:) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module (guix utils)) + +(define-public exim + (package + (inherit gnu:exim) + (arguments + (substitute-keyword-arguments (package-arguments gnu:exim) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'configure 'configure-more + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Local/Makefile" + (("# (TRUSTED_CONFIG_LIST=).*" all var) + (string-append var "/etc/exim.conf\n")) + (("# (TRANSPORT_LMTP=yes)" all line) line)))))))))) -- cgit v1.2.3