In a zimbra server, local user’s mail were sent as junk or spam mails for the same domain users.
Here are the solutions found in various threads in zimbra forums.
I did all these and the issue solved.🙂
Domain name = test.com
add the line in /opt/zimbra/conf/amavisd.conf.in
‘test.com’ => -10.0,
add the following content in /opt/zimbra/conf/amavis.conf.in
add in /opt/zimbra/whitelist
add in /opt/zimbra/conf/salocal.cf.in
score FH_DATE_PAST_20XX 0.0
add in /opt/zimbra/conf/spamassassin/local.cf
restart the services
zmmtactl restart && zmamavisdctl restart (as zimbra user)
/etc/init.d/zimbra restart (as root user)
Thanks for the zimbra forum contributors.