<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — python create_mail_user_OpenLDAP.py]]></title>
		<link>http://www.iredmail.org/forum/topic243-python-createmailuseropenldappy.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic243.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in python create_mail_user_OpenLDAP.py.]]></description>
		<lastBuildDate>Fri, 18 Sep 2009 10:05:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: python create_mail_user_OpenLDAP.py]]></title>
			<link>http://www.iredmail.org/forum/post1176.html#p1176</link>
			<description><![CDATA[<div class="quotebox"><cite>kerie wrote:</cite><blockquote><p>I think the problem occured when you left empty line at the end of csv file. When you remove it it should generate without any errors.</p></blockquote></div><p>This one solved it for me</p>]]></description>
			<author><![CDATA[null@example.com (afaquino)]]></author>
			<pubDate>Fri, 18 Sep 2009 10:05:07 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1176.html#p1176</guid>
		</item>
		<item>
			<title><![CDATA[Re: python create_mail_user_OpenLDAP.py]]></title>
			<link>http://www.iredmail.org/forum/post1143.html#p1143</link>
			<description><![CDATA[<p>I think the problem occured when you left empty line at the end of csv file. When you remove it it should generate without any errors.</p>]]></description>
			<author><![CDATA[null@example.com (kerie)]]></author>
			<pubDate>Sun, 13 Sep 2009 15:57:42 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1143.html#p1143</guid>
		</item>
		<item>
			<title><![CDATA[Re: python create_mail_user_OpenLDAP.py]]></title>
			<link>http://www.iredmail.org/forum/post1139.html#p1139</link>
			<description><![CDATA[<p>Thanks saidmsl...</p><p>I am not in the office right now ... I&#039;ll try to follow your<br />advise later and report on the outcome.</p><p>iRedMail Rocks!</p>]]></description>
			<author><![CDATA[null@example.com (afaquino)]]></author>
			<pubDate>Sun, 13 Sep 2009 02:00:50 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1139.html#p1139</guid>
		</item>
		<item>
			<title><![CDATA[Re: python create_mail_user_OpenLDAP.py]]></title>
			<link>http://www.iredmail.org/forum/post1134.html#p1134</link>
			<description><![CDATA[<p>Hi,</p><p>i got the same error when you have blank lines or headers (when generating the csv file from excel or openoffice calc)</p><p>just remove it</p><p>Idea :<br />to know the on which line the error is :<br />change the code as :<br />for lineno, entry in enumerate(userList):<br />&nbsp; &nbsp; entry = entry.rstrip()<br />&nbsp; &nbsp; print &quot;&lt;INFO&gt; Processing Line %d&quot; % lineno</p><p>i should find a way to print only when there is an error</p>]]></description>
			<author><![CDATA[null@example.com (saidmsl)]]></author>
			<pubDate>Sat, 12 Sep 2009 16:09:33 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1134.html#p1134</guid>
		</item>
		<item>
			<title><![CDATA[Re: python create_mail_user_OpenLDAP.py]]></title>
			<link>http://www.iredmail.org/forum/post1121.html#p1121</link>
			<description><![CDATA[<div class="quotebox"><cite>afaquino wrote:</cite><blockquote><p>Follow up question...<br />Deleting users in iRedAdmin would not delete Maildir? Can it<br />be done so that Deleted users MailDirs are also deleted from disk?</p></blockquote></div><p>No plan to delete mailbox in file system yet due to possible security issue.</p><p>But patches/contributions are always welcome <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 11 Sep 2009 15:39:50 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1121.html#p1121</guid>
		</item>
		<item>
			<title><![CDATA[Re: python create_mail_user_OpenLDAP.py]]></title>
			<link>http://www.iredmail.org/forum/post1120.html#p1120</link>
			<description><![CDATA[<p>Was surprised to find out that ldif file was actually generated despite the<br />the errors. I Imported the ldif file via phpLDAPadmin and users were generated.</p><p>This is semi-solved for me.</p><p>Follow up question...<br />Deleting users in iRedAdmin would not delete Maildir? Can it<br />be done so that Deleted users MailDirs are also deleted from disk?</p><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (afaquino)]]></author>
			<pubDate>Fri, 11 Sep 2009 12:57:53 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1120.html#p1120</guid>
		</item>
		<item>
			<title><![CDATA[python create_mail_user_OpenLDAP.py]]></title>
			<link>http://www.iredmail.org/forum/post1118.html#p1118</link>
			<description><![CDATA[<p>Hi!<br />Great piece of software...</p><p>Having trouble bulk creating users ... when I run python create_mail_user_OpenLDAP.py it.csv<br />the script trows the following error:</p><p>File &quot;create_mail_user_OpenLDAP.py&quot;, line 210, in ?<br />&nbsp; &nbsp; domain, username, passwd, cn, quota, groups = re.split(&#039;\s?,\s?&#039;, entry)<br />ValueError: need more than 1 value to unpack</p><p>Here is an excerpt from my csv file</p><p>upang.phinma.edu.ph,mmagoyagoy,mmagoyagoy,Melanie M. Agoyagoy,1024,it<br />upang.phinma.edu.ph,rgcaspillan,rgcaspillan,Richard G. Caspillan,1024,it<br />upang.phinma.edu.ph,dicendana,dicendana,Desiree I. Cendana,1024,it<br />upang.phinma.edu.ph,idmalapit,idmalapit,Iran DV. Malapit,1024,it</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (afaquino)]]></author>
			<pubDate>Fri, 11 Sep 2009 10:15:07 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1118.html#p1118</guid>
		</item>
	</channel>
</rss>
