central_filter defer (-17): error in filter file: unknown filtering command r_subject: near line 22 of filter file

The error "central_filter defer (-17): error in filter file: unknown filtering command r_subject: near line 22 of filter file" or "error in filter file: "and" or "or" or "then" expected near line ..." found in your exim_mainlog can result when a vfilter rule does not agree with the server. You can clear these offending rules out when using cPanel by going into /etc/vfilters and clearing out the domain file.

Example:

echo > thedomainwithissue.com


  • 158 Users Found This Useful

Was this answer helpful?

Related Articles

FSCK Options and Maintenance

Provided below are some useful commands pertaining to FSCK. Update commands to your environment /...

Account's error_log produces flood of missing modules

 Account's error_log produces flood of missing modules. Ex:   From error_log:     [23-Apr-2018...

Killing cPanel Backups via Command Line / Shell

From time to time you may find the cPanel backup system taking longer and affecting production...

SpamAssassin Command Line Bayesian Learn Command cPanel

Once it is enabled, it is necessary to train spamassassin to learn what is junk mail and what is...

FTP Failed: Service check failed to complete Unable to connect to port 21

The service “ftpd” appears to be down. The system failed to connect to this service’s TCP/IP...