From: Marcin Cieslak Date: Tue, 10 Feb 2015 14:18:05 +0000 (+0000) Subject: Fixed "inc" to be installed setgid mail with dot locking. MAILGROUP=1 X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/1246bd98503c41cc44f8c3f6f059ff97cd316922?ds=inline;hp=-c Fixed "inc" to be installed setgid mail with dot locking. MAILGROUP=1 was not set in the config.h because we no longer use "LOCKTYPE" configure variable. --- 1246bd98503c41cc44f8c3f6f059ff97cd316922 diff --git a/configure.ac b/configure.ac index 02f0a044..158255f2 100644 --- a/configure.ac +++ b/configure.ac @@ -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