[Mimedefang] MIMEDefang 2.73-BETA-2 is available

Matt Garretson mattg at assembly.state.ny.us
Thu Jan 19 18:03:37 EST 2012


On 1/19/2012 5:09 PM, David F. Skoll wrote:
> I believe "make install" only sets permissions if
> /var/spool/MIMEDefang doesn't already exist.  From the Makefile:
> 
> 	-test ! -d $(DESTDIR)$(SPOOLDIR) && mkdir -p $(DESTDIR)$(SPOOLDIR) && chmod 700 $(DESTDIR)$(SPOOLDIR) || true



Yes but ~17 lines above that, it still gets set to 700 if the defang
user exists:


 if test "$(DEFANGUSER)" != "" ; then \
        if id "$(DEFANGUSER)" > /dev/null 2>&1 ; then \
                chown "$(DEFANGUSER)" $(DESTDIR)${CONFDIR}/mimedefang-ip-key > /dev/null 2>&1 || true; \
                $(INSTALL) -m 700 -o $(DEFANGUSER) -d $(DESTDIR)$(SPOOLDIR) > /dev/null 2>&1 || true; \




More information about the MIMEDefang mailing list