[vchkpw] how to deny smtp request from an IP

2005-04-19 Thread Manish Jain
I am using qmail+vpopmail.
In my LAN some machines are affected with some virus which is generating
SPAM.
I got the IPs of those machines from /var/log/qmail/smtp/current
How can I deny smtp requests from those IPs.

thanx in advance,

Manish Jain
(Network Administrator)
C-DAC Anusandhan Bhawan
C-56/1, Sector-62, Noida- 210307
Ph: 91 120 2402551-60 (Extn.- 718)
  91 120 2402563 (Direct)




Re: [vchkpw] how to deny smtp request from an IP

2005-04-19 Thread Adam Ossenford
echo x.x.x.x:deny  /etc/tcp.smtp  qmailctl cdb  qmailctl reload
where x.x.x.x is the ip of the affected machine
 I am using qmail+vpopmail.
 In my LAN some machines are affected with some virus which is generating
 SPAM.
 I got the IPs of those machines from /var/log/qmail/smtp/current
 How can I deny smtp requests from those IPs.

 thanx in advance,

 Manish Jain
 (Network Administrator)
 C-DAC Anusandhan Bhawan
 C-56/1, Sector-62, Noida- 210307
 Ph: 91 120 2402551-60 (Extn.- 718)
   91 120 2402563 (Direct)





-- 
Sincerely,

Adam Ossenford
Linux Administrator
ShoMeCom Wireless Solutions