Scan spam in outgoing emails. Several questions.

benito

Well-Known Member
Jan 8, 2004
442
26
178
Mar del Plata - Argentina
cPanel Access Level
Root Administrator
Twitter
Hello! Im setting up the scan for spam in our outgoing emails and i get confused by the instructions about this feature.

For example it says something like this:

Scan outgoing messages for spam and reject based on SpamAssassin internal spam_score setting

This option allows SpamAssassin to scan and reject messages sent to non-local domains which have a higher spam score than SpamAssasin's internal spam_score setting of 5.


SpamAssassin will not scan messages that have been forwarded to remote email addresses.
Question 1: What means this last sentence? For me remote email is the same as non-local.

Question 2: There are any logs for outgoing emails getting blocked? I like to monitor how filters are working with my customers.

Thanks!
 

24x7ss

Well-Known Member
Sep 30, 2014
272
19
68
India
cPanel Access Level
Root Administrator
Twitter
Hello,

Mails will not be scanned for remote server that are set in /etc/ips.remotemail. Also, you can tail /var/log/exim_mainlog file for logs. This file is used to populate logs for incoming/outgoing mails. This file also shows if the mail server IP is blacklisted and mail has been rejected by receiver server. You can also scan the mail server's IP for blacklisting. There are plenty of sites who does the lookup for you. Just google it.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

1.
and reject messages sent to non-local domains
This refers to domain names other than what's handled locally on your cPanel server (e.g. domain names in your /etc/localdomains file).

messages that have been forwarded to remote email addresses.
You can enable SpamAssassin for "forwarded" email via the following option under the "Apache SpamAssassin Options" tab via "WHM Home » Service Configuration » Exim Configuration Manager":

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

2. Email activity is logged to /var/log/exim_mainlog.

Thank you.