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!

Only Allow Gmail Forward

Discussion in 'E-mail Discussion' started by Air America, Dec 22, 2016.

  1. Air America

    Air America Registered

    Dec 22, 2016
    Likes Received:
    Trophy Points:
    Atchison, Kansas
    cPanel Access Level:
    Root Administrator
    Google is the only one who has successfully deciphered harmful spam mail content and ip where email originated. Biggest issues these days is cPanel client forwarding of spam.

    Was wondering if anyone has been able to select which external mail hosts are allowed to forward mail yet?

    I am wanting lock down forward to only from cpanel for all my users.
    This will put a stop to clients reporting themselves for spam abuse!

    Maybe a good one for the next whm/cpanel build but figured someone already has an easy solution that would not allow cp user to forward mail to certain hosts or allow certain hosts to forward to...

    Love it when Mail Scanner Que has frozen delivery on spammers. If G deems bad it's been 99.9% accurate. Second biggest issues is dynamic creation of Microsoft email accounts sending spam. Kind of funny how all the other big mail providers will throw you under the bus for false positive client incoming forward spam when they are sending junk to our clients by the masses.

    Anyone been able to master the forward mail spam issue?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    You can use an Exim system filter rule to restrict an email account from sending outgoing email to a specific domain name. A document on modifying the filter rules is available at:

    How to Customize the Exim System Filter File - cPanel Knowledge Base - cPanel Documentation

    You may also find these threads helpful when coming up with the specific rule to use:

    Easiest way to block all outgoing mail to a domain
    Blocking all cpanel users from emailing specific domains/email accounts
    Need to filter ALL email

    Thank you.
    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