Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Global Email Filters Not Working

Discussion in 'E-mail Discussion' started by davetanguay, Feb 26, 2019.

Tags:
  1. davetanguay

    davetanguay Active Member

    Joined:
    Mar 30, 2008
    Messages:
    37
    Likes Received:
    1
    Trophy Points:
    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?
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,734
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @davetanguay

    Can you give me the output in the exim logs for one of these transactions? Are there forwarders present as well?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. flyinhawaiian

    flyinhawaiian Registered

    Joined:
    Feb 27, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    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).
     

    Attached Files:

    #3 flyinhawaiian, Feb 27, 2019
    Last edited by a moderator: Feb 27, 2019
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,734
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. flyinhawaiian

    flyinhawaiian Registered

    Joined:
    Feb 27, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    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
     
    cPanelLauren likes this.
  6. flyinhawaiian

    flyinhawaiian Registered

    Joined:
    Feb 27, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    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 spambox@xxx.xx (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!)
     
    #6 flyinhawaiian, Feb 28, 2019
    Last edited: Feb 28, 2019
  7. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,734
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. flyinhawaiian

    flyinhawaiian Registered

    Joined:
    Feb 27, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Honolulu, HI
    cPanel Access Level:
    Website Owner
    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
     

    Attached Files:

  9. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,005
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    flyinhawaiian likes this.
  10. MattGarner

    MattGarner Member

    Joined:
    Apr 22, 2016
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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 apple@example.co.uk 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
     
    #10 MattGarner, Mar 22, 2019
    Last edited by a moderator: Mar 22, 2019
  11. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,005
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice