It have to work ... still ... you have iptables/ipf ;) Cristi
-----Original Message----- From: Manish Jain [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 2:58 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] how to deny smtp request from an IP I ahve done the same bu it didn't work. 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) ----- Original Message ----- From: "Adam Ossenford" <[EMAIL PROTECTED]> To: <vchkpw@inter7.com> Sent: Tuesday, April 19, 2005 4:54 PM Subject: Re: [vchkpw] how to deny smtp request from an IP > 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 > > > > --------------------------------------------------- This message and its contents have been scanned and certified for transmission as being free from malicious code by <<eTrust Antivirus>>. This message may contain confidential, privileged or other legally protected information. It is intended for the addressee(s) only. If you are not the addressee, or someone the addressee authorized to receive this message, you are prohibited from copying, distributing or otherwise using it. Please notify the sender and return it.Thank you. --------------------------------------------------- This message and its contents have been scanned and certified for transmission as being free from malicious code by <<eTrust Antivirus>>. This message may contain confidential, privileged or other legally protected information. It is intended for the addressee(s) only. If you are not the addressee, or someone the addressee authorized to receive this message, you are prohibited from copying, distributing or otherwise using it. Please notify the sender and return it.Thank you.