Makefile revision 30581
1default: 2.if exists(/etc/mail/ips.txt) 3 mv -f /etc/mail/ips.txt /etc/mail/ips.txt.0 4.endif 5 fetch ftp://ftp.gulf.net/pub/docs/ips.txt 6 cat /etc/mail/ips.txt | cut -d ' ' -f 1 | \ 7 sed -e 's/$$/ #blocked. contact postmaster/' > \ 8 /etc/mail/ips.new 9 mv /etc/mail/ips.new /etc/mail/ips.txt 10.if exists(/etc/mail/domains.txt) 11 mv -f /etc/mail/domains.txt /etc/mail/domains.txt.0 12.endif 13 fetch ftp://ftp.gulf.net/pub/docs/domains.txt 14 cat /etc/mail/domains.txt | cut -d ' ' -f 1 | \ 15 sed -e 's/$$/ #blocked. contact postmaster/' > \ 16 /etc/mail/domains.new 17 mv /etc/mail/domains.new /etc/mail/domains.txt 18 19install: 20 makemap hash /etc/mail/spamsites < /etc/mail/domains.txt 21.if exists(/etc/mail/spamsites.local) 22 makemap -o hash /etc/mail/spamsites < /etc/mail/spamsites.local 23.endif 24 makemap hash /etc/mail/denyip < /etc/mail/ips.txt 25.if exists(/etc/mail/denyip.local) 26 makemap -o hash /etc/mail/denyip < /etc/mail/denyip.local 27.endif 28 29all: default install 30