[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Blocking a whole range of IPs in Sendmail



On Wed, 24 Apr 2002, Jon wrote:
> Hello,
> 
> How would i block a range of IP addresses like  216.242.0.0 - 216.242.255.255 via sendmail? 
> 

/etc/access
# Put custom additions below (Do not change/remove this line).
216.242		550	We don't accept your email

then
makemap hash /etc/mail/access < /etc/mail/access

no more 216.242 email

--
Gerald Waugh
http://www.frontstreetnetworks.com
Front Street Networks LLC - 203-785-0699
229 Front Street, Ste. #C, New Haven CT, 06513-3203