<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Random bounces]]></title>
		<link>https://forum.iredmail.org/topic20643-random-bounces.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20643.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Random bounces.]]></description>
		<lastBuildDate>Mon, 21 Oct 2024 13:30:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Random bounces]]></title>
			<link>https://forum.iredmail.org/post89743.html#p89743</link>
			<description><![CDATA[<p>Thank you, Zhang.</p><p>There is no forwarding back to our server in place. Not something I would have thought of, but I did double check this.</p><p>I am hesitant to add ALLOWED_FORGED_SENDERS setting, as I feel it should not be needed, and I don&#039;t quite understand the implications.</p><p>The main thing I do not understand is why it only fails with a very small percentage of the emails, and re-sending it likely works. If something was misconfigured, would it not always fail?</p>]]></description>
			<author><![CDATA[null@example.com (pdal)]]></author>
			<pubDate>Mon, 21 Oct 2024 13:30:43 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89743.html#p89743</guid>
		</item>
		<item>
			<title><![CDATA[Re: Random bounces]]></title>
			<link>https://forum.iredmail.org/post89729.html#p89729</link>
			<description><![CDATA[<div class="quotebox"><cite>pdal wrote:</cite><blockquote><p>554 5.7.1 : Recipient address rejected: SMTP AUTH is required for users under this sender domain</p></blockquote></div><p>This error message was produced by iRedAPD, and you can find the reason and solution:<br /><a href="https://docs.iredmail.org/errors.html#recipient-address-rejected-smtp-auth-is-required-for-users-under-this-sender-domain">https://docs.iredmail.org/errors.html#r … der-domain</a></p><p>The point is not the solution here, but why the sender in this message contains email domain name hosted on your server. Does the external account forward / redirect the forwarded/redirected message back to your server?</p><p>About the SPF/DKIM thing, please make sure you have correct DNS records for your email domain names. Also, is it possible that the sender address in email was changed?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 19 Oct 2024 03:52:40 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89729.html#p89729</guid>
		</item>
		<item>
			<title><![CDATA[Random bounces]]></title>
			<link>https://forum.iredmail.org/post89727.html#p89727</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.3.2 MARIADB edition<br />- Deployed with iRedMail Easy or the downloadable installer? installer<br />- Linux/BSD distribution name and version: CentOS 8<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? Yes<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>This is a bit of a long post, but I&#039;m trying to add as much relevant information as I can think of...</p><p><strong>A bit of history:</strong><br />Say our mail domain is domain.com.&nbsp; Some of our mailboxes are forwarding email to gapps (at user@gapps.domain.com), others to regular gmail/yahoo/whatever accounts, with or without also keeping a local copy.<br />Now, 99% of the time, this works as expected, but every once in a while, gapps is bouncing a message back with<br />&nbsp; &nbsp; </p><div class="quotebox"><blockquote><p>554 5.7.1 : Recipient address rejected: SMTP AUTH is required for users under this sender domain</p></blockquote></div><p>Re-sending the same message will again fix it in 99% of the cases. Rarely it will have to be sent a third time.</p><p>Both SPF and DKIM are set correctly, but I doubt that&#039;s where the problem is because, again, it works correctly 99% of the time.</p><p>This seems to happen mostly (only?) with internal messages, and mostly (only?) when forwarding to gapps accounts.<br />It also may happen when sending to multiple recipients, all of which are forwarding to gapps, one will bounce, and all others go through. This in particular I find puzzling...</p><p>This situation has existed like this for years, without other issues, and has been mostly just annoying, but we can live with it.<br />The system works flawlessly otherwise.</p><br /><p><strong>The bigger problem:</strong><br />Recently, a customer sent us this bounce message which is similar, but more serious than internal only ones.<br />(Note, this user forwards to a regular gmail account, not gapps like above, which may explain the difference in wording):<br /></p><div class="quotebox"><blockquote><p>&lt;user@gmail.com&gt;: host gmail-smtp-in.l.google.com[108.177.96.27] said:<br />550-5.7.26 Your email has been blocked because the sender is unauthenticated.<br />550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM.<br />550-5.7.26 <br />550-5.7.26&nbsp; Authentication results:<br />550-5.7.26&nbsp; DKIM = did not pass<br />550-5.7.26&nbsp; SPF [mail.domain.com] with ip: [redacted] = did not pass</p></blockquote></div><p>How can SPF/DKIM fail in less than 1% of all cases?</p><p>This is the first occurrence we know of that involves external email, or other destinations than gapps.</p><p>We would be OK with just ignoring this error, since gapps/gmail are just backup accounts in case things go horribly wrong, but the customer assumer (and rightfully so) we did not receive the email, which we did.</p><p><strong>The questions:</strong><br /></p><ol class="decimal"><li><p>Any theories what may be going on here (or how to further debug/fix/workaround)</p></li><li><p>Is there some way to do a retry or something before bouncing back to our customers</p></li><li><p>Any ideas on how to (temporary) prevent the user from receiving this bounce message completely, and just ignore it</p></li></ol>]]></description>
			<author><![CDATA[null@example.com (pdal)]]></author>
			<pubDate>Fri, 18 Oct 2024 13:54:58 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89727.html#p89727</guid>
		</item>
	</channel>
</rss>
