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


  • 154 Users Found This Useful

Was this answer helpful?

Related Articles

Manually Clear from Console / Command Line cPanel Exim Mail Queue

To clear the cPanel exim mail queue quickly from a command line / shell use the following...

Disable cPanel Brute Force Command Line

To disable the cPanel brute force detection from the command line usee the following:...

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...

Killing cPanel Backups via Command Line / Shell

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

yum-utils not installed or found on Centos5 64-bit

When yum-utils is not installed or found on Centos5 64-bit the following commands may be used:...