How to filter multirecipient emails

Category: Cpanel

InMotionFans
n/a Points
Asked:
2014-03-04 12:53 pm EST

Hits: 38
I set up user account filtering on my email to detect emails sent to me plus others i.e. multi-recipients in the To field. I used "match regex" with the expression ^.{60,}$. This should have checked the entire string in the To field and if it was at least 60 characters long there would be a match. But when I send email POP3 email to that account with multi-recipients, the filter does not work. It only works if I filter for fewer characters than the length of my own email address. This means that the filter only applies to the email address of the receiving account regardless of how many other email addresses are in the To field.

Please can someone tell me how to filter for multi-recipient emails in cPanel? Thanks.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

johnpaulb-imhs1
Staff
8,250 Points
2014-03-04 2:30 pm EST
Hello,

Thank you for your question. On a shared server, there is not a way to accomplish this, since it is an uncommon way to filter your email for spam, and it can create other problems. For example: If a customer sends an email to you, and another person (such as a co-worker), it will be blocked.

Instead I recommend using Spam Assassin, or Boxtrapper, which is available in cPanel.

If you have SpamAssassin enabled and are still receiving spam, I recommend reading this guide, which explains some of the reasons why SpamAssassin might be letting through what you consider spam into your email Inbox, and what you can do to try to reduce the amount of spam you have to manually review.

On VPS and Dedicated severs this can be done by editing the Exim rules, but it is not supported by us.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

You must login before you can post a comment about this answer.

0

JacobIMH
Staff
9,962 Points
2014-03-04 5:33 pm EST
Hello,

It's important to point out that if you are using the User Level Filtering in cPanel, you will only be able to filter mail for the user you select to filter mail for.

If you instead use the Account Level Filtering option in cPanel, that should allow for you to take an action on a message regardless of the recipient in the To: header.

For instance you could setup one that simply states if the To contains @example.com to do something with it. Then any message going to a example.com account would have that filter applied on them globally instead of down at the individual email user level.

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!