diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 1bf4debe68..b7b06c1d99 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -3316,6 +3316,10 @@ (define-public opensmtpd ;; Fix some incorrectly hard-coded external tool file names. (add-after 'unpack 'patch-FHS-file-names (lambda _ + ;; avoids warning smtpd: couldn't enqueue offline message + ;; smtpctl exited abnormally + (substitute* "usr.sbin/smtpd/smtpd.h" + (("/usr/bin/smtpctl") "/run/setuid-programs/smtpctl")) (substitute* "usr.sbin/smtpd/smtpctl.c" ;; ‘gzcat’ is auto-detected at compile time, but ‘cat’ isn't. (("/bin/cat") (which "cat")))