Email messages moved to SPAM folder

albatroz

Well-Known Member
Mar 6, 2003
401
6
168
Virtual Orbis / Peru
cPanel Access Level
Root Administrator
Twitter
I have a recurrent problem with a customer that receives emails from a particular Gmail address
that are then moved to the SPAM folder inside CPanel webmail despite not having spambox enabled

I have checked mailscanner logs (because I have Config Server script installed) and those messages
are not being marked as SPAM so I would like to discard if maybe the email client software (i.e. Outlook)
may be doing this operation. Is there a chance that this may be happening?
 

LucasRolff

Well-Known Member
Community Guide Contributor
May 27, 2013
142
95
78
cPanel Access Level
Root Administrator
If so, how could it be tracked?
tcpdump with a certificate if they connect over TLS and see what mail traffic is going on between the client and the server. You could also ask the client if they have any rules in their client or possibly ask them to disable spam filtering (for those applications who offer this).
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @albatroz,

You could also search for one of the specific messages that was moved to the SPAM folder using the exigrep utility. EX:

Code:
exigrep "$SUBJECT" /var/log/exim_mainlog
Replace $SUBJECT with the subject of one of the affected messages (leave the quotes) and see if you notice any filter actions. If so, it's likely an Exim filtering rule moving the email. If not, it's likely an email client moving the email.

For tips on reading the Exim logs, see this resource: Tutorial - Reading and Understanding the exim main_log

Thank you.