<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — iRedMail + postfixadmin Ideas]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic3633.xml" />
	<updated>2012-10-18T15:35:47Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic3633-iredmail-postfixadmin-ideas.html</id>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18691.html#p18691" />
			<content type="html"><![CDATA[<p>Not to worry sorted now, my mistake getting far too ahead of myself as usual!</p>]]></content>
			<author>
				<name><![CDATA[j.smith1981]]></name>
				<uri>http://www.iredmail.org/forum/user14759.html</uri>
			</author>
			<updated>2012-10-18T15:35:47Z</updated>
			<id>http://www.iredmail.org/forum/post18691.html#p18691</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18536.html#p18536" />
			<content type="html"><![CDATA[<p>It&#039;s not adding into the admin users table though</p>]]></content>
			<author>
				<name><![CDATA[j.smith1981]]></name>
				<uri>http://www.iredmail.org/forum/user14759.html</uri>
			</author>
			<updated>2012-10-10T21:47:10Z</updated>
			<id>http://www.iredmail.org/forum/post18536.html#p18536</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18535.html#p18535" />
			<content type="html"><![CDATA[<p>No no you&#039;re fine just like to add help to users who are having problems, I actually forgot to add this to my blog to work out how to do things also with this post here:</p><div class="quotebox"><cite>gripped wrote:</cite><blockquote><p>Thanks for the above j.smith1981</p><p>Just to add. I found I could not log into the admin part of postfixadmin with the admin login details provided during iredmail installation. (the admin table of vmail was empty).<br />What I did was log into iredadmin, set up a new admin and then you can get into postfixadmin with the new admins details.</p></blockquote></div><p>I actually have just found this out to my cost arragghhhh!!!</p><p>Oh well all good fun, just got the disclaimer work actually in amavisd, it&#039;s really not that difficult if you keep going back over things, adding a few domains and even SPF support for them, going to take allot of work what I am doing but this should be allot of fun.</p><p>Take care,<br />Jez.</p>]]></content>
			<author>
				<name><![CDATA[j.smith1981]]></name>
				<uri>http://www.iredmail.org/forum/user14759.html</uri>
			</author>
			<updated>2012-10-10T21:04:15Z</updated>
			<id>http://www.iredmail.org/forum/post18535.html#p18535</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18335.html#p18335" />
			<content type="html"><![CDATA[<p>Thanks for the above j.smith1981</p><p>Just to add. I found I could not log into the admin part of postfixadmin with the admin login details provided during iredmail installation. (the admin table of vmail was empty).<br />What I did was log into iredadmin, set up a new admin and then you can get into postfixadmin with the new admins details.</p>]]></content>
			<author>
				<name><![CDATA[gripped]]></name>
				<uri>http://www.iredmail.org/forum/user31979.html</uri>
			</author>
			<updated>2012-09-26T22:45:15Z</updated>
			<id>http://www.iredmail.org/forum/post18335.html#p18335</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17376.html#p17376" />
			<content type="html"><![CDATA[<p>Thank you for your enthusiasm. <br />I am still so immature, have been saved to help these. </p><p>-----<br />Because I am not good at English, has been translated in Google. <br />If you will not heard, I&#039;m sorry. This topic, <br />-----</p><p>I hope that it will be useful for you.</p>]]></content>
			<author>
				<name><![CDATA[kaseifu]]></name>
				<uri>http://www.iredmail.org/forum/user31485.html</uri>
			</author>
			<updated>2012-08-01T09:05:38Z</updated>
			<id>http://www.iredmail.org/forum/post17376.html#p17376</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17374.html#p17374" />
			<content type="html"><![CDATA[<p>Not a problem a real pleasure it was bugging me for months then finally decided to dig into the logic.</p><p>It depends on the the version of dovecot you are running but the quota2 one if you look at the way it&#039;s setup. The query it performs to work out how many quota entries exist for the user == like so in the delete.php file:</p><p>$result = db_query(&quot;SELECT * FROM $table_quota2 WHERE username=&#039;$fDelete&#039;&quot;);<br />if($result[&#039;rows&#039;] == 1) {</p><p>You are literally saying:<br />$result = db_query(&quot;SELECT * FROM vmail WHERE username=&#039;user@mydomain&#039;&quot;);<br />if($result[&#039;rows&#039;] == 1) {</p><p>Then if you have opted for deletion of that user, the user won&#039;t exist anymore so the if test will come back as not being 1 and will not run whatever logic is below it. Actually coming back as successful logic, I though an error would occur but actually it won&#039;t it&#039;s just if there&#039;s something wrong with the PHP logic the web server will throw back an error.</p><p>I hope this makes some sense, I just wanted to give you words of caution in if I accidentally messed something up for you.</p><p>It&#039;s my pleasure, I had the same problem as you and with many months of head scratching found how to correct it.</p>]]></content>
			<author>
				<name><![CDATA[j.smith1981]]></name>
				<uri>http://www.iredmail.org/forum/user14759.html</uri>
			</author>
			<updated>2012-08-01T08:39:56Z</updated>
			<id>http://www.iredmail.org/forum/post17374.html#p17374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17365.html#p17365" />
			<content type="html"><![CDATA[<p>Successful! </p><p>Thank you for letting me know. <br />Thank you for your help. <br />After one, but DB was erase information, delete the mailbox itself is not only manually?</p>]]></content>
			<author>
				<name><![CDATA[kaseifu]]></name>
				<uri>http://www.iredmail.org/forum/user31485.html</uri>
			</author>
			<updated>2012-08-01T04:51:38Z</updated>
			<id>http://www.iredmail.org/forum/post17365.html#p17365</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17356.html#p17356" />
			<content type="html"><![CDATA[<p>Hi, j.smith1981.</p><p>Thank you for all your various investigation.</p>]]></content>
			<author>
				<name><![CDATA[kaseifu]]></name>
				<uri>http://www.iredmail.org/forum/user31485.html</uri>
			</author>
			<updated>2012-08-01T00:00:41Z</updated>
			<id>http://www.iredmail.org/forum/post17356.html#p17356</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17349.html#p17349" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>kaseifu wrote:</cite><blockquote><p>==== Provide required information ====<br />- iRedMail version and backend (LDAP/MySQL/PGSQL):<br />- Linux/BSD distribution name and version:<br />- Any related log? Log is helpful for troubleshooting.<br />==== ==== Provide required information ====<br />- iRedMail version and backend (LDAP/MySQL/PGSQL):v0.1.7 MySQL<br />- Linux/BSD distribution name and version:CentOS6.2 x64<br />- Any related log? Log is helpful for troubleshooting.<br />==== </p><p>I would like to thank iRedMail always. <br />Users who are operating in iRedMail + postfixadmin whether or not anyone? </p><p><a href="http://www.iredmail.org/wiki/index.php?title=Addition/Install.PostfixAdmin.For.MySQL.Backend">http://www.iredmail.org/wiki/index.php? … QL.Backend</a></p><p>Why do not you set the reference to a page on, when you delete a user a message of &quot;Invalid query: Table &#039;vmail.quota&#039; doesn&#039;t exist&quot; is displayed. <br />I&#039;d like to erase this message, or is not a good way? <br />I want to be so incidentally can erase the mailbox ...</p><p>Thanks!</p></blockquote></div><p>I found this to be a really simple fix, if you go to the root directory of the postfixadmin application.</p><p>Backup the config.inc.php and open it.</p><p>If you want to find the array here: &#039;quota&#039; =&gt;&nbsp; (approximately line: 79)<br />Then change it&#039;s value to: &#039;quota&#039; =&gt; &#039;used_quota&#039;,</p><p>Then find the line: &#039;quota2&#039; =&gt;&nbsp; (approximately line: 80)<br />Then change it&#039;s value to:&nbsp; &#039;quota2&#039; =&gt; &#039;mailbox&#039;, (replacing the one above and this one entirely!)</p><p>The error message will disappear it&#039;s looking for a table named quota which no longer exists with the newer versions of iRedMail, all you need to change after some looking into postfixadmin&#039;s logic with MySQL is to change as above quota (which no longer exists hence the error!) to used_quota the where clause in the conditionals in the delete.php file just has the username which has been selected to be deleted.</p><p>Hope this helps some other users,<br />Jeremy</p>]]></content>
			<author>
				<name><![CDATA[j.smith1981]]></name>
				<uri>http://www.iredmail.org/forum/user14759.html</uri>
			</author>
			<updated>2012-07-31T17:49:55Z</updated>
			<id>http://www.iredmail.org/forum/post17349.html#p17349</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16912.html#p16912" />
			<content type="html"><![CDATA[<p>Dear ZhangHuangbin</p><p>Thanks for your answer. <br />I want to try it. It is a combination of postfixadmin is it was deprecated. <br />What I would be happy When you purchase a iRedadmin Pro? </p><p>Also, everyone iRedMail good life!</p>]]></content>
			<author>
				<name><![CDATA[kaseifu]]></name>
				<uri>http://www.iredmail.org/forum/user31485.html</uri>
			</author>
			<updated>2012-07-09T00:46:24Z</updated>
			<id>http://www.iredmail.org/forum/post16912.html#p16912</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16878.html#p16878" />
			<content type="html"><![CDATA[<p>Dear kaseifu,</p><p>First of all, personally, it&#039;s not recommended to use PostfixAdmin with iRedMail (MySQL backend), because we have improved/extended SQL structure. PostfixAdmin cannot work perfectly with iRedMail SQL structure.</p><p>Second, to avoid this issue, please update your PostfixAdmin config file, there&#039;s a config parameter related to real time mailbox quota, turn it off.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-07-07T01:00:14Z</updated>
			<id>http://www.iredmail.org/forum/post16878.html#p16878</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[iRedMail + postfixadmin Ideas]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16850.html#p16850" />
			<content type="html"><![CDATA[<p>==== Provide required information ====<br />- iRedMail version and backend (LDAP/MySQL/PGSQL):<br />- Linux/BSD distribution name and version:<br />- Any related log? Log is helpful for troubleshooting.<br />==== ==== Provide required information ====<br />- iRedMail version and backend (LDAP/MySQL/PGSQL):v0.1.7 MySQL<br />- Linux/BSD distribution name and version:CentOS6.2 x64<br />- Any related log? Log is helpful for troubleshooting.<br />==== </p><p>I would like to thank iRedMail always. <br />Users who are operating in iRedMail + postfixadmin whether or not anyone? </p><p><a href="http://www.iredmail.org/wiki/index.php?title=Addition/Install.PostfixAdmin.For.MySQL.Backend">http://www.iredmail.org/wiki/index.php? … QL.Backend</a></p><p>Why do not you set the reference to a page on, when you delete a user a message of &quot;Invalid query: Table &#039;vmail.quota&#039; doesn&#039;t exist&quot; is displayed. <br />I&#039;d like to erase this message, or is not a good way? <br />I want to be so incidentally can erase the mailbox ...</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[kaseifu]]></name>
				<uri>http://www.iredmail.org/forum/user31485.html</uri>
			</author>
			<updated>2012-07-06T00:13:52Z</updated>
			<id>http://www.iredmail.org/forum/post16850.html#p16850</id>
		</entry>
</feed>
