netstat -r -nto look at routing table
route add <badip> 127.0.0.1I use this to block badips sending bad data/exploits to the server (amongst other methods)
you can also send the trafic to /dev/null
route delete <formerbadip> 127.0.0.1to unblock an ip blocked by the above command
/var/qmail/bin/qmail-qstatto check the queue for qmail