<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — RaspberryPi, how to install ?]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4307.xml" />
	<updated>2012-12-31T12:18:38Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4307-raspberrypi-how-to-install.html</id>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19701.html#p19701" />
			<content type="html"><![CDATA[<p>I&#039;ll do it OK <img src="http://www.iredmail.org/forum/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-12-31T12:18:38Z</updated>
			<id>http://www.iredmail.org/forum/post19701.html#p19701</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19699.html#p19699" />
			<content type="html"><![CDATA[<p>It would be great if you can post a detailed tutorial in Raspberry Pi official forum or blog. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-31T12:13:20Z</updated>
			<id>http://www.iredmail.org/forum/post19699.html#p19699</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19697.html#p19697" />
			<content type="html"><![CDATA[<p>It&#039;s OK, I don&#039;t know why it didn&#039;t work the last time..</p><p>There are things to do before run the install script :</p><p>- First of all, it&#039;s better to install Webmin :<br /></p><div class="codebox"><pre><code>apt-get update
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.610_all.deb
dpkg -i webmin_1.610_all.deb
An error will occur, enter this command : apt-get install -f</code></pre></div><p>Webmin is now OK via https://IPSERVER:10000</p><br /><p>- Fix your IP adress (it&#039;s better than to have a dynamic IP assigned by a DHCP server...)</p><br /><p>- Due to prices restrictions, RaspberryPi doesn&#039;t have any battery onboard. The clock isn&#039;t saved, and you could have problems during install. So, you have to run this command to install ntpdate, wich synchronise RasPi time with a time server :<br /></p><div class="codebox"><pre><code>apt-get install ntpdate</code></pre></div><p>It&#039;s easier to set time servers and synchro times with Webmin (Hardware-System Time) you can have a list of public time-servers by Googling &quot;ntp server&quot;.</p><br /><p>- To activate IPv6 protocol, you have to type this command :<br /></p><div class="codebox"><pre><code>echo &quot;ipv6&quot; &gt;&gt; /etc/modules</code></pre></div><br /><p>- You have to add this line in /etc/hosts file :<br /></p><div class="codebox"><pre><code>IPADRESSOFTHESERVER servername.domain.fr servername</code></pre></div><p>To me, I comment (#)the &quot;127.0.1.1 raspberrypi&quot; line, I don&#039;t know why it&#039;s here for this server...)</p><p>- You have to patch you iRedMail installer, like mentionned before in this same thread.</p><p>- Reboot the RasPi to activate all changes, and you can run iredmail installer like a &quot;classic&quot; server.</p><p>Beware that it seems that AwStats isn&#039;t compatible... So unselect it during install.</p><p>If someone try to install it with this post, tell me if a problem occurs, it&#039;s possible I&#039;ve forgot someting..</p><p>Nicolas</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-12-31T09:17:21Z</updated>
			<id>http://www.iredmail.org/forum/post19697.html#p19697</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19684.html#p19684" />
			<content type="html"><![CDATA[<p>Yes, and I de-re-activate it, without success.</p><p>I&#039;m gonna reinstall all the system and restart Iredmail install.</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-12-28T08:19:41Z</updated>
			<id>http://www.iredmail.org/forum/post19684.html#p19684</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19680.html#p19680" />
			<content type="html"><![CDATA[<p>Do you have libapache2-mod_wsgi installed?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-28T02:56:14Z</updated>
			<id>http://www.iredmail.org/forum/post19680.html#p19680</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19674.html#p19674" />
			<content type="html"><![CDATA[<p>Those files have been checked too, nothing change.<br />I used https to connect to the interface.</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-12-27T17:22:06Z</updated>
			<id>http://www.iredmail.org/forum/post19674.html#p19674</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19672.html#p19672" />
			<content type="html"><![CDATA[<p>Check these two files:</p><p>- /etc/apache2/conf.d/iredadmin.conf<br />- /etc/apache2/sites-available/default-ssl</p><p>P.S. Did you use http://xx/iredadmin/ or http<span style="color: red">S</span><img src="http://www.iredmail.org/forum/img/smilies/hmm.png" width="15" height="15" alt="hmm" />/</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-27T16:15:20Z</updated>
			<id>http://www.iredmail.org/forum/post19672.html#p19672</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19671.html#p19671" />
			<content type="html"><![CDATA[<p>It seems that iredadmin.py is not considerate or not interpreted ?</p><p>Note that roundcube and phpMyAdmin are working perfectly.</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-12-27T15:24:05Z</updated>
			<id>http://www.iredmail.org/forum/post19671.html#p19671</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19670.html#p19670" />
			<content type="html"><![CDATA[<p>I&#039;ve made changes I wrote in my precedent post, and all services are working...</p><p>Now, I can&#039;t access to iredadmin, my browser (IE, Opera, FF) lists me the content of /usr/share/apache2/iredadmin.</p><p>I checked if the apache config file was good (with another server where iredadmin works fine) and it seems to be OK.<br /><span class="postimg"><img src="http://img571.imageshack.us/img571/1060/sanstitresa.jpg" alt="http://img571.imageshack.us/img571/1060/sanstitresa.jpg" /></span></p><p>No errors in the log file, permissions are OK..</p><p>Any idea ?</p><p>Thnaks</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-12-27T14:54:42Z</updated>
			<id>http://www.iredmail.org/forum/post19670.html#p19670</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19667.html#p19667" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Errors were encountered while processing:<br /> dovecot-imapd<br /> dovecot-sieve<br /> dovecot-managesieved<br /> dovecot-pop3d</p></blockquote></div><p>Are these packages available in apt repositories? Can you install these packages on a FRESH Raspberry Pi manually?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-27T14:07:10Z</updated>
			<id>http://www.iredmail.org/forum/post19667.html#p19667</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19665.html#p19665" />
			<content type="html"><![CDATA[<p>Anothers problems after the installation :</p><p>- Dovecot is configured to listen on IPv4 and IPv6 adresses. RaspberryPi isn&#039;t IPv6 compatible.<br />So, we have to add this line in /etc/dovecot/dovecot.conf to disable IPv6 support :<br /></p><div class="codebox"><pre><code>listen = *</code></pre></div><p>- Same problem with Postfix. In /etc/postfix/main.cf :<br /></p><div class="codebox"><pre><code>inet_protocols = ipv4</code></pre></div><p>- Same problem with Apache. In /etc/apache2/ports.conf :<br /></p><div class="codebox"><pre><code>Listen 0.0.0.0:80
Listen 0.0.0.0:443</code></pre></div><p>Apologies, Raspberry supports IPv6, but not enabled by default. To enable it, run :<br /></p><div class="codebox"><pre><code>echo &quot;ipv6&quot; &gt;&gt; /etc/modules</code></pre></div>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-12-27T10:18:19Z</updated>
			<id>http://www.iredmail.org/forum/post19665.html#p19665</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19664.html#p19664" />
			<content type="html"><![CDATA[<p>I tried this morning to install Iredmail (MySQL backend, all options) on my Raspberry : fail.</p><p>Here&#039;s the end of my putty session before it fail :<br /></p><div class="codebox"><pre><code>[ ok ] Reloading web server config: apache2.
Setting up phpmyadmin (4:3.4.11.1-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf

Creating config file /etc/dbconfig-common/phpmyadmin.conf with new version

Creating config file /etc/phpmyadmin/config-db.php with new version
granting access to database phpmyadmin for phpmyadmin@localhost: success.
verifying access for phpmyadmin@localhost: success.
creating database phpmyadmin: success.
verifying database phpmyadmin exists: success.
populating database via sql...  done.
dbconfig-common: flushing administrative password
Setting up postfix-cluebringer-webui (2.0.10-1) ...
Setting up gamin (0.1.10-4.1) ...
Setting up libgamin0 (0.1.10-4.1) ...
Setting up liblwp-protocol-https-perl (6.03-1) ...
Setting up python-gamin (0.1.10-4.1) ...
Setting up libwww-perl (6.04-1) ...
Setting up spamassassin (3.3.2-4) ...
Adding system user `debian-spamd&#039; (UID 114) ...
Adding new group `debian-spamd&#039; (GID 118) ...
Adding new user `debian-spamd&#039; (UID 114) with group `debian-spamd&#039; ...
Creating home directory `/var/lib/spamassassin&#039; ...
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
Processing triggers for python-support ...
Processing triggers for python-central ...
Errors were encountered while processing:
 dovecot-imapd
 dovecot-sieve
 dovecot-managesieved
 dovecot-pop3d
E: Sub-process /usr/bin/dpkg returned an error code (1)
&lt; ERROR &gt; Installation failed, please check the terminal output.
You have new mail in /var/mail/root</code></pre></div><p>And here&#039;s the mail mentionned above :<br /></p><div class="codebox"><pre><code>From www-data@server.mydomain.fr  Thu Dec 27 09:10:19 2012
Return-Path: &lt;www-data@server.mydomain.fr&gt;
X-Original-To: root
Delivered-To: root@server.mydomain.fr
Received: by server.mydomain.fr (Postfix, from userid 33)
    id 33DA56035B; Thu, 27 Dec 2012 09:10:16 +0000 (UTC)
From: root@server.mydomain.fr (Cron Daemon)
To: root@server.mydomain.fr
Subject: Cron &lt;www-data@server&gt; [ -x /usr/share/awstats/tools/update.sh ] &amp;&amp; /usr/share/awstats/tools/update.sh
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: &lt;MAILTO=root&gt;
X-Cron-Env: &lt;SHELL=/bin/sh&gt;
X-Cron-Env: &lt;HOME=/var/www&gt;
X-Cron-Env: &lt;PATH=/usr/bin:/bin&gt;
X-Cron-Env: &lt;LOGNAME=www-data&gt;
Message-Id: &lt;20121227091019.33DA56035B@server.mydomain.fr&gt;
Date: Thu, 27 Dec 2012 09:10:16 +0000 (UTC)

Error while processing /etc/awstats/awstats.conf
Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.
Setup (&#039;/etc/awstats/awstats.conf&#039; file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in &#039;docs&#039; directory).

From www-data@server.mydomain.fr  Thu Dec 27 09:20:19 2012
Return-Path: &lt;www-data@server.mydomain.fr&gt;
X-Original-To: root
Delivered-To: root@server.mydomain.fr
Received: by server.mydomain.fr (Postfix, from userid 33)
    id E998E6036D; Thu, 27 Dec 2012 09:20:16 +0000 (UTC)
From: root@server.mydomain.fr (Cron Daemon)
To: root@server.mydomain.fr
Subject: Cron &lt;www-data@servlm&gt; [ -x /usr/share/awstats/tools/update.sh ] &amp;&amp; /usr/share/awstats/tools/update.sh
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: &lt;MAILTO=root&gt;
X-Cron-Env: &lt;SHELL=/bin/sh&gt;
X-Cron-Env: &lt;HOME=/var/www&gt;
X-Cron-Env: &lt;PATH=/usr/bin:/bin&gt;
X-Cron-Env: &lt;LOGNAME=www-data&gt;
Message-Id: &lt;20121227092018.E998E6036D@server.mydomain.fr&gt;
Date: Thu, 27 Dec 2012 09:20:16 +0000 (UTC)

Error while processing /etc/awstats/awstats.conf
Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.
Setup (&#039;/etc/awstats/awstats.conf&#039; file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in &#039;docs&#039; directory).</code></pre></div><p>So, the console hangs before configuring dovecot and co, and the mail sended by the system tells about a problem with awstats...</p><p>I could try to install Iredmail by unselect the Awstats (I don&#039;t use it...) option... To see...</p><p>What happened ?</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-12-27T09:31:11Z</updated>
			<id>http://www.iredmail.org/forum/post19664.html#p19664</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19655.html#p19655" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>nicolasfo wrote:</cite><blockquote><p>Edit : Have to change &quot;armv5tel&quot; to &quot;armv6l&quot; too to pass this verification step.</p></blockquote></div><p>You&#039;re right.<br />And what&#039;s going one? Does it work?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-26T15:03:59Z</updated>
			<id>http://www.iredmail.org/forum/post19655.html#p19655</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19650.html#p19650" />
			<content type="html"><![CDATA[<p>I changed <br /></p><div class="codebox"><pre><code># Check hardware architecture.
arch=&quot;$(uname -m)&quot;
case $arch in
    i[3456]86) export ARCH=&#039;i386&#039; ;;
    x86_64|amd64) export ARCH=&#039;x86_64&#039; ;;
    armv5tel) export ARCH=&#039;armel ;;
    *)</code></pre></div><p>by<br /></p><div class="codebox"><pre><code># Check hardware architecture.
arch=&quot;$(uname -m)&quot;
case $arch in
    i[3456]86) export ARCH=&#039;i386&#039; ;;
    x86_64|amd64) export ARCH=&#039;x86_64&#039; ;;
    armv5tel) export ARCH=&#039;armv6l&#039; ;;
    *)</code></pre></div><p>Still not work, always the same message..<br /></p><div class="quotebox"><blockquote><p>Your architecture is not supported yet: armv6l.<br />Armel, i386 and x86_64 are supported by iRedMail.</p></blockquote></div><p>Thanks</p><p>Edit : Have to change &quot;armv5tel&quot; to &quot;armv6l&quot; too to pass this verification step.</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-12-26T12:02:27Z</updated>
			<id>http://www.iredmail.org/forum/post19650.html#p19650</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RaspberryPi, how to install ?]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19640.html#p19640" />
			<content type="html"><![CDATA[<p>Hi Nicolas,</p><p>Please patch it and then update file conf/global, replace &quot;armel&quot; by &quot;armv6l&quot;. Then try again.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-24T17:49:30Z</updated>
			<id>http://www.iredmail.org/forum/post19640.html#p19640</id>
		</entry>
</feed>
