diff options
Diffstat (limited to 'yellowsquid')
-rw-r--r-- | yellowsquid/packages/mail.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/yellowsquid/packages/mail.scm b/yellowsquid/packages/mail.scm index abd03e4..966822b 100644 --- a/yellowsquid/packages/mail.scm +++ b/yellowsquid/packages/mail.scm @@ -1,5 +1,6 @@ (define-module (yellowsquid packages mail) #:use-module ((gnu packages mail) #:prefix gnu:) + #:use-module (gnu packages tls) #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix utils)) @@ -7,6 +8,9 @@ (define-public exim (package (inherit gnu:exim) + (inputs (modify-inputs (package-inputs gnu:exim) + (delete "gnutls" "gnutls-dane") + (append openssl))) (arguments (substitute-keyword-arguments (package-arguments gnu:exim) ((#:phases phases) @@ -19,6 +23,12 @@ ;; /etc/exim.conf has to be first or it is never used. (("(CONFIGURE_FILE=).*" all var) (string-append var "/etc/exim.conf:" out "/etc/exim.conf\n")) + ;; Use openssl instead of gnutls + (("USE_GNUTLS(|_PC)=.*" all) + (string-append "# " all "\n")) + (("# (USE_OPENSSL(|_PC)=.*)" all line) + (string-append line "\n")) + ;; Enable LMTP (("# (TRANSPORT_LMTP=yes)" all line) line))))) (add-after 'install 'install-config (lambda* (#:key outputs #:allow-other-keys) |