1 (edited by misieq 2017-11-27 16:21:19)

Topic: Mail marked as spam but user still gets it

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: RH7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,
I have aproblem with mails which are ment to be filtered and relayd to an exchange server for some domain
I use IredMail-Pro and for that domain I have relaying defined:

Relay received email to: smtp:[A.B.C.D]:25 and Relay without verifying local recipients checked out.

When I get a mail qualified as spam i can see in logs:

Nov 26 04:30:39 mail srv amavis[12440]: (12440-16) Passed SPAM {RelayedTaggedInbound,Quarantined}, [198.52.149.85]:39230 [198.52.149.85] <bathroom_redesign@costing.eniuz.stream> -> <someuser@filtering-domain.com>, quarantine: tHJZYwZCaWwj, Queue-ID: 30431B0579, Message-ID: <26155537307616-c72cc8dca728905cd69de6a68f5365f4@costing.eniuz.stream>, mail_id: tHJZYwZCaWwj, Hits: 14.081, size: 3630, queued_as: 18DC84D3066, 1816 ms, Tests: [HTML_FONT_LOW_CONTRAST=0.001,HTML_IMAGE_ONLY_32=0.001,HTML_MESSAGE=0.001,MIME_HTML_ONLY=1.105,PYZOR_CHECK=1.985,RCVD_IN_SBL_CSS=3.558,RDNS_NONE=1.274,SPF_HELO_PASS=-0.001,SPF_PASS=-0.001,T_REMOTE_IMAGE=0.01,URIBL_ABUSE_SURBL=1.948,URIBL_BLACK=1.7,URIBL_DBL_SPAM=2.5]
1,HTML_FONT_LOW_CONTRAST=0.001,HTML_MESSAGE=0.001,MIME_HTML_ONLY=1.105,T_RP_MATCHES_RCVD=-0.01]

The users reports he gets this email and I can also see it in quarantine.  How can I force servert not to relay it to user?

I have all settings from https://docs.iredmail.org/quarantining.html configured properly

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Mail marked as spam but user still gets it

Do you have "$final_spam_destiny = D_DISCARD;" in Amavisd config file?

if you have iRedAdmin-Pro, you can easily manage the global / per-domain / per-user spam policy.

https://docs.iredmail.org/images/iredadmin/system_global_spam_policy.png