# Makefile for postfix configuration # Nicolas.Jombart@hsc-labs.com - 15.11.2001 # hacked by Stephane.Aubert@hsc-labs.com # hacked by Daniel.Leite@ccg.pt 05-03-2003 NEWALIASES= /usr/bin/newaliases POSTMAP= /usr/sbin/postmap POSTFIX= /usr/sbin/postfix # if outputs some ".db" errors, check for end spaces HASHES= virtual\ transport\ canonical\ helo_checks\ esmtp_access\ sender_checks\ client_checks\ recipient_checks\ internal_use_only\ sender_checks_free\ client_checks_spoof\ client_checks_spoof2\ client_checks.caravela HASHES_DB= ${HASHES:=.db} .SILENT: all: banner ${HASHES_DB} aliases.db echo \= Done. banner: echo \= Postfix Configuration Makefile echo \= Nicolas.Jombart \| Stephane.Aubert \|Daniel.Leite echo \= 2001-2003 echo reload: banner aliases.db ${HASHES_DB} echo . Updating chroot files... bin/mkchroot.sh echo \= Done. aliases.db: aliases echo . Rebuilding aliases database ... ${NEWALIASES} ${HASHES_DB}: %.db: % echo . Rebuilding $< database ... ${POSTMAP} $<