1
|
1 # These could be used by sendmail, but are not part of the default install.
|
|
2 # To use them you will have to generate your own sendmail.cf with
|
|
3 # FEATURE('whatever')
|
|
4 #
|
|
5 POSSIBLE += $(shell test -f bitdomain && echo bitdomain.db)
|
|
6 POSSIBLE += $(shell test -f uudomain && echo uudomain.db)
|
|
7 POSSIBLE += $(shell test -f genericstable && echo genericstable.db)
|
|
8 POSSIBLE += $(shell test -f userdb && echo userdb.db)
|
|
9 CFFILES = sendmail.cf submit.cf
|
|
10
|
|
11
|
|
12 all: ${CFFILES} ${POSSIBLE} virtusertable.db access.db domaintable.db mailertable.db
|
|
13 @chown root:smmsp *.db
|
|
14
|
|
15 userdb.db : userdb
|
|
16 @makemap btree $@ < $<
|
|
17
|
|
18 %.db : %
|
|
19 @makemap hash $@ < $<
|
|
20
|
|
21 %.cf : %.mc
|
|
22 @if test -f /usr/share/sendmail-cf/m4/cf.m4; then \
|
|
23 mv -f $@ $@.bak; \
|
|
24 m4 $< > $@; \
|
|
25 fi;
|
|
26
|
|
27 clean:
|
|
28 rm -f *.db *~
|
|
29
|