<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — queue file write error! when sending emails]]></title>
		<link>https://forum.iredmail.org/topic20828-queue-file-write-error-when-sending-emails.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20828.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in queue file write error! when sending emails.]]></description>
		<lastBuildDate>Sat, 22 Mar 2025 01:30:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: queue file write error! when sending emails]]></title>
			<link>https://forum.iredmail.org/post90599.html#p90599</link>
			<description><![CDATA[<p>Setup a new VM with same linux distribution release, then install iRedMail, you will get almost same environment as your production server. Check the permissions in VM.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 22 Mar 2025 01:30:22 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90599.html#p90599</guid>
		</item>
		<item>
			<title><![CDATA[Re: queue file write error! when sending emails]]></title>
			<link>https://forum.iredmail.org/post90594.html#p90594</link>
			<description><![CDATA[<p>Ok, well things seem to be working. I&#039;m not sure what I did; however, I will show what I did just recently and I did find an error that I did in one of the steps from the upgrade instructions.</p><p>1) went back and changed the permissions as follows for ./maildrop directory (drwxrw-rw-)<br />2) after reading some of the files in the ./maildrop direrctory using postcat, i saw several errors, so I deleted those files<br />3) then I went back and reviewed the steps in the upgrade instructions and found in the /etc/postfix/mysql/sender_bcc_maps_domain.cf I misspelled active at the end of the line.&nbsp; I was getting several error messages in the ./maildrop directory pertaining to this file so I relooked at it and found the error.&nbsp; <br />4) I restarted postfix and wallah everything is pleasant again.&nbsp; </p><p>So I still would like to see what the actual /var/spool/postfix permissions and owner:group is and also the contents from a actual fresh or unmodified installation of iRedMail.&nbsp; Just so I have everything correct.</p><p>Thanks<br />I really hope my issue helps someone out there.</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Fri, 21 Mar 2025 20:10:09 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90594.html#p90594</guid>
		</item>
		<item>
			<title><![CDATA[Re: queue file write error! when sending emails]]></title>
			<link>https://forum.iredmail.org/post90593.html#p90593</link>
			<description><![CDATA[<p>Maybe I need to be a little more clear.&nbsp; The error is stating when I press the send button on any of my apps (evolution, roundcube, SOGo) I get an error stating that a file cannot be written to the queue in order to send the email.</p><p>I am by no means an expert with postfix or iredmail or even sendmail.&nbsp; But my assumption is that when the update to 1.7.2 was done that the rwx properties of the mail queue was changed and possibly the owner:group.</p><p>So I have been working and trying to figure out the correct settings for the /var/spool/postfix directory and its contents.&nbsp; I am assuming that this is the correct queue area for postfix.&nbsp; Most of the directories in postfix folder and postfix folder itself are r-x &quot;maildrop&quot; being the one I think may be the issue.&nbsp; However I don&#039;t know, I&#039;m just guessing here.&nbsp; All of the folders seem to be a queue for specific functions.</p><p>Here are the particulars of /var/spool/postfix (drwxr-xr-x) postfix:postdrop</p><p>maildrop within /var/spool/postfix is as follows: (drwxr-xr-x) postfix:postdrop <br />I specifically made these changes to maildrop it was (drwx-wx-T) root:root</p><p>So, I am not sure which directory is causing all of the kaos, or if I am completely off base here.</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Fri, 21 Mar 2025 19:24:07 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90593.html#p90593</guid>
		</item>
		<item>
			<title><![CDATA[Re: queue file write error! when sending emails]]></title>
			<link>https://forum.iredmail.org/post90585.html#p90585</link>
			<description><![CDATA[<p>A bit more info:</p><p>I use Evolution as my client, but, I did try both roundcube and SOGo and it still tells me queue write error.</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Fri, 21 Mar 2025 03:46:38 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90585.html#p90585</guid>
		</item>
		<item>
			<title><![CDATA[Re: queue file write error! when sending emails]]></title>
			<link>https://forum.iredmail.org/post90584.html#p90584</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Is disk space full?</p></blockquote></div><p>No, at least 1TB available</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Fri, 21 Mar 2025 03:39:02 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90584.html#p90584</guid>
		</item>
		<item>
			<title><![CDATA[Re: queue file write error! when sending emails]]></title>
			<link>https://forum.iredmail.org/post90582.html#p90582</link>
			<description><![CDATA[<p>Is disk space full?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 21 Mar 2025 03:32:39 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90582.html#p90582</guid>
		</item>
		<item>
			<title><![CDATA[queue file write error! when sending emails]]></title>
			<link>https://forum.iredmail.org/post90581.html#p90581</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.7.2<br />- Deployed with iRedMail Easy or the downloadable installer? DOWNLOADABLE<br />- Linux/BSD distribution name and version: Debian 12.10<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL (MariaDB) <br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? No<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.</p><p>“DATA command failed: Error: queue file write error”.</p><p>====</p><p>OK,</p><p>So I was going along happy as can be, everything was working great.&nbsp; Then I decided it was time to do the 1/24/2025 update.&nbsp; I followed along with the steps here:</p><p><a href="https://docs.iredmail.org/upgrade.iredmail.1.7.1-1.7.2.html">https://docs.iredmail.org/upgrade.iredm … 1.7.2.html</a></p><p>Now I don&#039;t get emails nor can I send.&nbsp; I do not get any messages stating that received emails are failing; However, I do get &quot;Data command failed: Error: queue file write error&quot;</p><p>I have made several changes to multiple queues that I could see and find; however, to no avail.&nbsp; Still not working.&nbsp; I have spent several hours working on this.&nbsp; This is my own personal server that I am looking to move my family on to in the next few months.&nbsp; I have enjoyed it so far with little issues here and there.&nbsp; Nothing to concerning, however this one is killing me. I do use this server to receive logs and backup notifications.&nbsp; Please help.&nbsp; Request what you may need from me.&nbsp; I will be monitoring every hour or so except after 12 PST.</p><p>FYI:&nbsp; I do not wish to rebuild, I want to learn how to fix issues like this so if it happens again with my family on it, I know how to fix it.</p><p>Thank you for your help</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Fri, 21 Mar 2025 03:15:35 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90581.html#p90581</guid>
		</item>
	</channel>
</rss>
