Never reject emails from a form on my server

Operating System & Version
CentOS 7.9.2009 virtuozzo
cPanel & WHM Version


Well-Known Member
Sep 26, 2006
cPanel Access Level
Root Administrator
Several forms on my sites send the results of the form to an email to my Gmail.

Occasionally, someone will submit something on my site and the server thinks it's spam. So instead of getting the results that I'm expecting, I get a email from [email protected] with:

Mail failure - rejected by local scanning code

A message that you sent was rejected by the local scanning code that
checks incoming messages on this system. The following error was given:

This message was classified as SPAM and may not be delivered
The details of the form do follow so it's not a tragedy, but of course nothing is filtered to appropriate folders so it's more work to figure out what's going on and where they should end up.

Any suggestions on how to tell the server to NEVER reject an email that originates from one of my forms?
Last edited by a moderator:


Jurassic Moderator
Staff member
Oct 19, 2014
cPanel Access Level
Root Administrator
Hey hey! What about the whitelist options listed here?

I'm hoping these are sent using some type of verification to where you could just add the "From" address to the whitelist, and that would be all you need.