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.

Only Allow Gmail Forward

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

Tags:
  1. Air America

    Air America Registered

    Joined:
    Dec 22, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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 @gmail.com 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,280
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    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.
     
Loading...

Share This Page