Skip to main content

Drop SMTP connection at HELO/EHLO matching machine name

Comments

6 comments

  • hddntha
    Hello; i have same problem with exim.conf. about this regex. Waiting for someone's response.
    0
  • danielvasc
    The solution I found was blocking through the firewall.
    iptables -A INPUT -p tcp --dport 25 -m string --string 'ylmf-pc' --algo bm -j DROP
    Yours, Daniel Vasconcelos -- IT Analyst
    0
  • garconcn
    ]The solution I found was blocking through the firewall.
    iptables -A INPUT -p tcp --dport 25 -m string --string 'ylmf-pc' --algo bm -j DROP
    Yours, Daniel Vasconcelos -- IT Analyst

    Thanks for sharing. How to use this if the server use CSF? Not found where to add custom iptable rule in CSF.
    0
  • danielvasc
    Do not know, sorry.
    0
  • brianoz
    Look for the description of csfpost.sh in CSF's readme.txt.
    0
  • cPanelMichael
    ]The solution I found was blocking through the firewall.

    Hello :) I am happy to see you were able to find a solution. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.