From aff4989d1acf3afc718813144658c295d8d10f20 Mon Sep 17 00:00:00 2001
From: Andy Zaugg <andy.zaugg@gmail.com>
Date: Mon, 20 Sep 2021 20:41:50 -0700
Subject: [PATCH] Added documentation around CREATE_MAIL_SPOOL

Adding documentation aroud the parameter CREATE_MAIL_SPOOL in the
/etc/default/useradd file

Conflict: NA
Reference: https://github.com/shadow-maint/shadow/commit/aff4989d1acf3afc718813144658c295d8d10f20

---
 man/login.defs.d/MAIL_DIR.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/man/login.defs.d/MAIL_DIR.xml b/man/login.defs.d/MAIL_DIR.xml
index 60b82d6b1..b5adb888b 100644
--- a/man/login.defs.d/MAIL_DIR.xml
+++ b/man/login.defs.d/MAIL_DIR.xml
@@ -35,6 +35,8 @@
       The mail spool directory. This is needed to manipulate the mailbox
       when its corresponding user account is modified or deleted. If not
       specified, a compile-time default is used.
+      The parameter CREATE_MAIL_SPOOL in <filename>/etc/default/useradd</filename>
+      determines whether the mail spool should be created.
     </para>
   </listitem>
 </varlistentry><varlistentry>
