aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/mail.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-16 12:21:05 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-16 14:05:52 +0100
commita37e03d60e18dfcf119d0b92d9008e54fc350bf1 (patch)
tree81842b2e3e38da31810b042b2ceebf16c5792c8c /gnu/services/mail.scm
parentc215d9ec1ce108844b14c0c2952199a0da5f4176 (diff)
downloadpatches-a37e03d60e18dfcf119d0b92d9008e54fc350bf1.tar
patches-a37e03d60e18dfcf119d0b92d9008e54fc350bf1.tar.gz
tests: opensmtpd: Check /var/spool/mail instead of /var/mail.
The test had been failing since the upgrade to 6.6.3p1 in commit 2dbfd8eec43b602d23cee3fdd2842cc333e36c24. * gnu/services/mail.scm (opensmtpd-activation): Create /var/spool/mail. * gnu/tests/mail.scm (run-opensmtpd-test): Check /var/spool/mail instead of /var/mail.
Diffstat (limited to 'gnu/services/mail.scm')
-rw-r--r--gnu/services/mail.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index d97316512f..7791780dfc 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -1670,7 +1670,9 @@ match from local for any action outbound
;; Create mbox and spool directories.
(mkdir-p "/var/mail")
(mkdir-p "/var/spool/smtpd")
- (chmod "/var/spool/smtpd" #o711))))))
+ (chmod "/var/spool/smtpd" #o711)
+ (mkdir-p "/var/spool/mail")
+ (chmod "/var/spool/mail" #o711))))))
(define %opensmtpd-pam-services
(list (unix-pam-service "smtpd")))