Exclude Junk Email from being forwarded

MACscr

Well-Known Member
Sep 30, 2003
198
5
168
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.
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,977
155
368
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
 

MACscr

Well-Known Member
Sep 30, 2003
198
5
168
cPanel Access Level
Root Administrator
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
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.
 

MACscr

Well-Known Member
Sep 30, 2003
198
5
168
cPanel Access Level
Root Administrator
"This option requires that each user enable Apache SpamAssassin™ or the “Apache SpamAssassin™: Forced Global ON” is enabled."
 

ebizindia

Well-Known Member
Oct 13, 2005
100
4
168
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.