Makefile: New configuration flavour for service-only mailservers.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 2 Apr 2015 00:00:47 +0000 (01:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 2 Apr 2015 00:01:14 +0000 (01:01 +0100)
Makefile
nosysdomain.m4 [new file with mode: 0644]

index 3690b7e..d9fff5c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,10 @@ MODES                         =
 MODES                  += satellite
 OPTIONS_satellite       = satellite.m4 sat-rewrite.m4
 
+MODES                  += srv
+HOOKS_srv               = nosysdomain.m4
+OPTIONS_srv             = exchange.m4 spam.m4 vhost.m4
+
 MODES                  += hub
 OPTIONS_hub             = auth.m4 exchange.m4 local.m4 spam.m4
 OPTIONS_hub            += user-spam.m4 vhost.m4
diff --git a/nosysdomain.m4 b/nosysdomain.m4
new file mode 100644 (file)
index 0000000..c1e257d
--- /dev/null
@@ -0,0 +1,5 @@
+### -*-m4-*-
+###
+### Don't provide service for the system domain.
+
+SETCONF(sysdomains, )