From a8247f3a53131f3663a7c8a5621e3cffe7c8aaad Mon Sep 17 00:00:00 2001 From: Gregory Neil Shapiro Date: Sun, 17 Feb 2002 22:12:57 +0000 Subject: [PATCH] Don't build a submit.cf file if SENDMAIL_SET_USER_ID is set --- etc/mail/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/etc/mail/Makefile b/etc/mail/Makefile index 4ff4549a998f..c55becac7a51 100644 --- a/etc/mail/Makefile +++ b/etc/mail/Makefile @@ -146,6 +146,14 @@ depend: cf: ${INSTALL_CF} +submit.cf: submit.mc +.ifdef SENDMAIL_SET_USER_ID + @echo ">>> ERROR: You should not create a submit.cf file if you are using a" + @echo " set-user-ID sendmail binary (SENDMAIL_SET_USER_ID is set" + @echo " in make.conf)." + @false +.endif + maps: ${SENDMAIL_MAP_OBJ} aliases: ${SENDMAIL_ALIASES}.db