Global Email Filters Not Working

davetanguay

Active Member
Mar 30, 2008
37
1
58
Anyone have issues with the Global Email Filters not working?

I have the attached filter setup. It does move the emails to /interactiveonline.com/support/.Folders.DMARC but it only moved a copy of the email. A copy of the email still remains in the Inbox.

Any ideas?
 

Attachments

flyinhawaiian

Registered
Feb 27, 2019
4
1
3
Honolulu, HI
cPanel Access Level
Website Owner
I too have been having issues with global email filters for the past 2 weeks. It seems there was possibly an update to CPanel with my host provider about that time that broke a couple of the actions within the filter page.
If I try to forward any emails using the action "Redirect to Email" you get this error:

[removed - please upload attachments directly to the thread]

It only works if you forward to an address that's NOT part of your domain (ie., a gmail or yahoo account works). To me, I think someone got a bit overzealous when updating the rules for actions so there wouldn't be any issue with recursive errors, understandable, but a bit too tight on the allowances of what we can do with the filter process.

To further exacerbate the issue, the "Deliver to a Folder" action doesn't work either. I've tried using every available folder within the drop down menu when I select that action, but no mail ever gets delivered to the folder.

I've contacted my provider to address this issue, but most of the replies are to "just use spam assassin, it works much better", which translates, at least to me, "I don't have time to work with CPanel to fix this issue".

Right now, I still have a few older filters set up with the "Redirect to Email" action, but I don't believe its actually working any more, as I'm not seeing any mail forwarded to my spambox email. I know if I try to edit and save any update to the older filters, I'll end up with that same error in pink above and I am not able to save the filter after that unless I remove either of the two actions I've mentioned.

Sure hope to get a response from the CPanel folks about how to go about fixing this issue! It would be great to have control over the spammy emails I'm getting again!!!

Oh yeah, the CPanel version I'm referring to is 76.0 (build 18).
 

Attachments

Last edited by a moderator:

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,126
667
263
Houston
cPanel Access Level
DataCenter Provider
Hello @flyinhawaiian and @davetanguay

While we do have a case for forwarders having issues if an email filter delivers the message to inbox first (CPANEL-24300) The behavior you're describing sounds like a different issue. Can one of you guys please open a ticket using the link in my signature so that we can look further into this? Once open please update this thread with the ticket ID so that we can follow up in this thread with the outcome.


Thanks!
 

flyinhawaiian

Registered
Feb 27, 2019
4
1
3
Honolulu, HI
cPanel Access Level
Website Owner
Hi Lauren,
I'd love to open one, but because I'm just an end-user of CPanel through my web hosting provider, I'm not allowed root access to the server (one of the requirements to open a ticket I guess). I'd be more than happy to supply my hosting provider's info via PM if that would help to identify the problem and maybe find a solution, but as it is, I doubt I'd be much help in opening a ticket for my provider's CPanel account.

If there's another way to do this, and you can talk me through the process, I'd be happy to help you!

Chris
 
  • Like
Reactions: cPanelLauren

flyinhawaiian

Registered
Feb 27, 2019
4
1
3
Honolulu, HI
cPanel Access Level
Website Owner
So, sort of an update from my provider on these issues, their response is simply "we can't do anything about it". Here's the longer reply from tech support:

For the issue that you are facing with your global filter, to deliver to inbox, there would not be a solution that we can implement to resolve the "recursive" error. The best solution (although it would be a timely one) would be to use the regular email filters (rather than global) setting the filter on each email account, and then redirecting them to the email address [email protected] (deleted my email address for security) which would not have this filter, thus eliminating any recursive sending.

I'm hoping someone from CPanel is able to resolve the issue (@cPanelLauren , you interested? :) ), it has to be something that was changed in the code for version 76 since it has worked for a few years--at least for me.

I'm going to try their suggestion later this afternoon, but I'm not looking forward to copying all the global filters I've created over to each of my mailboxes (luckily only 3 mailboxes, the rest are just forwarders!)
 
Last edited:

flyinhawaiian

Registered
Feb 27, 2019
4
1
3
Honolulu, HI
cPanel Access Level
Website Owner
re-reading your issue @flyinhawaiian we have a few threads like this:

Global email filters.
Stopping recursive email loop

Which only causes the issue when you're redirecting to a local domain. Were these filters present/working before?
Yep, they worked perfectly until a few weeks ago. In fact, I still have 1 of the global email filters set this way, although I'm unsure if it works, as I can't test the filter since I'm unable to send an email that would trigger it (I'd have to spoof my email to match one of the filter's rules).

So, just to confirm how I've done this, I've included a screenshot of the filter that's been in place for about a year or 2 now (I've changed my real domain for security in that image).

If I try to edit this filter though (like I've done with several other similar filters), it will give me the error and I cannot save it without removing the action "redirect to email".

I also got another reply from my hosting company today, it looks like they've fixed the issue with the other action "deliver to a folder" as I'm now able to see flagged email redirected to my spambox email account, so I'm able to use this as a workaround for the redirect to email issue.

Thanks for continuing to work on this issue!

Chris
 

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hello @flyinhawaiian,

The following case was implemented in cPanel & WHM version 76 to prevent recursive delivery chains:

Fixed case CPANEL-10587: Prohibit global email filters with recipients that cause recursive delivery.

The change prohibits saving new or existing global email filters if they redirect the email to a domain which is controlled by the cPanel user controlling said email address.

The "Deliver To Folder" action suggested by your hosting provider is the correct alternative to "Redirect To Email" if you want to store the message in one of the email accounts added to that cPanel account.

Thank you.
 
  • Like
Reactions: flyinhawaiian

MattGarner

Member
Apr 22, 2016
23
2
3
United Kingdom
cPanel Access Level
Root Administrator
Hi,

Is there still an issue with "Global Email Filters"? I'm trying to work out how to get them working but they don't seem to be doing anything. For example a global filter has been created with the following:


To contains "apple".

Actions: Deliver to folder: /example.co.uk/test/.AppleEmails

So if an email was sent to [email protected] it should then be delivered to the folder called AppleEmails.

At the moment it's going to the default email account, not the specific email account or folder it's been told to do. I'm I doing something wrong?

cPanel v78.0.18
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hi @MattGarner,

Can you submit a support ticket so we can take a closer look at your system and the filter rule to make sure it's setup correctly? You can post the ticket number here after it's opened and I'll link this thread to it.

Thank you.