0
|
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 access : access.header access.common access.510sg access.davd
|
|
19 cat access.header access.510sg access.common >access
|
|
20 cat access.header access.davd access.common | ssh mail3.davdgrp.com 'cat >/etc/mail/access'
|
|
21 ssh mail3.davdgrp.com '(cd /usr/src; sh makesendmailtable.bat)'
|
|
22 rm -f /home/httpd/html/510sg/bogus.list
|
|
23 cp access /home/httpd/html/510sg/bogus.list
|
|
24 scp access ns1:/home/httpd/html/510sg/bogus.list
|
|
25
|
|
26 %.db : %
|
|
27 @makemap hash $@ < $<
|
|
28
|
|
29 %.cf : %.mc
|
|
30 @if test -f /usr/share/sendmail-cf/m4/cf.m4; then \
|
|
31 mv -f $@ $@.bak; \
|
|
32 m4 $< > $@; \
|
|
33 fi;
|
|
34
|
|
35 clean:
|
|
36 rm -f *.db *~
|
|
37
|