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!

A mail forward feature

Discussion in 'cPanel Developers' started by Phillyguy, Oct 27, 2005.

  1. Phillyguy

    Phillyguy Registered

    Oct 27, 2005
    Likes Received:
    Trophy Points:
    I don't know if this is the correct place to recommend this but how about adding a feature to cpanel/WHM which will allow root (via WHM) to disallow certain domains from having the cpanel email forwarder set to them? As an example you could disallow the domain using this feature and then users could no longer use the forward email feature in cpanel to forward their hosting account email to an email address. This would solve some of the aol blacklisting issues where users are forwarding email to their AOL accounts and then marking the mail as spam.

    I don't know how hard it would be but it sure would be helpful. Maybe even have a dynamic error message announcing that email accounts (or whatever domain root blocks from the forward feature) can't be forwarded email via the cpanel feature (like when the user tries to set it up).

  2. richy

    richy Well-Known Member

    Jun 30, 2003
    Likes Received:
    Trophy Points:
    You could do what we've done an modified the /usr/local/cpanel/base/frontend/x/mail/fwds.html screen to state forwarding emails to email addresses is not acceptable (we've actually created our own custom theme to prevent that file from being overwritten). In a month or two's time, we're going to setup a cronjob to check the fowarders file in /etc/ (I can't remember exactly what it's called) and /home/*/etc/* and remove any forwarders setup to AOL addresses.

    Admittedly, it would be "real neat" if cPanel could have an option such as "Prevent forwarding of email to the following addresses: (wildcards accepted)".... If you log this request in Bugzilla (if it's not there already), let me know and I'll happily vote on it!
  3. electric

    electric Well-Known Member

    Nov 5, 2001
    Likes Received:
    Trophy Points:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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