# 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 MKCHROOT= /etc/postfix/bin/mkchroot.sh NEWALIASES= /usr/bin/newaliases POSTMAP= /usr/sbin/postmap POSTFIX= /usr/sbin/postfix HASHES= client_checks \ client_checks_spoof \ client_checks_spoof2 \ helo_checks \ internal_use_only \ recipient_checks \ sender_checks \ sender_checks_free \ transport \ virtual \ sms \ marcos_use_only \ client_checks.ccg \ helo_checks.ccg # sender_client.regexp \ # sender_checks.regexp \ # sender_checks_netcabo.regexp \ # recipient_checks.regexp \ # netcabo.regexp \ 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} chroot echo \= Done. aliases.db: aliases echo . Rebuilding aliases database ... ${NEWALIASES} chroot: echo . Updating chroot and reload ... ${MKCHROOT} ${HASHES_DB}: %.db: % echo . Rebuilding $< database ... ${POSTMAP} $<