On Monday 01 April 2002 15:45 pm, Dayalan Manohar wrote:
> Hello list,
> In /etc/mail/access i have enabled relaying for local subnet with
> 192.168.1        RELAY
> I want to reject messages from 192.168.1.20 due to mass mailing virus.In
> /etc/mail/access I have put
> 192.168.1.20        REJECT
> but this seems to have no effect.Still 192.168.1.20 is able to send
> messages.

The order matters in /etc/mail/access. You probably should use an ipchains
or iptables rule anyway. BTW, why do you need to keep the virus infected
machine on the LAN?

/sbin/ipchains -I input -p tcp --src 192.168.1.20 --dport 25 -j REJECT

Binand

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to