<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — How generate a password hash in php for iRedMail]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4469.xml" />
	<updated>2013-02-15T10:48:01Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4469-how-generate-a-password-hash-in-php-for-iredmail.html</id>
		<entry>
			<title type="html"><![CDATA[Re: How generate a password hash in php for iRedMail]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post20348.html#p20348" />
			<content type="html"><![CDATA[<p>Mail accounts are stored in two tables: vmail.mailbox, vmail.alias. Password is stored in `mailbox.password&#039;.</p><p>Please check our script as reference:<br /><a href="https://bitbucket.org/zhb/iredmail/src/7b3777b91f8c63933d34ffa6a1d257f3bacfffdc/iRedMail/tools/create_mail_user_SQL.sh?at=default">https://bitbucket.org/zhb/iredmail/src/ … at=default</a></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2013-02-15T10:48:01Z</updated>
			<id>http://www.iredmail.org/forum/post20348.html#p20348</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How generate a password hash in php for iRedMail]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post20345.html#p20345" />
			<content type="html"><![CDATA[<p>So where is salt stored (in what file)<br /> </p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>With MySQL backend, passwords are salted MD5 hashes.:)</p><p>References:<br />- <a href="http://www.lornajane.net/posts/2009/how-to-use-salts-and-md5-in-php">http://www.lornajane.net/posts/2009/how … md5-in-php</a><br />- <a href="http://pbeblog.wordpress.com/2008/02/12/secure-hashes-in-php-using-salt/">http://pbeblog.wordpress.com/2008/02/12 … sing-salt/</a></p><p>Also, you can use SSHA too, better than MD5.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[blade]]></name>
				<uri>http://www.iredmail.org/forum/user2986.html</uri>
			</author>
			<updated>2013-02-15T07:52:50Z</updated>
			<id>http://www.iredmail.org/forum/post20345.html#p20345</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How generate a password hash in php for iRedMail]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post20337.html#p20337" />
			<content type="html"><![CDATA[<p>With MySQL backend, passwords are salted MD5 hashes.:)</p><p>References:<br />- <a href="http://www.lornajane.net/posts/2009/how-to-use-salts-and-md5-in-php">http://www.lornajane.net/posts/2009/how … md5-in-php</a><br />- <a href="http://pbeblog.wordpress.com/2008/02/12/secure-hashes-in-php-using-salt/">http://pbeblog.wordpress.com/2008/02/12 … sing-salt/</a></p><p>Also, you can use SSHA too, better than MD5.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2013-02-15T02:32:10Z</updated>
			<id>http://www.iredmail.org/forum/post20337.html#p20337</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How generate a password hash in php for iRedMail]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post20335.html#p20335" />
			<content type="html"><![CDATA[<p>I want to generate new passwords for all mailboxes (5000). But I dont know how the password are encrypted. Could you help me with some php&nbsp; script to do this.<br />==== Required information ====<br />- iRedMail version: 0.8.1<br />- Store mail accounts in which backend (MySQL): <br />- Linux/BSD distribution name and version: Centos 6<br />- Related log if you&#039;re reporting an issue: <br />====</p>]]></content>
			<author>
				<name><![CDATA[blade]]></name>
				<uri>http://www.iredmail.org/forum/user2986.html</uri>
			</author>
			<updated>2013-02-14T19:28:26Z</updated>
			<id>http://www.iredmail.org/forum/post20335.html#p20335</id>
		</entry>
</feed>
