]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/blobdiff - lfs/postfix
GeƤndert:
[people/dweismueller/ipfire-2.x.git] / lfs / postfix
index b74a29430c1e2077d849f475be699f82d667c44d..c5c7c7710502c9678f7b6998ef1a7c8a27f9771f 100644 (file)
@@ -80,7 +80,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                                'AUXLIBS=-L/usr/lib -L/opt/lampp/lib/mysql -L/opt/lampp/lib -lmysqlclient -lz -lm -lssl -lsasl2 -lcrypto -lpq'
        cd $(DIR_APP) && make
        cd $(DIR_APP) && sh postfix-install -non-interactive
-       cp -v /usr/src/config/etc/aliases /etc/aliases
-       cd /etc/ && postmap aliases
+       ## Install configuration
+       rm -vf /etc/postfix/main.cf.default
+       cp -vf $(DIR_CONF)/postfix/* /etc/postfix
+       mv -vf /etc/postfix/aliases /etc/aliases
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
\ No newline at end of file