<?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>Racker Hacker &#187; dovecot</title>
	<atom:link href="http://rackerhacker.com/tag/dovecot/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Wed, 16 May 2012 12:55:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Dovecot: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory</title>
		<link>http://rackerhacker.com/2008/01/22/dovecot-libsepolso1-failed-to-map-segment-from-shared-object-cannot-allocate-memory/</link>
		<comments>http://rackerhacker.com/2008/01/22/dovecot-libsepolso1-failed-to-map-segment-from-shared-object-cannot-allocate-memory/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 18:47:21 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[dovecot]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/2008/01/22/dovecot-libsepolso1-failed-to-map-segment-from-shared-object-cannot-allocate-memory/</guid>
		<description><![CDATA[You may catch this error when you attempt to start dovecot on a Red Hat Enterprise Linux 5.1 system with the 64-bit architecture: dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment [...]<p><a href="http://rackerhacker.com/2008/01/22/dovecot-libsepolso1-failed-to-map-segment-from-shared-object-cannot-allocate-memory/">Dovecot: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>You may catch this error when you attempt to start dovecot on a Red Hat Enterprise Linux 5.1 system with the 64-bit architecture:</p>
<p><code>dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory<br />
dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory</code></p>
<p>If you start dovecot, the main dovecot daemon will run with one auth child process, but there will be no POP/IMAP processes started.  To fix the issue, open the /etc/dovecot.conf and adjust the following directive:</p>
<p><code>login_process_size = 64</code></p>
<p>Restart dovecot after making the change:</p>
<p><code># /etc/init.d/dovecot restart</code></p>
<p><em>This was tested on RHEL 5.1 x86_64.</em></p>
<p><a href="http://rackerhacker.com/2008/01/22/dovecot-libsepolso1-failed-to-map-segment-from-shared-object-cannot-allocate-memory/">Dovecot: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2008/01/22/dovecot-libsepolso1-failed-to-map-segment-from-shared-object-cannot-allocate-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dovecot: mbox: Can&#039;t create root IMAP folder</title>
		<link>http://rackerhacker.com/2007/10/09/dovecot-mbox-cant-create-root-imap-folder/</link>
		<comments>http://rackerhacker.com/2007/10/09/dovecot-mbox-cant-create-root-imap-folder/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 01:05:52 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[dovecot]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/2007/10/09/dovecot-mbox-cant-create-root-imap-folder/</guid>
		<description><![CDATA[In some situations with dovecot running on your server, you may receive a message from your e-mail client stating that the "connection was interrupted with your mail server" or the "login process failed". This may happen even if you've created the e-mail account, created the mail spool, and set a password for the user. If [...]<p><a href="http://rackerhacker.com/2007/10/09/dovecot-mbox-cant-create-root-imap-folder/">Dovecot: mbox: Can't create root IMAP folder</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>In some situations with dovecot running on your server, you may receive a message from your e-mail client stating that the "connection was interrupted with your mail server" or the "login process failed".  This may happen even if you've created the e-mail account, created the mail spool, and set a password for the user.</p>
<p>If you check your /var/log/maillog, you will generally find errors like these:</p>
<p><code>Oct 7 09:37:45 mailserver pop3-login: Login: newuser [111.222.333.444]<br />
Oct 7 09:37:45 mailserver pop3(newuser): mbox: Can't create root IMAP folder /home/newuser/mail: Permission denied<br />
Oct 7 09:37:45 mailserver pop3(newuser): Failed to create storage with data: mbox:/var/spool/mail/newuser</code></p>
<p>Dovecot is telling you that it wants to store some mail-related data in the user's home directory, but it can't get access to the user's home directory.  If the home directory doesn't exist, create it and set the permissions properly:</p>
<p><code># mkdir /home/newuser<br />
# chown newuser:newuser /home/newuser<br />
# chmod 755 /home/newuser</code></p>
<p>If the directory is already there, double check the ownership and permissions on the directory.  If filesystem acl's or filesystem quotas might be in play, be sure to check those as well.</p>
<p><a href="http://rackerhacker.com/2007/10/09/dovecot-mbox-cant-create-root-imap-folder/">Dovecot: mbox: Can't create root IMAP folder</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2007/10/09/dovecot-mbox-cant-create-root-imap-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

