-SRC := $(shell pwd)
-DST := /etc/postfix
+SUBDIRS := postfix postfixadmin dovecot
 
-INPUTS := configuration/* configuration/mysql/*
+all: $(SUBDIRS)
+.PHONY: $(SUBDIRS)
 
-all: $(INPUTS:configuration/%=$(DST)/%)
-
-$(DST)/%: $(SRC)/%
-       @mkdir -p $(@D)
-       cp $^ $@
+$(SUBDIRS):
+       $(MAKE) -C $@