Skip to main content

Disable Email Forwarder in Webmail

Comments

3 comments

  • David P. Levey Jr.
    I wasn't able to find anything "straight forward", nor even a built in function to do this. However, from a quick test, I was able to prevent the creation of "Email Forwarders" by "locking" alias files.
    # pwd && ll /etc/valiases -rw-r----- 1 blockforward mail 18 Oct 15 10:07 blockforwarders.com # chattr +i /etc/valiases/blockforwarders.com
    After making that edit, attempting to create a forwarded in cPanel provided this error
    Error opening "/etc/valiases/blockforwarders.com" to write: Permission denied at /usr/local/cpanel/Cpanel/Email/Aliases.pm line 101.
    I realize this is less than ideal, but may suffice depending on how important that functionality is to you. Good luck!
    0
  • zaher
    As a server administrator, i still need to be able to make forwards, so this should only be disable in Webmail. I read about adjusting the theme files, but my question is more toward built in functionality.
    0
  • cPanelMichael
    Hello :) It's not possible without disabling the forwarding option for the entire account. You can open a feature request for this via: Submit A Feature Request Thank you.
    0

Please sign in to leave a comment.