summaryrefslogtreecommitdiffstats
path: root/etc/mail
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2002-02-17 22:12:57 +0000
committergshapiro <gshapiro@FreeBSD.org>2002-02-17 22:12:57 +0000
commitbe0f0b6ad9ad6751506c4e2168deb240214b9ab2 (patch)
tree28378ca3a34818d611261a605e5da1a129b12e28 /etc/mail
parent72b2a94378dd2ceee91ab030d62d91be734e7609 (diff)
downloadFreeBSD-src-be0f0b6ad9ad6751506c4e2168deb240214b9ab2.zip
FreeBSD-src-be0f0b6ad9ad6751506c4e2168deb240214b9ab2.tar.gz
Don't build a submit.cf file if SENDMAIL_SET_USER_ID is set
Diffstat (limited to 'etc/mail')
-rw-r--r--etc/mail/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile
index 4ff4549..c55beca 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
OpenPOWER on IntegriCloud