guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 75fcc4699aecbe64b5d85953a5edadeadb87d2ef
Author: Dariqq <[email protected]>
AuthorDate: Mon Nov 2 08:51:11 2026 +0000

    gnu: procmail: Set sendmail.
    
    * gnu/packages/mail.scm (procmail)[arguments]<phases>{configure}:
      Set sendmail to /run/privileged/bin/sendmail.
      [inputs]: Remove exim.
    
    Merges: https://codeberg.org/guix/guix/pulls/12264
    Signed-off-by: Nguyễn Gia Phong <[email protected]>
---
 gnu/packages/mail.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index e98121142f2..b8916517d9b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2866,13 +2866,15 @@ separation to safely deliver mail in multi-user 
setups.")
                          (assoc-ref %outputs "out"))
                         (("/bin/rm")
                          (which "rm")))
+                      (substitute* "src/autoconf"
+                        (("#define SENDMAIL \\\\\"\\$a\\\\\"")
+                         "#define SENDMAIL 
\\\"/run/privileged/bin/sendmail\\\""))
                       #t)))
        #:tests? #f)) ;; There are no tests indicating a successful
     ;; build.  Some tests of basic locking mechanisms provided by the
     ;; file system are performed during 'make install'.  However, these
     ;; are performed before the actual build process.
     (build-system gnu-build-system)
-    (inputs (list exim))
     (home-page "https://github.com/BuGlessRB/procmail";)
     (synopsis "Versatile mail delivery agent (MDA)")
     (description "Procmail is a mail delivery agent (MDA) featuring support

Reply via email to