Failed emails to forwarders

terryp

Registered
Jan 25, 2019
3
0
1
France
cPanel Access Level
Website Owner
We are a car club and have public email addresses as forwarders to our actual email addresses.
In Track delivery , you can see any failed emails. Most are obviously spam but just occasionally we get the odd email that isn't. Is there a way to get these emails into a spam folder for checking. Currently the spam folder only works on actual accounts rather than forwarder type accounts that in effect do not exist.
I hope you understand what I am asking, as I am new being a webmaster
Thanks
Terry
 

keat63

Well-Known Member
Nov 20, 2014
1,916
263
113
cPanel Access Level
Root Administrator
Is your public email address a real account ?
Does it have it's own mailbox, or is it just a rule.

If it has it's own mailbox, then you should be abl;e to get it to what you want by using 'deliver to'
 

terryp

Registered
Jan 25, 2019
3
0
1
France
cPanel Access Level
Website Owner
No its not a real acount. Its an account in cpanel to the domain name that forwards to other actual email accounts. But teh spam is deleted before its forwarded.
Cheers
 

keat63

Well-Known Member
Nov 20, 2014
1,916
263
113
cPanel Access Level
Root Administrator
I'm by no means an expert on this, but I'm guessing that's because it has no where to go.

If you were to create an actual account for the public email, you could then create a few filter rules.

One filter to forward the emails you need, to go to where you want them redirected/forwarded to.
and another filter to send anything you don't need, to go to spam.

Create a dummy account to play with for testing purposes.

Just a thought.
 

terryp

Registered
Jan 25, 2019
3
0
1
France
cPanel Access Level
Website Owner
I think you might be on to something there, problem is there are 10 accounts!
I will have a fiddle and see, thanks for your help
Terry
 

sparek-3

Well-Known Member
Aug 10, 2002
2,039
229
368
cPanel Access Level
Root Administrator
I'm not exactly clear on what you are doing.

You have forwarders set up... where are those forwarders sending mail? To an email account on the same web hosting account? Or to an external email account (like gmail, hotmail, or yahoo)?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hi @terryp

Because you're forwarding mail, it's accepted in the local mailbox first then forwarded on to the recipient box, this means that any spam checking that would be done would be done on acceptance to the initial recipient. Any sort of filtering that would work on normal inbound mail should work for your purposes, SpamAssassin as well as mail filters. I'd suggest checking out the following:

How to Create a Spam Email Filter - cPanel Knowledge Base - cPanel Documentation
Spam Filters - Version 76 Documentation - cPanel Documentation