Skip to main content

How to block when attempts failed (5 failures) eximsyntax?

Comments

4 comments

  • quietFinn

    if you are using CSF
    LF_EXIMSYNTAX = 5
    LF_EXIMSYNTAX_PERM =1

     

    0
  • Hi,

     

    I'm under the impression you're referring to the CSF LF_EXIMSYNTAX setting, however, if I've misunderstood please clarify so I may advise accordingly.

     

    To have CSF block mail after 5 syntax failures, you can change the following inside /etc/csf/csf.conf:

     

    # [*]Enable syntax failure detection of Exim connections

    LF_EXIMSYNTAX = "5"

    LF_EXIMSYNTAX_PERM = "1"
    0
  • toplisek

    1. Under which exact Line/Text should be pushed a new command?

    2. How to search within editor NANO?

    An example: # WP-LOGINS Users

    nano /etc/csf/csf.conf

     

     

    0
  • Hi,

     

    Happy to help with both questions!

    1. Under which exact Line/Text should be pushed a new command?

    Could you clarify which directive you're looking to add? If you're referring to `LF_EXIMSYNTAX`, that entry already exists in the default csf.conf at around line 1186, so it may just need to be enabled or adjusted rather than added fresh. Once you confirm what you're adding, I can give more specific guidance on placement.

     

    2. How to search within editor NANO?

    To search within nano, press **Ctrl + W**, type your keyword (e.g. `WP-LOGINS`), and hit Enter. nano will jump to the first match. To find the next occurrence, press **Alt + W** or **Control + W** depending on your system.

    0

Please sign in to leave a comment.