The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Restrict certain email accounts to send email within domain

Discussion in 'E-mail Discussions' started by shanshah, Jul 28, 2016.

  1. shanshah

    shanshah Registered

    Joined:
    Jul 28, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    cPanel Access Level:
    Website Owner
    Hello Team,

    How do I restrict some email accounts to send email only in their same domains instead out side the domains. Your quick response willy highly appreciate.

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. shanshah

    shanshah Registered

    Joined:
    Jul 28, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    cPanel Access Level:
    Website Owner
    Dear Michael,

    Thanks for suggestion, But I want some thing different.

    Suppose I am a Cpanel Account user instead of Root/WHM user, and I want some of mine users to only send emails to within same domain. I don't let them allow to send out bound email.

    I don't have rights to edit the Exim System Filter, I am a normal account holder cpanel user, having website hosted and some email accounts. I want my few email accounts user to send only with in same domains email instead outside.

    Please help.

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You will need to reach out to your web hosting provider to see if they can implement such a rule for that domain name. The filtering options available to you in cPanel are for incoming email only.

    Thank you.
     
  5. shanshah

    shanshah Registered

    Joined:
    Jul 28, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    cPanel Access Level:
    Website Owner
    Dear Michael,

    Yes there is only incoming email filter option available. But what about outgoing filter? Is there any possibility to restrict the users for outgoing emails only in the same domain?

    what you think should I open a ticket to Cpanel team for the same. ( as I am also a hosting service provider ).

    Thanks
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you verify if you have root access to this server? For instance, can you access Web Host Manager as the "root" user?

    Thank you.
     
  7. shanshah

    shanshah Registered

    Joined:
    Jul 28, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    cPanel Access Level:
    Website Owner
    yes Michael,

    I have root and WHM access.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  9. framos41

    framos41 Member

    Joined:
    Jul 10, 2017
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Chile
    cPanel Access Level:
    Root Administrator

    Hello, as in the first link they show how to block emails if coming from some emails, how can this be done but set one email account to receive emails ONLY from the specified emails or domains and block the other ones, this should be done server level email accounts or can be done for each account emails accounts? as i have several accounts in my vps

    Regards!
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @framos41,

    I recommend using the "Global Email Filters" option in cPanel for any account you'd like to implement such a rule with. This is likely the easiest and most supported method of enabling such a filter. The option is documented at:

    Global Email Filters - Documentation - cPanel Documentation

    Additionally, you may find the following document helpful when attempting to setup the custom filter rule:

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

    Thank you.
     
  11. framos41

    framos41 Member

    Joined:
    Jul 10, 2017
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Thank

    Thank you! Solved
     
    cPanelMichael likes this.
Loading...

Share This Page