Re: [qmailtoaster] Block incoming mail IP range

2014-08-15 Thread David Milholen
If you are just wanting to drop that block from sending mail three ways #1 Firewall Iptables #2 Spamdyke blacklist_ip #3 Tcp rules On 8/4/2014 1:41 AM, Linux wrote: Hi, Please guide, How to block range of IP's for incoming mail? IP: 209.85.xxx.xxx Thanks, Ravi --

[qmailtoaster] Block incoming mail IP range

2014-08-04 Thread Linux
Hi, Please guide, How to block range of IP's for incoming mail? IP: 209.85.xxx.xxx Thanks, Ravi

Re: [qmailtoaster] Block incoming mail IP range

2014-08-04 Thread ChandranManikandan
Hi Ravi, Use in IPTABLES to block it. On Mon, Aug 4, 2014 at 2:41 PM, Linux li...@ikf.co.in wrote: Hi, Please guide, How to block range of IP's for incoming mail? IP: 209.85.xxx.xxx Thanks, Ravi -- *Thanks Best Regards,Manikandan.C*

Re: [qmailtoaster] Block incoming mail IP range

2014-08-04 Thread Hasan Akgöz
Hi; /etc/tcprules/smtp.rules. click link for details : http://thedjbway.b0llix.net/djbrbl/rbletc.html 2014-08-04 11:22 GMT+03:00 ChandranManikandan kand...@gmail.com: Hi Ravi, Use in IPTABLES to block it. On Mon, Aug 4, 2014 at 2:41 PM, Linux li...@ikf.co.in wrote: Hi, Please guide,

Re: [qmailtoaster] Block incoming mail IP range

2014-08-04 Thread Tony White
This is the script I have been using... examples at the cli ... blockip 192.168.1.26 or blockip 192.168.0.0/16 or blockip 192.168.1.0/24 works immediately and creates a rc.blockedips file for use on reboot to reinstate the currently blocked ip's. -- snip blockip - #!/bin/bash

Re: [qmailtoaster] Block incoming mail IP range

2014-08-04 Thread Tony White
FWIIW This is the reverse - unblockip script... Examples must be exactly the same as those used to blockip/range. -- snip unblockip --- #!/bin/sh logf=/var/log/blockip.log mdate=`date +%c` ### must be root ### if [ `whoami` != root ]; then echo echo $0 must be ran as root