<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — May be Bugs? Or I'm doing somethings wrong?]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4161.xml" />
	<updated>2012-11-23T10:05:43Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4161-may-be-bugs-or-im-doing-somethings-wrong.html</id>
		<entry>
			<title type="html"><![CDATA[Re: May be Bugs? Or I'm doing somethings wrong?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19201.html#p19201" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p># patch --dry-run -p3 <strong>&lt;</strong> user.patch</p></blockquote></div><p>Patching process works fine.</p><p>Bug fixed, confirmed. Thank you.</p>]]></content>
			<author>
				<name><![CDATA[matteo.frakka]]></name>
				<uri>http://www.iredmail.org/forum/user31156.html</uri>
			</author>
			<updated>2012-11-23T10:05:43Z</updated>
			<id>http://www.iredmail.org/forum/post19201.html#p19201</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: May be Bugs? Or I'm doing somethings wrong?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19164.html#p19164" />
			<content type="html"><![CDATA[<p>Please use --dry-run option to verify this patch first:<br /></p><div class="codebox"><pre><code># patch --dry-run -p3 user.patch</code></pre></div><p>If no error message, then patch it without --dry-run.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-11-20T07:26:16Z</updated>
			<id>http://www.iredmail.org/forum/post19164.html#p19164</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: May be Bugs? Or I'm doing somethings wrong?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19149.html#p19149" />
			<content type="html"><![CDATA[<p>- Change directory to &quot;iredadmin/libs/&lt;sql_backend&gt;/&quot;;<br />- Create the patch file with touch with copy &amp;paste your code into new file &quot;user.patch&quot; (touch user.patch &amp;&amp; nano user.patch);<br />- Copy and paste the patch code you have posted. Save and exit;<br />- Patch file user.py using command &quot;patch &lt; user.patch&quot;:<br /> </p><div class="quotebox"><blockquote><p># patch &lt; user.patch<br />patching file user.py</p></blockquote></div><p>- Reload httpd with command: &quot;service httpd reload&quot; (not needed).</p><p> Done.<br /> Right?</p>]]></content>
			<author>
				<name><![CDATA[matteo.frakka]]></name>
				<uri>http://www.iredmail.org/forum/user31156.html</uri>
			</author>
			<updated>2012-11-19T15:09:15Z</updated>
			<id>http://www.iredmail.org/forum/post19149.html#p19149</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: May be Bugs? Or I'm doing somethings wrong?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19142.html#p19142" />
			<content type="html"><![CDATA[<p>Confirmed, it&#039;s a bug in file libs/mysql/user.py (and libs/pgsql/user.py if you&#039;re running PostgreSQL edition).<br />Here&#039;s patch to fix it:<br /></p><div class="codebox"><pre><code>diff -r 23446475f5c9 libs/mysql/user.py
--- a/libs/mysql/user.py    Tue Nov 06 22:12:16 2012 +0800
+++ b/libs/mysql/user.py    Mon Nov 19 20:12:17 2012 +0800
@@ -276,10 +276,10 @@
                         self.conn.query(
                             &#039;&#039;&#039;
                             UPDATE alias
-                            SET goto=CONCAT(&#039;$mail&#039;, &#039;,&#039;, goto)
-                            WHERE address=$ali AND domain=$domain
+                            SET goto=CONCAT($mail, &#039;,&#039;, goto)
+                            WHERE address=$ali
                             &#039;&#039;&#039;,
-                            vars={&#039;mail&#039;: self.mail, &#039;ali&#039;: ali, &#039;domain&#039;: self.domain, },
+                            vars={&#039;mail&#039;: self.mail, &#039;ali&#039;: ali},
                         )
                     except:
                         pass</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-11-19T12:12:32Z</updated>
			<id>http://www.iredmail.org/forum/post19142.html#p19142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: May be Bugs? Or I'm doing somethings wrong?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19122.html#p19122" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>matteo.frakka wrote:</cite><blockquote><p>Sure!<br /> I&#039;ll do it today.</p></blockquote></div><p>Done. You have mail.</p>]]></content>
			<author>
				<name><![CDATA[matteo.frakka]]></name>
				<uri>http://www.iredmail.org/forum/user31156.html</uri>
			</author>
			<updated>2012-11-16T15:10:40Z</updated>
			<id>http://www.iredmail.org/forum/post19122.html#p19122</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: May be Bugs? Or I'm doing somethings wrong?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19121.html#p19121" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p> Works as designed. As it says, it&#039;s for <span style="color: red">new</span> user.</p></blockquote></div><p> Sorry, my mistake: I meant &quot;But new users are still not added to mail groups.&quot; I knew it was only for <span class="bbu">new</span> users.</p><p> In iRedMail for one of my domains I have 2 mail alias set as &quot;Default mail group(s) of new users&quot;. But when new users are added to that domain they still have the checkbox blank and in database &quot;vmail&quot;, table &quot;alias&quot; at rows related to mail aliases, the column &quot;goto&quot; is still empty.<br /> If I add the &quot;new&quot; users to mail aliases manually (selecting the checkbox and saving update to user&#039;s profile) it works so the problem is only in the default action.</p><div class="quotebox"><cite>matteo.frakka wrote:</cite><blockquote><p>Works as designed. It won&#039;t update your profile if you choose other language in login form.<br />Maybe a good idea to update it?</p></blockquote></div><p> Well... A default language is always set when you create a new mail admin, right?<br /> So if the drop-down menu don&#039;t allows you to change the language set by administrator what is it? If I still have to login before I can change the display language, that choice is useless... Should be used to set the session language, not to modify the user&#039;s profile.</p><div class="quotebox"><cite>matteo.frakka wrote:</cite><blockquote><p>Could you help translate the file i18n/it_IT/LC_MESSAGES/iredadmin.po and mail it back to me?</p></blockquote></div><p> Sure!<br /> I&#039;ll do it today.</p>]]></content>
			<author>
				<name><![CDATA[matteo.frakka]]></name>
				<uri>http://www.iredmail.org/forum/user31156.html</uri>
			</author>
			<updated>2012-11-16T13:49:37Z</updated>
			<id>http://www.iredmail.org/forum/post19121.html#p19121</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: May be Bugs? Or I'm doing somethings wrong?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19102.html#p19102" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>matteo.frakka wrote:</cite><blockquote><p>- Profile updating don&#039;t works. I&#039;ve tried to remove the flag from the checkbox &quot;Default mail group(s) of new user&quot; and to save changes (successful) but reloading page the flag is still on the checkbox. But users are still not added to mail groups.</p></blockquote></div><p>Works as designed. As it says, it&#039;s for <span style="color: red">new</span> user.<br /></p><div class="quotebox"><cite>matteo.frakka wrote:</cite><blockquote><p>- If I log in on iredadmin with an account of a single-domain administrator (previously created) the control panel is in Italian, even if I chose another language in the drop-down list on login form (tested with 2 browsers, so is not a cache related issue...)</p></blockquote></div><p>Works as designed. It won&#039;t update your profile if you choose other language in login form.<br />Maybe a good idea to update it?</p><div class="quotebox"><cite>matteo.frakka wrote:</cite><blockquote><p> iredadmin/profile/user/general/username@newdomain.ltd<br /> The second chech box (Mark this user as) is not translated in Italian (should be &quot;Imposta questo utente come&quot;) and on the right side of the checkbox &quot;domini&quot; should be replaced with &quot;Amministratore del dominio&quot;.</p></blockquote></div><p>Could you help translate the file i18n/it_IT/LC_MESSAGES/iredadmin.po and mail it back to me?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-11-16T04:14:41Z</updated>
			<id>http://www.iredmail.org/forum/post19102.html#p19102</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[May be Bugs? Or I'm doing somethings wrong?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19081.html#p19081" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: 0.8.3<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL Pro<br />- Linux/BSD distribution name and version: CentOs 6 64bit<br />- Related log if you&#039;re reporting an issue: <br />==== </p><p>I&#039;ve just created some single-domain administrators for domain newdomain.ltd .<br />Those administrators have as default language &quot;IT&quot; in their profile.<br /> Domain profiling (default quota, throttling, etc...) was made by postmaster (me!) and I set a mail alias (users@newdomain.ltd) as default for new users in domain newdomain.ltd. It works fine.<br /> After some test, I have deleted the alias users@newdomain.ltd and I&#039;ve created it again, setting it again as &quot;default&quot; for users in newdomain.ltd</p><p> Now:<br />- When I create a new users in domain newdomain.ltd the flag on &quot;users@newdomain.ltd&quot; is not set so users are not added to default alias (tried ad postmaster or single-domain admin, with no change);<br />- Profile updating don&#039;t works. I&#039;ve tried to remove the flag from the checkbox &quot;Default mail group(s) of new user&quot; and to save changes (successful) but reloading page the flag is still on the checkbox. But users are still not added to mail groups.<br />- If I log in on iredadmin with an account of a single-domain administrator (previously created) the control panel is in Italian, even if I chose another language in the drop-down list on login form (tested with 2 browsers, so is not a cache related issue...)</p><br /><p>Sorry for my English...</p><p>P.S:<br /> iredadmin/profile/user/general/username@newdomain.ltd<br /> The second chech box (Mark this user as) is not translated in Italian (should be &quot;Imposta questo utente come&quot;) and on the right side of the checkbox &quot;domini&quot; should be replaced with &quot;Amministratore del dominio&quot;.</p>]]></content>
			<author>
				<name><![CDATA[matteo.frakka]]></name>
				<uri>http://www.iredmail.org/forum/user31156.html</uri>
			</author>
			<updated>2012-11-14T18:44:01Z</updated>
			<id>http://www.iredmail.org/forum/post19081.html#p19081</id>
		</entry>
</feed>
