|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
fight spam on my server
Some jag off is starting to probe my server for exploitable email addresses. I'm not sure if this is for spamming or to probe for address to send spam::
Quote:
How, or where do I rip this header apart to block the original sender? the return path :: Quote:
Then...Where can I place the IP info to block this guy from getting any requests to my server? My gut sez the deny.host file but I'm not sure. Lastly, how can I automate this process and can I tag bad bounces to say ' GO AWAY ~ You no stay here, You been here 4 hour, you scare the other customers' { props to louie anderson for the greatest food buffet quote EVER !} thanks...Frog
__________________
Curious by Nature, Linux by Choice |
|
#2
|
||||
|
||||
|
You can use the /etc/tcp.smtp file to block ip addresses. His ip address appears to be 80.232.252.14. So you can edit your tcp.smtp file and add the following line...
80.232.252.:deny Notice I left off the last octet of his ip address. This will block all 255 ips that may originate from his subnet. Note the above line will reject him without a reason. If you want to give him a nastygram when he tries again, you can do it like this... 80.232.252.:allow,RBLSMTPD="-Go away *** munch!" When you edit this file, you must run qmailctl cdb or you can run the following commands... tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp chmod 644 tcp.smtp* Frankly, I would just deny him without a reason, as most spammers don't bother to read the return messages anyhow. But if you want to be a good professional admin, you should try to give a reason just in case somebody else from his subnet gets blocked from sending you mail. REF: http://cr.yp.to/ucspi-tcp/tcprules.html Last edited by Donboy : October 14th, 2004 at 07:38 AM. |
|
#3
|
||||
|
||||
|
Also, if you want to control spam really well, you should check out the fine details of rblsmtpd (if you're not using it already). I also recommend the qregex patch which is also discussed in the thread below.
http://www.linuxquestions.org/questions/showthread.php?s=&threadid=188474 |
|
#4
|
||||
|
||||
|
TY for the info.
Look Out Spammers...Your days on MY server are Over... Frog |
![]() |
| Viewing: Dev Shed Forums > System Administration > Mail Server Help > fight spam on my server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|