Question with Email Filters on Forwarders

neocharles

Registered
Apr 25, 2017
2
0
1
USA
cPanel Access Level
Reseller Owner
I am hoping you can help me out.

I am looking to essentially whitelist certain address(es) to be able to send emails to one of my forwarders set up.

I have Wordpress installed, and through one of the contact forms is a Membership Renewal form. I don't want people to be able email that address directly (mainly for spam control), but I would like only the contact form to be able to send to that address.

Let's say that address is [email protected]. The forwarder is set to go to [email protected] and [email protected].

I have not messed around much with email filters - but from what I can see - since it is not an actual mailbox, I wouldn't be able to use "Email Filters". That would only leave me with "Global Email Filters" - but - I don't want this rule to impact any of the other mailboxes or forwarders that are created.

Is this something that can be done?

Thanks!
 

neocharles

Registered
Apr 25, 2017
2
0
1
USA
cPanel Access Level
Reseller Owner
I can control who the email for the contact form comes from (was planning on using [email protected]) instead of the email address of the person filling it out, as that seems to cause some issues with "sending mail on behalf" and getting caught in spam filters. I can whitelist any email address from domain.com inside of SpamAssassin (that's been a headache of it's own to get it to not mark things as SPAM that are HAM)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
That would only leave me with "Global Email Filters" - but - I don't want this rule to impact any of the other mailboxes or forwarders that are created.
Hello,

You should be able to setup a global filter rule to only filter emails that come from your membership renewal form. Simply setup multiple conditions (e.g. from matches, subject contains, etc) that would only apple to the messages from the form. You may also find this document helpful:

How to Configure Mail Filters - cPanel Knowledge Base - cPanel Documentation

Thank you.