Exclude Junk Email from being forwarded
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.
-
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 0 -
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.0 -
Not sure only way is just to test it and see what happens 0 -
"This option requires that each user enable Apache SpamAssassin" or the "Apache SpamAssassin": Forced Global ON" is enabled." 0 -
Well isn't that interesting. Guess not 0 -
Hello, You can use an Exim system filter rule to to filter outgoing email. 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: Blocking all cpanel users from emailing specific domains/email accounts Need to filter ALL email Thank you. 0 -
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. 0
Please sign in to leave a comment.
Comments
7 comments