Error Details: csf.deny: # lfd: (eximsyntax) Exim syntax errors from (MW/Malawi/-): 10 in the last 3600 secs


From Command Line Interface,

—> Check the lfd.log file

# grep /var/log/lfd.log

Grep: Filtering command is used to search a file for a particular pattern of character and display all the lines that contain the pattern.

lfd[3915411]: (eximsyntax) Exim syntax errors from (MW/Malawi/-): 10 in the last 3600 secs - Blocked in csf [LF_EXIMSYNTAX]

As per the above result, The given IP is blocked by the CSF Firewall.

NOTE: The IP block occurs when incorrect data is sent to the mail server from our IP, and the most frequent cases are usually with the recipient’s email address. 

—> Whitelist (i.e allow) the IP in CSF firewall.

#csf -a

csf – command.

a – allow.

#csf -r

r- restart the csf and lfd service.

NOTE: Don’t forget to restart the CSF service after making changes if not the changes won’t update.

—> If the problem occurs again, Check the Exim reject log.

# grep /var/log/exim_rejectlog

SMTP call from (Secretary) []:51488 dropped: c (last command was “RCPT TO: <‘’>”, C=EHLO,STARTTLS,EHLO,AUTH,MAIL,RCPT,RCPT,RCPT,RCPT)

The result shows that the recipient (i.e RCPT TO) address is mentioned in single quotations.

NOTE: This type of error usually happens when we copy-paste the email address on the email application. Please make sure there wasn’t any quotation on the sender/recipient address.

—> If the problem is again triggered, after getting the confirmation from the client, Go into the configuration, to the “Login Failure Blocking and Alerts” section. Setting “LF_EXIMSYNTAX” and “LF_EXIMSYNTAX_PERM” to 0, saving, and restarting CSF/LFD should take care of it.

# vi /etc/csf/csf.conf



:wq –> to save the file

# csf -r

Get Free cPanel Knowledge Base

Thank you for subscribing.

Something went wrong.

0.00 avg. rating (0% score) - 0 votes