]> diplodocus.org Git - nmh/commitdiff
Fixed "inc" to be installed setgid mail with dot locking. MAILGROUP=1
authorMarcin Cieslak <saper@saper.info>
Tue, 10 Feb 2015 14:18:05 +0000 (14:18 +0000)
committerDavid Levine <levinedl@acm.org>
Thu, 12 Feb 2015 02:20:08 +0000 (20:20 -0600)
was not set in the config.h because we no longer use "LOCKTYPE"
configure variable.

configure.ac

index 02f0a04474f3a8d476a4270a8819de53477a4e38..158255f225909acfa1154f0313a04e13f4ffd483 100644 (file)
@@ -306,7 +306,7 @@ AS_IF([test x"$DISABLE_SETGID_MAIL" != x -a x"$DISABLE_SETGID_MAIL" != x0],
 
 dnl If mailspool is not world-writable and dotlockfile is not setgid,
 dnl we need to #define MAILGROUP to 1 and make inc setgid.
-if test x"$LOCKTYPE" = x"dot" -a x"$nmh_cv_mailspool_world_writable" = x"no" -a x"$nmh_cv_dotlockfile_setgid" != x"yes" ; then
+if test x"$with_locking" = x"dot" -a x"$nmh_cv_mailspool_world_writable" = x"no" -a x"$nmh_cv_dotlockfile_setgid" != x"yes" ; then
   dnl do we really need both of these?
   AC_DEFINE([MAILGROUP],[1],
     [Define to 1 if you need to make `inc' set-group-id because your mail spool is not world writable. There are no guarantees as to the safety of doing this, but this #define will add some extra security checks.])dnl