assistanz
Assistanz

IP Address blocked in csf – (exim mail server)

 cPanel Server Management

 
For 24×7 cPanel Server Management with Monitoring, Unlimited Tech Support, Disaster Recovery, Security updates and much more Signup today! 

 

IP Address Blocked in CSF

 

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

Solutions:

From Command Line Interface,

—> Check the lfd.log file

# grep 192.168.4.10 /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 192.168.4.10 (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 192.168.4.10

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 192.168.4.10 /var/log/exim_rejectlog

SMTP call from (Secretary) [192.168.4.10]:51488 dropped: c (last command was “RCPT TO: <‘one@example.com’>”, 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

LF_EXIMSYNTAX = 0

LF_EXIMSYNTAX_PERM = 0

:wq –> to save the file

# csf -r


cPanel Server Management 

AssistanZ is a pioneer in offering 24×7 cPanel Server Management Service since 2004.
We offer 24×7 cPanel Server Management
  • cPanel Server Management
  • cPanel Installation and Setup
  • cPanel Server Optimization
  • cPanel Server Migration
  • cPanel Server Security and Hardering
  • cPanel Server Monitoring
  • cPanel Server Hack Recovery
 
 

DirectAdmin Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk
$ 99 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • NDA & SLA
  • SLA Review Meetings
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation
  •  

Platinum Support

24/7 Proactive Support
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Support

$ 30 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response Time
  • 4 Hours Resolution time for the Possible Issues
  • Security and Performance Optimization
  • React to Customers queries
  • Simple SignUp Process
  • Instant Account Activation
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support