Topic: SPF_FAIL=5 for domain with correct SPF record
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 5.0
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Debian 10.10.
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- 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,
Can you help me with score SPF_FAIL=5?
I have a log with information :
Oct 11 16:29:12 mail amavis[30379]: (30379-12) Passed CLEAN {RelayedInbound}, [212.122.192.46]:58179 [5.174.23.34] ESMTP/ESMTP <remote_user@wp.pl> -> <local_user@pbs.edu.pl>, (ESMTP://[212.122.192.46]:58179 < ESMTP://212.77.101.8 < SMTP://5.174.23.34), Queue-ID: 4HSh4l6XNyz339l, Message-ID: <33a042dd91da4801a664bab4698b10fd@grupawp.pl>, mail_id: PIdVdhDdNanD, b: noXf9gHev, Hits: 4.803, size: 5536, queued_as: 4HSh4m1g88z33BN, Subject: "Subject123", From: <remoteuser@wp.pl> (dkim:AUTHOR), User-Agent: GWP-Draft, helo=mx10.utp.edu.pl, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DKIM_VALID_EF=-0.1,FREEMAIL_FROM=0.001,HTML_MESSAGE=0.001,SPF_FAIL=5,SPF_HELO_NONE=0.001], autolearn=no autolearn_force=no, autolearnscore=4.803, dkim_i=@wp.pl, dkim_sd=1024a:wp.pl, 289 ms
I use a SPAM Gateway which collects e-mail from the Internet and then forwards it to the iredmail server.
I think my SPAM Gateway is the problem when spf records are checked. I'v added the relay IP address to the whitelist but that didn't fix the problem.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.