reject_forwarded_mail_marked_as_spam whitelist sender domain

dandadude

Well-Known Member
Apr 14, 2011
62
1
58
Hello!

I have a client (client.com for instance) that always runs into "reject_forwarded_mail_marked_as_spam" when sending to some addresses outside our cPanel server.
Instead of telling my client to change the way he sends the mails, I would like to whitelist my client's full domain so that the mail they send from that domain isn't checked for spam (outgoing spam).

This is how the whole rule looks like in exim.conf:

reject_forwarded_mail_marked_as_spam:
driver = redirect
domains = ! +local_domains
condition = ${if eq {$spam_score_int}{}{0}{${if >{$spam_score_int}{50}{1}{0}}}}
#ignore verisign to prevent waste of bandwidth
ignore_target_hosts = +loopback : 64.94.110.0/24
allow_fail
data = :fail: This mail cannot be forwarded because it was detected as spam.

How am I supposed to do this? I am thinking that it will have to do something with "domains" above, but how?

Thanks,
Daniel
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,780
332
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
I would check this setting in Exim Configuration:

Do not forward mail to external recipients if it matches the Apache SpamAssassin™ internal spam_score setting

And ensure that it is Off
 
  • Like
Reactions: dandadude and cPRex