diff options
author | jmb <jmb@FreeBSD.org> | 1999-01-31 15:21:15 +0000 |
---|---|---|
committer | jmb <jmb@FreeBSD.org> | 1999-01-31 15:21:15 +0000 |
commit | 4162fb34e9d240c7bc15384c48671541a278f526 (patch) | |
tree | 831567dad8a79e5c71a533e64b5bd587204d6d98 /etc/mail | |
parent | df7c58af81253b99d069607b47cd2ae2054ed042 (diff) | |
download | FreeBSD-src-4162fb34e9d240c7bc15384c48671541a278f526.zip FreeBSD-src-4162fb34e9d240c7bc15384c48671541a278f526.tar.gz |
Do not try to fetch anti-spam files from gulf.net.
They nolonger provide a list of spam domains and
spam ip address ranges.
Diffstat (limited to 'etc/mail')
-rw-r--r-- | etc/mail/Makefile | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile index 8acdd93..f56d3db 100644 --- a/etc/mail/Makefile +++ b/etc/mail/Makefile @@ -1,36 +1,4 @@ -# $Id: Makefile,v 1.171 1998/09/13 23:05:46 brian Exp $ - -default: -.if exists(/etc/mail/ips.txt) - mv -f /etc/mail/ips.txt /etc/mail/ips.txt.0 -.endif - fetch ftp://ftp.gulf.net/pub/docs/ips.txt - sort ips.txt > block_ips.txt - touch allowsorted_ips.txt -.if exists(/etc/mail/allow_ips.txt) - sort allow_ips.txt > allowsorted_ips.txt -.endif - comm -23 block_ips.txt allowsorted_ips.txt | \ - cut -d ' ' -f 1 | \ - sed -e 's/$$/ #blocked. contact postmaster/' > \ - /etc/mail/block_ips.new - rm allowsorted_ips.txt - mv /etc/mail/block_ips.new /etc/mail/block_ips.txt -.if exists(/etc/mail/domains.txt) - mv -f /etc/mail/domains.txt /etc/mail/domains.txt.0 -.endif - fetch ftp://ftp.gulf.net/pub/docs/domains.txt - sort domains.txt > block_domains.txt - touch allowsorted_domains.txt -.if exists(/etc/mail/allow_domains.txt) - sort allow_domains.txt > allowsorted_domains.txt -.endif - comm -23 block_domains.txt allowsorted_domains.txt | \ - cut -d ' ' -f 1 | \ - sed -e 's/$$/ #blocked. contact postmaster/' > \ - /etc/mail/block_domains.new - rm allowsorted_domains.txt - mv /etc/mail/block_domains.new /etc/mail/block_domains.txt +# $Id: Makefile,v 1.5 1998/09/13 23:14:20 brian Exp $ install: /usr/sbin/makemap hash /etc/mail/spamsites < /etc/mail/block_domains.txt @@ -42,4 +10,4 @@ install: /usr/sbin/makemap -o hash /etc/mail/denyip < /etc/mail/denyip.local .endif -all: default install +all: install |