<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Integration samba4 Dovecot can't login]]></title>
		<link>http://www.iredmail.org/forum/topic4262-integration-samba4-dovecot-cant-login.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic4262.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Integration samba4 Dovecot can't login.]]></description>
		<lastBuildDate>Wed, 12 Dec 2012 12:18:28 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19528.html#p19528</link>
			<description><![CDATA[<div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>    &#039;user_specific&#039; =&gt; true, // If true the base_dn, bind_dn and bind_pass default to the user&#039;s IMAP login.<br />&nbsp; &nbsp; ...<br />    &#039;bind_dn&#039;       =&gt; &#039;mail=%u@%d,ou=Users,domainName=%d,o=domains,dc=domain,dc=example,dc=com&#039;,<br />   </p></blockquote></div><p>Dear snpz,</p><p>This bind_dn format is default one used in iRedMail + OpenLDAP. Do you have the same structure in Active Directory? I&#039;m afraid not.<br />So, please modify it to fit your Active Directory structure, or, follow our wiki tutorial to use a global bind dn instead.<br /><a href="http://www.iredmail.org/wiki/index.php?title=Integration/Active.Directory.iRedMail#Enable_Global_LDAP_Address_Book_wih_AD_in_Roundcube_webmail">http://www.iredmail.org/wiki/index.php? … be_webmail</a></p><p>P.S. If there&#039;s a tutorial, please follow it strictly first. if it doesn&#039;t work for you, then tune it.<br />Many users reported this or that issue, all are caused by not following our wiki tutorial STRICTLY. Don&#039;t make me feel i&#039;m wasting time to write detailed wiki tutorials.<br />[THIS IS NOT A BLAME, PLEASE CONSIDER IT AS A REMINDER.]</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 12 Dec 2012 12:18:28 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19528.html#p19528</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19504.html#p19504</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>LDAP Error: Bind failed for dn=mail=user1@example.com,ou=Users,domainName=example.com,o=domains,dc=domain,dc=example,dc=com: Invalid credentials</p></blockquote></div><p>&quot;invalid credentials&quot; always means incorrect bind dn or bind password. So please check them in your Roundcube config file. If you aren&#039;t quite sure what the root cause is, show us your address book related settings here to help troubleshoot.</p></blockquote></div><p>Address book related part looks like this!<br />ldap_public in webmail is usable and works!<br />/usr/share/apache2/roundcubemail/config/main.inc.php<br />$rcmail_config[&#039;ldap_public&#039;][&quot;ldap_global&quot;] = array(<br />&nbsp; &nbsp; &#039;name&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;Global LDAP Address Book&#039;,<br />&nbsp; &nbsp; &#039;hosts&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt; array(&#039;127.0.0.1&#039;),<br />&nbsp; &nbsp; &#039;port&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt; 389,<br />&nbsp; &nbsp; &#039;use_tls&#039;&nbsp; &nbsp; &nbsp; &nbsp;=&gt; false,<br />&nbsp; &nbsp; &#039;ldap_version&#039;&nbsp; =&gt; &#039;3&#039;,<br />&nbsp; &nbsp; &#039;user_specific&#039; =&gt; true, // If true the base_dn, bind_dn and bind_pass default to the user&#039;s IMAP login.</p><p>&nbsp; &nbsp; // Search accounts in the same domain.<br />&nbsp; &nbsp; &#039;base_dn&#039;&nbsp; &nbsp; &nbsp; &nbsp;=&gt; &#039;domainName=%d,o=domains,dc=domain,dc=example,dc=com&#039;,<br />&nbsp; &nbsp; &#039;bind_dn&#039;&nbsp; &nbsp; &nbsp; &nbsp;=&gt; &#039;mail=%u@%d,ou=Users,domainName=%d,o=domains,dc=domain,dc=example,dc=com&#039;,<br />&nbsp; &nbsp; &#039;hidden&#039;&nbsp; &nbsp; &nbsp; &nbsp; =&gt; false,<br />&nbsp; &nbsp; &#039;searchonly&#039;&nbsp; &nbsp; =&gt; false,<br />&nbsp; &nbsp; &#039;writable&#039;&nbsp; &nbsp; &nbsp; =&gt; false,<br />&nbsp; &nbsp; &#039;search_fields&#039; =&gt; array(&#039;mail&#039;, &#039;cn&#039;, &#039;sn&#039;, &#039;givenName&#039;, &#039;street&#039;, &#039;telephoneNumber&#039;, &#039;mobile&#039;, &#039;stree&#039;, &#039;postalCode&#039;),</p><p>&nbsp; &nbsp; // mapping of contact fields to directory attributes<br />&nbsp; &nbsp; //&nbsp; &nbsp;for every attribute one can specify the number of values (limit) allowed.<br />&nbsp; &nbsp; //&nbsp; &nbsp;default is 1, a wildcard * means unlimited<br />&nbsp; &nbsp; &#039;fieldmap&#039; =&gt; array(<br />&nbsp; &nbsp; &nbsp; &nbsp;// Roundcube&nbsp; =&gt; LDAP:limit<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;name&#039;&nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;cn&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;surname&#039;&nbsp; &nbsp; &nbsp;=&gt; &#039;sn&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;firstname&#039;&nbsp; &nbsp;=&gt; &#039;givenName&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;title&#039;&nbsp; &nbsp; &nbsp; &nbsp;=&gt; &#039;title&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;email&#039;&nbsp; &nbsp; &nbsp; &nbsp;=&gt; &#039;mail:*&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;phone:work&#039;&nbsp; =&gt; &#039;telephoneNumber&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp;&#039;phone:mobile&#039; =&gt; &#039;mobile&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;street&#039;&nbsp; &nbsp; &nbsp; =&gt; &#039;street&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;zipcode&#039;&nbsp; &nbsp; &nbsp;=&gt; &#039;postalCode&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp;//&#039;region&#039;&nbsp; &nbsp; &nbsp; =&gt; &#039;st&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;locality&#039;&nbsp; &nbsp; =&gt; &#039;l&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;department&#039;&nbsp; =&gt; &#039;departmentNumber&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;notes&#039;&nbsp; &nbsp; &nbsp; &nbsp;=&gt; &#039;description&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; // these currently don&#039;t work:<br />&nbsp; &nbsp; &nbsp; &nbsp; //&#039;phone:workfax&#039; =&gt; &#039;facsimileTelephoneNumber&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; //&#039;photo&#039;&nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;jpegPhoto&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; //&#039;organization&#039; =&gt; &#039;o&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; //&#039;manager&#039;&nbsp; &nbsp; &nbsp; =&gt; &#039;manager&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; //&#039;assistant&#039;&nbsp; &nbsp; =&gt; &#039;secretary&#039;,<br />&nbsp; &nbsp; ),<br />&nbsp; &nbsp; &#039;sort&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;cn&#039;,<br />&nbsp; &nbsp; &#039;scope&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt; &#039;sub&#039;,<br />&nbsp; &nbsp; &#039;filter&#039;&nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;(&amp;(enabledService=mail)(enabledService=deliver)(enabledService=displayedInGlobalAddressBook)(|(objectClass=mailList)(objectClass=mailAlias)(objectClass=mailUser)))&#039;,<br />&nbsp; &nbsp; &#039;fuzzy_search&#039;&nbsp; =&gt; true,<br />&nbsp; &nbsp; &#039;vlv&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt; false,&nbsp; &nbsp;// Enable Virtual List View to more efficiently fetch paginated data (if server supports it)<br />&nbsp; &nbsp; &#039;sizelimit&#039;&nbsp; &nbsp; &nbsp;=&gt; &#039;0&#039;,&nbsp; &nbsp; &nbsp;// Enables you to limit the count of entries fetched. Setting this to 0 means no limit.<br />&nbsp; &nbsp; &#039;timelimit&#039;&nbsp; &nbsp; &nbsp;=&gt; &#039;0&#039;,&nbsp; &nbsp; &nbsp;// Sets the number of seconds how long is spend on the search. Setting this to 0 means no limit.<br />&nbsp; &nbsp; &#039;referrals&#039;&nbsp; &nbsp; &nbsp;=&gt; false,&nbsp; // Sets the LDAP_OPT_REFERRALS option. Mostly used in multi-domain Active Directory setups<br />);</p>]]></description>
			<author><![CDATA[null@example.com (snpz)]]></author>
			<pubDate>Tue, 11 Dec 2012 16:07:06 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19504.html#p19504</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19500.html#p19500</link>
			<description><![CDATA[<div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>LDAP Error: Bind failed for dn=mail=user1@example.com,ou=Users,domainName=example.com,o=domains,dc=domain,dc=example,dc=com: Invalid credentials</p></blockquote></div><p>&quot;invalid credentials&quot; always means incorrect bind dn or bind password. So please check them in your Roundcube config file. If you aren&#039;t quite sure what the root cause is, show us your address book related settings here to help troubleshoot.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 11 Dec 2012 15:30:29 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19500.html#p19500</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19499.html#p19499</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Well, it&#039;s <span style="color: red">ldap_public</span>, not ldap_<span style="color: blue">global</span>.</p></blockquote></div><p>Sorry - my bad <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>But have no idea what to do with this postfix error <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />Dec 11 17:19:01 mail roundcube: LDAP Error: Bind failed for dn=mail=user1@example.com,ou=Users,domainName=example.com,o=domains,dc=domain,dc=example,dc=com: Invalid credentials in /usr/share/apache2/roundcubemail-0.8.2/program/include/rcube_ldap.php on line 433 (GET /mail/?_task=mail&amp;_action=list-contacts&amp;_source=ldap_global&amp;_page=1&amp;_remote=1&amp;_unlock=loading1355239152427&amp;_=1355239152430)</p>]]></description>
			<author><![CDATA[null@example.com (snpz)]]></author>
			<pubDate>Tue, 11 Dec 2012 15:27:41 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19499.html#p19499</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19494.html#p19494</link>
			<description><![CDATA[<p>Well, it&#039;s <span style="color: red">ldap_public</span>, not ldap_<span style="color: blue">global</span>.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 11 Dec 2012 15:14:25 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19494.html#p19494</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19482.html#p19482</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>Addressbook source (ldap_global) not found!</p></blockquote></div><p>You didn&#039;t define global ldap address book &quot;ldap_global&quot; in Roundcube config file.<br /></p><div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>2) Dec 10 18:07:15 mail postfix/smtpd[2652]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 &lt;vmail@example.com&gt;: Recipient address rejected: User unknown in virtual mailbox table; from=&lt;user1@example.com&gt; to=&lt;vmail@example.com&gt; proto=ESMTP helo=&lt;192.168.88.6&gt;.</p></blockquote></div><p>Either create user &quot;vmail@&quot; or create an alias (in /etc/postfix/aliases) for vmail.</p></blockquote></div><p>There is an alias already in aliases - vmail: root</p><p>In /usr/share/apache2/roundcubemail/config/main.inc.php i have:<br />$rcmail_config[&#039;ldap_public&#039;][&quot;example.com&quot;] = array(<br />&nbsp; &nbsp; &#039;name&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;Global Address Book&#039;,<br />etc.<br />Still the same error messages! <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[null@example.com (snpz)]]></author>
			<pubDate>Tue, 11 Dec 2012 05:59:22 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19482.html#p19482</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19474.html#p19474</link>
			<description><![CDATA[<div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>Addressbook source (ldap_global) not found!</p></blockquote></div><p>You didn&#039;t define global ldap address book &quot;ldap_global&quot; in Roundcube config file.<br /></p><div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>2) Dec 10 18:07:15 mail postfix/smtpd[2652]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 &lt;vmail@example.com&gt;: Recipient address rejected: User unknown in virtual mailbox table; from=&lt;user1@example.com&gt; to=&lt;vmail@example.com&gt; proto=ESMTP helo=&lt;192.168.88.6&gt;.</p></blockquote></div><p>Either create user &quot;vmail@&quot; or create an alias (in /etc/postfix/aliases) for vmail.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 11 Dec 2012 02:13:40 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19474.html#p19474</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19468.html#p19468</link>
			<description><![CDATA[<div class="quotebox"><cite>snpz wrote:</cite><blockquote><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Try to enable insecure IMAP connection by following this tutorial, then try again with port 143:<br /><a href="http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Allow.Insecure.POP3.IMAP.Connection.without.STARTTLS">http://www.iredmail.org/wiki/index.php? … t.STARTTLS</a></p></blockquote></div><p>Thanks - it worked!<br />&quot;OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in&quot;<br />But what does it mean to the mail system with enabled plain text auth?!</p></blockquote></div><p>Need assistance <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />I can log in to webmail using Samba 4 users, but the problem is with trying to send an email message:<br />1) auto-complete of To: doesnt work: - &quot;Dec 10 21:51:42 mail roundcube: PHP Error: Addressbook source (ldap_global) not found! in /usr/share/apache2/roundcubemail-0.8.2/program/include/rcmail.php on line 463 (POST /mail/?_task=mail&amp;_action=autocomplete?_task=&amp;_action=)&quot;<br />2) Dec 10 18:07:15 mail postfix/smtpd[2652]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 &lt;vmail@example.com&gt;: Recipient address rejected: User unknown in virtual mailbox table; from=&lt;user1@example.com&gt; to=&lt;vmail@example.com&gt; proto=ESMTP helo=&lt;192.168.88.6&gt;.<br />Any ideas where to look for?</p>]]></description>
			<author><![CDATA[null@example.com (snpz)]]></author>
			<pubDate>Mon, 10 Dec 2012 21:38:47 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19468.html#p19468</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19465.html#p19465</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Try to enable insecure IMAP connection by following this tutorial, then try again with port 143:<br /><a href="http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Allow.Insecure.POP3.IMAP.Connection.without.STARTTLS">http://www.iredmail.org/wiki/index.php? … t.STARTTLS</a></p></blockquote></div><p>Thanks - it worked!<br />&quot;OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in&quot;<br />But what does it mean to the mail system with enabled plain text auth?!</p>]]></description>
			<author><![CDATA[null@example.com (snpz)]]></author>
			<pubDate>Mon, 10 Dec 2012 11:13:32 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19465.html#p19465</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19461.html#p19461</link>
			<description><![CDATA[<p>Try to enable insecure IMAP connection by following this tutorial, then try again with port 143:<br /><a href="http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Allow.Insecure.POP3.IMAP.Connection.without.STARTTLS">http://www.iredmail.org/wiki/index.php? … t.STARTTLS</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 10 Dec 2012 10:46:44 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19461.html#p19461</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19452.html#p19452</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>I&#039;m getting to the point where i should telnet to localhost on 143 port, but all the time i get an error message &quot;* BYE Internal error occurred. Refer to server log for more information.&quot;</p></blockquote></div><p>Port 143 is not enabled by default, please use port 993 (IMAP over TLS) instead.<br /></p><div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>missing +x perm: /var/vmail, dir owned by 0:0 mo</p></blockquote></div><p>Directory /var/vmail must be owned by &quot;vmail:vmail&quot;, permission 0700.</p></blockquote></div><p>Thanks for your reply!<br />Permissions are:<br />root@mail:/var/vmail# ls -l<br />total 12<br />drwx------ 2 vmail vmail 4096 dec&nbsp; 7 12:02 backup<br />drwx------ 2 vmail vmail 4096 dec&nbsp; 7 12:02 sieve<br />drwx------ 2 vmail vmail 4096 dec&nbsp; 7 12:01 vmail1</p><p>Tryed too use port 993, but no success <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />dovecot .log says:<br />Dec 09 10:32:25 imap-login: Info: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, TLS handshaking: SSL_accept() failed: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol</p><p>Looking in dovecot.conf and can&#039;t find out should these lines has to look like this:<br />auth_default_realm =</p><p># Authentication mechanisms.<br />auth_mechanisms = PLAIN LOGIN</p>]]></description>
			<author><![CDATA[null@example.com (snpz)]]></author>
			<pubDate>Sun, 09 Dec 2012 08:42:03 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19452.html#p19452</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19448.html#p19448</link>
			<description><![CDATA[<div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>I&#039;m getting to the point where i should telnet to localhost on 143 port, but all the time i get an error message &quot;* BYE Internal error occurred. Refer to server log for more information.&quot;</p></blockquote></div><p>Port 143 is not enabled by default, please use port 993 (IMAP over TLS) instead.<br /></p><div class="quotebox"><cite>snpz wrote:</cite><blockquote><p>missing +x perm: /var/vmail, dir owned by 0:0 mo</p></blockquote></div><p>Directory /var/vmail must be owned by &quot;vmail:vmail&quot;, permission 0700.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 08 Dec 2012 13:09:00 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19448.html#p19448</guid>
		</item>
		<item>
			<title><![CDATA[Integration samba4 Dovecot can't login]]></title>
			<link>http://www.iredmail.org/forum/post19445.html#p19445</link>
			<description><![CDATA[<p>Hello!</p><p>I&#039;m trying to setup iredmail e-mail server and integrate it with Samba 4 domain controller.<br />So far, so good using this manual: <a href="http://www.iredmail.org/wiki/index.php?title=Integration/Active.Directory.iRedMail">http://www.iredmail.org/wiki/index.php? … y.iRedMail</a><br />First of all could not make dovecot start, because of vmail group was missing. So created a group called vmail (groupadd -g 5000 vmail).<br />I&#039;m getting to the point where i should telnet to localhost on 143 port, but all the time i get an error message &quot;* BYE Internal error occurred. Refer to server log for more information.&quot;<br />Have no idea where to look for some ideas <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>root@mail:/# ls -lan /var/vmail/vmail1/<br />total 8<br />drwxr-x--- 2 10000 5000 4096 dec&nbsp; 7 12:01 .<br />drwx------ 5&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; 0 4096 dec&nbsp; 7 12:02 ..</p><p>Here&#039;s my setup and tail of dovecot.log</p><p>==== Required information ====<br />- iRedMail version: 0.8.3<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP<br />- Linux/BSD distribution name and version: Ubuntu 12.04.1<br />- Related log if you&#039;re reporting an issue: tail /var/log/dovecot.log<br />Dec 07 18:31:07 imap-login: Info: Login: user=&lt;vmail@example.com&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid<br />Dec 07 18:31:07 imap(vmail@example.com): Error: chdir(/var/vmail/vmail1/example.com/vmail/Maildir//) failed: Pern users) missing +x perm: /var/vmail, dir owned by 0:0 mode=0700)<br />Dec 07 18:31:07 imap(vmail@example.com): Error: chdir(/var/vmail/vmail1/example.com/vmail/Maildir/) failed: Perm<br />Dec 07 18:31:07 imap(vmail@example.com): Error: user vmail@example.com: Initialization failed: Namespace &#039;&#039;: stafailed: Permission denied (euid=10000(vmail) egid=10006(domain users) missing +x perm: /var/vmail, dir owned by 0:0 mo<br />Dec 07 18:31:07 imap(vmail@example.com): Error: Invalid user settings. Refer to server log for more information.<br />====</p>]]></description>
			<author><![CDATA[null@example.com (snpz)]]></author>
			<pubDate>Fri, 07 Dec 2012 16:42:31 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19445.html#p19445</guid>
		</item>
	</channel>
</rss>
