Help Needed: Flagged Emails Not Redirecting to Junk Folder
Hello CPanel Community,
I hope you're all doing well. I'm reaching out to seek some assistance with an issue I've been facing regarding email configuration on my VPS.
I've configured my spam threshold score to 10 and have set up both DKIM and SPF records as follows:
DKIM:
- Name: default._domainkey.domain.com
- Value: v=DKIM1; k=rsa; p=MIIBIj............................................;
SPF:
- Name: "domain.com"
- Value: "v=spf1 +mx +a +ip4:xxx.xxx.xx.xxx +include:domain.com +include:domain2.com +include:domain1.com ~all"
However, despite these configurations, flagged emails are not being redirected to the Junk folder as expected. This issue is affecting the effectiveness of our spam filtering system.
I've tried troubleshooting on my end, but haven't been successful in resolving the issue. If anyone in the community has encountered a similar problem or has expertise in email configuration within CPanel, I would greatly appreciate any guidance or recommendations you can provide.
Your insights and assistance would be invaluable in helping me resolve this issue and ensure that flagged emails are correctly redirected to the Junk folder based on the configured spam threshold score.
Thank you all in advance for your support and assistance.
-
too Sad that You Inquire something and no one comes out to assist! To give any advise. Could someone tell me if I need to acquire a paid support and I'll do so
0 -
Hey there! Setting up SPF and DKIM will not necessarily have an effect on the mail being routed to spam. The email would still need to trigger your spam score threshold in order to get marked as spam.
The best thing to do would be to check the Exim logs on the machine by searching for an entire mail ID like this:
grep 1s1HEQ-0000000B09s-2CX1 /var/log/exim_mainlog
to see how the message in question is being processed.
Our Forums are not staffed over the weekend, so if you need immediate assistance it would be best to open a support ticket so our team can check out your issue.
0 -
I expect at least this email to go to spam folder or junk, just deleted and we miss update message cos of this.
[root@vmi1195906 ~]# grep 1s3xUI-0005qS-0D /var/log/exim_mainlog
2024-05-06 15:30:33 1s3xUI-0005qS-0D H=mail-vs1-f68.google.com [209.85.217.68]:51561 Warning: "SpamAssassin as pxxxxxxxxs detected message as spam (5.7)"
2024-05-06 15:30:33 1s3xUI-0005qS-0D <= nicxxxxxx@gmail.com H=mail-vs1-f68.google.com [209.85.217.68]:51561 P=esmtps X=TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no S=4913 DKIM=gmail.com id=CABojBut4t_9UuFLT3uyTSJdLyDottFnDfvsLJ8g4tL1VbuPr0w@mail.gmail.com T="Documents" for hr@pyyyyys.com
2024-05-06 15:30:33 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1s3xUI-0005qS-0D
2024-05-06 15:30:33 1s3xUI-0005qS-0D ** hr@pyyyyyys.com R=central_filter: mail wasn't delivered
2024-05-06 15:30:33 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1s3xUI-0005qS-0D
2024-05-06 15:30:33 1s3xUH-0005vb-1T <= <> R=1s3xUI-0005qS-0D U=mailnull P=local S=6246 T="Mail delivery failed: returning message to sender" for nichxxxxxxxx@gmail.com
2024-05-06 15:30:33 1s3xUI-0005qS-0D Completed
[root@vmi1195906 ~]#0 -
Thanks for the additional details. That central_filter line seems to indicate that something is specifically deleting that message. Do you have anything in /etc/valiases/yourdomain.com that could explain this?
0 -
[root@vmi1195906 ~]# ls -la /etc/valiases/exxxxxy.com
-rw-r-----. 1 exxxxxy mail 227 Jan 19 15:24 /etc/valiases/exxxxxy.com
[root@vmi1195906 ~]#[root@vmi1195906 ~]# nano /etc/valiases/exxxxxy.com
when run nano /etc/valiases/exxxxxy.com I see only listed emails
0 -
I check from the Global Email Filters and this is what I saw. any advise
0 -
If you no longer want that to happen yes, you can just delete that rule.
0
Please sign in to leave a comment.
Comments
7 comments