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!

Blocking Web-mail for specific e-mail user

Discussion in 'E-mail Discussion' started by Source1, Sep 2, 2014.

  1. Source1

    Source1 Member

    Joined:
    Jun 19, 2014
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Is it possible to block webmail access for a particular e-mail user on cPanel server?

    Regards,
    AdminS1
     
  2. triantech

    triantech Well-Known Member

    Joined:
    Jul 1, 2014
    Messages:
    143
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Hello AdminS1,

    I'm not sure of your end-goal in this. You can easily change the permission/ownership of the mail folder to block *ALL* access in relation to the particular e-mail user.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Source1

    Source1 Member

    Joined:
    Jun 19, 2014
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello Triantech,

    My goal is to create a filter to keep deliveries within domain from some users and restrict them to use webmail from out side.

    Another idea is that I can change the passwords and configure the users email client my self without telling them the password.
    This way the will be able to use e-mail clients but since they don't know the passwords they will not be able to use mail client or web-mail from outside.
     
  4. Source1

    Source1 Member

    Joined:
    Jun 19, 2014
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I have written filter to achieve the following, but somehow it's not working:

    User: abc@domain.com should be able send mail within domain.com
    But in case user abc@domain.com sends mail to any external domain i.e. abc@gmail.com it only deliver to monitor@domain.com

    ##################################
    # Monitor outgoing emails from domain.tld
    if first_delivery
    and ("$h_from:" contains "abc@domain.com")
    and ("$h_to:" does not contain "@domain.com")
    then
    unseen deliver "monitor@domain.com"
    endif
    ##################################


    Can someone help please?

    Regards,
    AdminS1
     
  5. triantech

    triantech Well-Known Member

    Joined:
    Jul 1, 2014
    Messages:
    143
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Source1

    Source1 Member

    Joined:
    Jun 19, 2014
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Can someone please tell me what's wrong with this filter ?

    Regards
    Source1
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,789
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    How have you implemented the filter? Note that filters created in cPanel only apply to incoming email.

    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