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.

Exclude Junk Email from being forwarded

Discussion in 'E-mail Discussions' started by MACscr, Jun 18, 2016.

  1. MACscr

    MACscr Well-Known Member

    Joined:
    Sep 30, 2003
    Messages:
    190
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Ok, I have an external anti-spam appliance that makes spam as such and then I have a rule that is setup on all email accounts that moves the emails marked as junk to their junk folder. The problem is that some users have forwards setup to have all their email forwarded to some outside email address like gmail, etc, and then the emails labeled as junk get forwarded as well. I am not worried about the user receiving junk mail, but I am having problems with then my system sending out junk mail because of that forward. Any suggestions for resolving this? If it was up to me, I wouldn't even allow users to forwards like that, but unfortunately thats not a practical option.
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Exim configuration Mnager Apache SpamAssassin
    Scan outgoing messages for spam and reject based on defined Apache SpamAssassin™ score
    and
    Do not forward mail to external recipients based on the defined Apache SpamAssassin™ score
     
  3. MACscr

    MACscr Well-Known Member

    Joined:
    Sep 30, 2003
    Messages:
    190
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Thanks for the ideas. My problem is that I have SA completely disabled on the systems because of the external anti-spam appliance and we use mailchannels for outgoing mail. Will these settings still work even with SA disabled on the cpanel server? I am using SA labeling in the headers on the incoming appliance, so Exim should still recognize them.
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Not sure only way is just to test it and see what happens
     
  5. MACscr

    MACscr Well-Known Member

    Joined:
    Sep 30, 2003
    Messages:
    190
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    "This option requires that each user enable Apache SpamAssassin™ or the “Apache SpamAssassin™: Forced Global ON” is enabled."
     
  6. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Well isn't that interesting. Guess not
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  8. ebizindia

    ebizindia Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    72
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Kolkata, India
    cPanel Access Level:
    Root Administrator
    If you can convince the users, ask them to forward all the mails to a local mailbox and then Gmail can be configured to pick up the emails from this mailbox. This way, Gmail won't reject and possibly not mark your reputation as bad.
     
Loading...

Share This Page