<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — SPF Check not working for incoming mail]]></title>
		<link>https://forum.iredmail.org/topic19746-spf-check-not-working-for-incoming-mail.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic19746.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SPF Check not working for incoming mail.]]></description>
		<lastBuildDate>Tue, 25 Apr 2023 01:13:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SPF Check not working for incoming mail]]></title>
			<link>https://forum.iredmail.org/post86126.html#p86126</link>
			<description><![CDATA[<p>Thanks for sharing. <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 25 Apr 2023 01:13:37 +0000</pubDate>
			<guid>https://forum.iredmail.org/post86126.html#p86126</guid>
		</item>
		<item>
			<title><![CDATA[Re: SPF Check not working for incoming mail]]></title>
			<link>https://forum.iredmail.org/post86125.html#p86125</link>
			<description><![CDATA[<p>I have fixed it as gmail.com e.g. now results in a SPF_PASS.</p><p>The issue was to my surprise that using 1.1.1.1 (Cloudflare DNS) did not work. I have setup my own recursive caching DNS for localhost use only and now all SPF lookups work.</p><p>As a side effect RDNS lookups are improved too. What I did not notice before is that many providers like Zenhaus block queries by 1.1.1.1 due to the vast amount of queries through that DNS.</p>]]></description>
			<author><![CDATA[null@example.com (Chrissicom)]]></author>
			<pubDate>Mon, 24 Apr 2023 22:16:01 +0000</pubDate>
			<guid>https://forum.iredmail.org/post86125.html#p86125</guid>
		</item>
		<item>
			<title><![CDATA[Re: SPF Check not working for incoming mail]]></title>
			<link>https://forum.iredmail.org/post86112.html#p86112</link>
			<description><![CDATA[<p>Try to turn on debug mode and check how SPF module works: <a href="https://docs.iredmail.org/debug.amavisd.html">https://docs.iredmail.org/debug.amavisd.html</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 24 Apr 2023 13:15:16 +0000</pubDate>
			<guid>https://forum.iredmail.org/post86112.html#p86112</guid>
		</item>
		<item>
			<title><![CDATA[SPF Check not working for incoming mail]]></title>
			<link>https://forum.iredmail.org/post86107.html#p86107</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.6.2<br />- Linux/BSD distribution name and version: Rocky Linux 8<br />- Manage mail accounts with iRedAdmin-Pro? No<br />====</p><p>I am having a problem with SPF checks and Spamassassin tagging on incoming E-mails. Here is an example of the tagging:</p><div class="codebox"><pre><code>X-Spam-Status: No, score=2.614 tagged_above=-999 required=2.9
    tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
    DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_IMAGE_ONLY_32=2.2,
    HTML_IMAGE_RATIO_02=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.25,
    SPF_NONE=0.35, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001]</code></pre></div><p>As you can see SPF_NONE and SPF_HELO_NONE is set which according to the manual means that no SPF or SPF_HELO record has been found on the domain. The issue is that <strong>every</strong> incoming E-Mail is getting this tag, even if they come from e.g. gmail.com which has a valid SPF record so I should get a SPF_PASS in the header. Even when I am trying to forge the sender myself I get a SPF_NONE instead of the required SPF_FAIL.</p><p>Unfortunately I don&#039;t know where to start looking for a possible configuration error since SPAM tagging and everything else is working without issues. The non-working SPF checks is the only issue I have with the mail server.</p>]]></description>
			<author><![CDATA[null@example.com (Chrissicom)]]></author>
			<pubDate>Mon, 24 Apr 2023 11:16:43 +0000</pubDate>
			<guid>https://forum.iredmail.org/post86107.html#p86107</guid>
		</item>
	</channel>
</rss>
