Topic: Outgoing mails marked as spam because of HELO_NO_DOMAIN and RDNS_NONE
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
I have the problem, that all outgoing mails from smarthost customers are marked as spam.
For clarification, I created accounts like customerA@example.org, customerB@example.org and so on.
In
/opt/iredapd/settings.py
I've added those accounts to
ALLOWED_LOGIN_MISMATCH_SENDERS = ['customerA@example.org', 'customerB@example.org']
Problem now is, that all customers mails get high spamassisn scores, because of this:
dovecot:
Jul 17 11:31:41 custmail iredapd INFO: [87.138.213.***] RCPT, customerA@example.org => info@customerA.com -> example-recipient@iredmail.org, DUNNO [sasl_username=customerA@example.org, sender=info@customerA.com, client_name=rdns-record-of-customer.dip0.t-ipconnect.de, reverse_client_name=rdns-record-of-customer.dip0.t-ipconnect.de, helo=dc01.customerA.com, encryption_protocol=TLSv1.2, process_time=0.0100s]
amavis:
Jul 17 11:31:42 custmail amavis[19294]: (19294-04) Passed SPAM {RelayedTaggedInternal}, ORIGINATING LOCAL [87.138.213.***]:58113 [87.138.213.***] <info@customerA.com> -> <example-recipient@iredmail.org>, Queue-ID: D703C6E123E, Message-ID: <178c511fdce446d6b4a622d4d4d7ce1e@dc01.customerA.com>, mail_id: GIgXXTyAZrlz, Hits: 2.992, size: 2016, queued_as: 81F8D6E1241, 363 ms, Tests: [BAYES_20=-0.001,HELO_NO_DOMAIN=2.199,HTML_MESSAGE=0.001,RDNS_NONE=0.793]
HELO_NO_DOMAIN=2.199
RDNS_NONE=0.793
So I wonder, why are those checks performed on a user that authenticates via login?
And second: there is and HELO and the rdns record is also correct...
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.