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

RE: [cobalt-users] Raq550 - Block IPS from GUI



> Dan Kriwitsky wrote:
> > 
> > > How do we block an IP range from the GUI in the Raq550?
> > > I want to block the spam from china that come from 
> 218.49.222.000 to 
> > > 218.49.222.999
> > >
> > 
> > Actually it would be from 218.49.222.0 - 218.49.222.255 and 
> you just 
> > put 218.49.222 in the block field.
> > --
> 
> Yes, you are correct on the range but the GUI does not let me 
> add just 218.49.222 which gives an error stating it is an invalid IP.

OK, it's been a while since I've used the GUI for that. You can edit
/etc/mail/access manually. Just add it near the bottom in the custom
additions section.

218.49.222	[TAB]	REJECT

Then run:

makemap hash /etc/mail/access.db < /etc/mail/access
-- 
C2003 Dan Kriwitsky

Please reply to the list only. Off list replies are not read.