Add smtpd(8) spool directories so that they are registered as part of base.
authorajacoutot <ajacoutot@openbsd.org>
Thu, 30 Apr 2015 19:02:15 +0000 (19:02 +0000)
committerajacoutot <ajacoutot@openbsd.org>
Thu, 30 Apr 2015 19:02:15 +0000 (19:02 +0000)
ok henning@ gilles@ deraadt@

etc/mtree/4.4BSD.dist

index c510324..c1a2f6a 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: 4.4BSD.dist,v 1.270 2015/04/12 11:49:39 sthen Exp $
+#      $OpenBSD: 4.4BSD.dist,v 1.271 2015/04/30 19:02:15 ajacoutot Exp $
 
 /set type=dir uname=root gname=wheel mode=0755
 
@@ -771,7 +771,20 @@ var
         ..
         output                 gname=daemon mode=0775
         ..
+        # ./var/spool/smtpd
         smtpd                  type=dir uname=root gname=wheel mode=0711
+            corrupt            type=dir uname=_smtpq gname=wheel mode=0700
+            ..
+            incoming           type=dir uname=_smtpq gname=wheel mode=0700
+            ..
+            offline            type=dir uname=root gname=wheel mode=1777
+            ..
+            purge              type=dir uname=_smtpq gname=wheel mode=0700
+            ..
+            queue              type=dir uname=_smtpq gname=wheel mode=0700
+            ..
+            temporary          type=dir uname=_smtpq gname=wheel mode=0700
+            ..
         ..
         #sockets               mode=777
         #..