<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>inmyplace.info &#187; postfix</title>
	<atom:link href="http://inmyplace.info/tag/postfix/feed/" rel="self" type="application/rss+xml" />
	<link>http://inmyplace.info</link>
	<description>Thoughts and writings of someone loving linux, the web and his iphone</description>
	<lastBuildDate>Sat, 19 Feb 2011 15:06:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>[Postfix] &#8211; warning: mail_queue_enter: create file maildrop Permission denied</title>
		<link>http://inmyplace.info/2008/05/07/postfix-warning-mail_queue_enter-create-file-maildrop-permission-denied/</link>
		<comments>http://inmyplace.info/2008/05/07/postfix-warning-mail_queue_enter-create-file-maildrop-permission-denied/#comments</comments>
		<pubDate>Wed, 07 May 2008 10:39:48 +0000</pubDate>
		<dc:creator>hmorandell</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://inmyplace.info/?p=57</guid>
		<description><![CDATA[After trying to setup postgrey, I had a lot of warning messages in my mail.log file like this: May 7 12:26:19 gandalf postfix/postdrop&#91;6065&#93;: warning: mail_queue_enter: create file maildrop/713410.6065: Permission denied May 7 12:26:29 gandalf postfix/postdrop&#91;6119&#93;: warning: mail_queue_enter: create file maildrop/724102.6119: Permission denied May 7 12:26:29 gandalf postfix/postdrop&#91;6065&#93;: warning: mail_queue_enter: create file maildrop/734104.6065: Permission denied May [...]]]></description>
			<content:encoded><![CDATA[<p>After trying to setup postgrey, I had a lot of warning messages in my mail.log file like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">May  <span style="color: #000000;">7</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">26</span>:<span style="color: #000000;">19</span> gandalf postfix<span style="color: #000000; font-weight: bold;">/</span>postdrop<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">6065</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: warning: mail_queue_enter: create <span style="color: #c20cb9; font-weight: bold;">file</span> maildrop<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">713410.6065</span>: Permission denied
May  <span style="color: #000000;">7</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">26</span>:<span style="color: #000000;">29</span> gandalf postfix<span style="color: #000000; font-weight: bold;">/</span>postdrop<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">6119</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: warning: mail_queue_enter: create <span style="color: #c20cb9; font-weight: bold;">file</span> maildrop<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">724102.6119</span>: Permission denied
May  <span style="color: #000000;">7</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">26</span>:<span style="color: #000000;">29</span> gandalf postfix<span style="color: #000000; font-weight: bold;">/</span>postdrop<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">6065</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: warning: mail_queue_enter: create <span style="color: #c20cb9; font-weight: bold;">file</span> maildrop<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">734104.6065</span>: Permission denied
May  <span style="color: #000000;">7</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">26</span>:<span style="color: #000000;">39</span> gandalf postfix<span style="color: #000000; font-weight: bold;">/</span>postdrop<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">6119</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: warning: mail_queue_enter: create <span style="color: #c20cb9; font-weight: bold;">file</span> maildrop<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">744803.6119</span>: Permission denied
May  <span style="color: #000000;">7</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">26</span>:<span style="color: #000000;">39</span> gandalf postfix<span style="color: #000000; font-weight: bold;">/</span>postdrop<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">6065</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: warning: mail_queue_enter: create <span style="color: #c20cb9; font-weight: bold;">file</span> maildrop<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">754805.6065</span>: Permission denied
May  <span style="color: #000000;">7</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">26</span>:<span style="color: #000000;">49</span> gandalf postfix<span style="color: #000000; font-weight: bold;">/</span>postdrop<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">6119</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: warning: mail_queue_enter: create <span style="color: #c20cb9; font-weight: bold;">file</span> maildrop<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">765505.6119</span>: Permission denied
May  <span style="color: #000000;">7</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">26</span>:<span style="color: #000000;">49</span> gandalf postfix<span style="color: #000000; font-weight: bold;">/</span>postdrop<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">6065</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: warning: mail_queue_enter: create <span style="color: #c20cb9; font-weight: bold;">file</span> maildrop<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">775505.6065</span>: Permission denied
May  <span style="color: #000000;">7</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">26</span>:<span style="color: #000000;">59</span> gandalf postfix<span style="color: #000000; font-weight: bold;">/</span>postdrop<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">6119</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: warning: mail_queue_enter: create <span style="color: #c20cb9; font-weight: bold;">file</span> maildrop<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">786207.6119</span>: Permission denied</pre></div></div>

<p>To get rid of this messages, I had to do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>gandalf:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #666666; font-style: italic;"># postfix check</span>
postfix<span style="color: #000000; font-weight: bold;">/</span>postfix-script: warning: not owned by group postdrop: <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #000000; font-weight: bold;">/</span>public
postfix<span style="color: #000000; font-weight: bold;">/</span>postfix-script: warning: not owned by group postdrop: <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #000000; font-weight: bold;">/</span>maildrop</pre></div></div>

<p><strong><span style="color: #ff0000;">SOLUTION:</span></strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>gandalf:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #666666; font-style: italic;"># /etc/init.d/postfix stop</span>
root<span style="color: #000000; font-weight: bold;">@</span>gandalf:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #666666; font-style: italic;"># killall -9 postdrop</span>
root<span style="color: #000000; font-weight: bold;">@</span>gandalf:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #666666; font-style: italic;"># chgrp -R postdrop /var/spool/postfix/public</span>
root<span style="color: #000000; font-weight: bold;">@</span>gandalf:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #666666; font-style: italic;"># chgrp -R postdrop /var/spool/postfix/maildrop/</span>
root<span style="color: #000000; font-weight: bold;">@</span>gandalf:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #666666; font-style: italic;"># postfix check</span>
root<span style="color: #000000; font-weight: bold;">@</span>gandalf:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #666666; font-style: italic;"># postfix reload</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://inmyplace.info/2008/05/07/postfix-warning-mail_queue_enter-create-file-maildrop-permission-denied/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

