# # /etc/mail/Makefile # # # Original Version # ---------------- # http://www.Linux-Sec.net/Mail/etc.mail/Makefile # # http://www.sial.org/sendmail/config/mail-server-8.{10,12} # # # After editing these files, you have to remake the database # ---------------------------------------------------------- # 1. update the database # cd /etc/mail # make # # - or - to do it manually # # current version of NEWDB from: # http://www.sleepycat.com # # if hash ( requires -DNEWDB in sendmail ) # cd /etc/mail ; makemap hash access < access # # if btree ( requires -DNEWDB in sendmail ) # cd /etc/mail ; makemap btree access < access # # if dbm ( requires -DNDBM in sendmail ) # cd /etc/mail ; makemap dbm access < access # # 2. -->> restart sendmail afterward <<-- don't forget to do this too # # # To view the Database created # ---------------------------- # db_dump -p /etc/mail/foo.db # # # # 18-May-02 amo Date-of-Birth for release # 13-Dec-02 amo Adde sial.org # # # Important files are virtusertable and access # -------------------------------------------- # all: virtusertable.db access.db genericstable.db domaintable.db mailertable.db # # db/spam_haters.db db/spam_friends.db # # %.db : % @makemap hash $@ < $< # @makemap dbm $@ < $< clean: @rm -f *.db *~ # # # end of file