YLMF the final BLOCK/DROP
Okay so you see the classic logs of YLMF and its flooding your logs and server and and and, well after some months of searching, reading, downloading, attempting and crashing of exim <-- LOL I THINK i have finally found a solution for the dreaded YLMF head banging, grey hair highlights, energy drinking, smoked up room, jumping off of roof problem. Did i over do that part oh well.
Point is i've tried every block on the exim frontier and it works but that's not how i wanted the block to happen so i turned to a more direct approach.
KEEP IN MIND YOU DO THIS, OF COURSE AT YOUR OWN RISK. I HAVE IT AND IT SEEMS TO BE WORKING... SO FAR...
You need CSF, but if you good with iptables you can probably insert this directly into the firewall.
you must have root access, im not sure about shared servers, your problem i guess
Before CSF Rules:
if the file doesn't exist, pico it or nano or what ever your flavour and save...
csfpre.sh: Create file /etc/csf/csfpre.sh
add following command and save:
iptables -A INPUT -p tcp --dport 25 -m string --string 'ylmf-pc' --algo bm -j DROP
--dport 25 <-- standard smtp port you can change this to what ever your smtp port is
multiport blocks:
--dport 25,26,465,587
close/save and run:
csf -r
Okay so that is it, its been working for me and i hope it works for you...
sources :
-
Hello, I am happy to see you were able to find a solution that works well for you. Thank you for taking the time to post a thread that you think others may find helpful. 0
Please sign in to leave a comment.
Comments
1 comment