Mudanças entre as edições de "Iredmail"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 30: Linha 30:
  
 
== com roundcubemail-0.4 ==
 
== com roundcubemail-0.4 ==
  wget -c http://ufpr.dl.sourceforge.net/project/roundcubemail/roundcubemail/0.4/roundcubemail-0.4.tar.gz
+
  wget -c http://ufpr.dl.sourceforge.net/project/roundcubemail/roundcubemail/0.4.2/roundcubemail-0.4.2.tar.gz
  tar zxvf roundcubemail-0.4.tar.gz
+
  tar zxvf roundcubemail-0.4.2.tar.gz
  mv roundcubemail-0.4 /usr/share/apache2/
+
  mv roundcubemail-0.4.2 /usr/share/apache2/
 
  cd /usr/share/apache2/
 
  cd /usr/share/apache2/
  cp roundcubemail/config/* roundcubemail-0.4/config/
+
  cp roundcubemail/config/* roundcubemail-0.4.2/config/
  chown -R www-data\: roundcubemail-0.4/
+
  chown -R www-data\: roundcubemail-0.4.2/
  sed -i 's/roundcubemail/roundcube/g' roundcubemail-0.4/config/db.inc.php
+
  sed -i 's/roundcubemail/roundcube/g' roundcubemail-0.4.2/config/db.inc.php
  sed -i '/RoundCube/i create database roundcube;' roundcubemail-0.4/SQL/mysql.initial.sql
+
  sed -i '/RoundCube/i create database roundcube;' roundcubemail-0.4.2/SQL/mysql.initial.sql
  sed -i '/RoundCube/i use roundcube;' roundcubemail-0.4/SQL/mysql.initial.sql
+
  sed -i '/RoundCube/i use roundcube;' roundcubemail-0.4.2/SQL/mysql.initial.sql
  sed -i '/RoundCube/i grant all on roundcube.* to roundcube@localhost;' roundcubemail-0.4/SQL/mysql.initial.sql
+
  sed -i '/RoundCube/i grant all on roundcube.* to roundcube@localhost;' roundcubemail-0.4.2/SQL/mysql.initial.sql
  mysql -u root -p < roundcubemail-0.4/SQL/mysql.initial.sql
+
  mysql -u root -p < roundcubemail-0.4.2/SQL/mysql.initial.sql
  
 
no /etc/apache2/conf.d/roundcubemail.conf
 
no /etc/apache2/conf.d/roundcubemail.conf
  Alias /webmail "/usr/share/apache2/roundcubemail-0.4/"
+
  Alias /webmail "/usr/share/apache2/roundcubemail-0.4.2/"
  <Directory "/usr/share/apache2/roundcubemail-0.4/">
+
  <Directory "/usr/share/apache2/roundcubemail-0.4.2/">
 
     Options -Indexes
 
     Options -Indexes
 
  </Directory>
 
  </Directory>

Edição das 05h17min de 8 de outubro de 2010

página do projeto

em /etc/apt/sources.list adicione

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

hostname

echo mail > /etc/hostname
hostname -F /etc/hostname

em /etc/hosts

127.0.0.1   mail.quijaua.net mail localhost localhost.localdomain


instalando

cd /usr/src
apt-get install -y mysql-server dialog bzip2 postfix-policyd
wget http://iredmail.googlecode.com/files/iRedMail-0.6.1.tar.bz2
tar jxvf iRedMail-0.6.1.tar.bz2
cd iRedMail-0.6.1/pkgs/
sh get_all.sh
cd ..
sh iRedMail.sh

atualizando clamav

# freshclam

atualize

aptitude update; aptitude upgrade

com roundcubemail-0.4

wget -c http://ufpr.dl.sourceforge.net/project/roundcubemail/roundcubemail/0.4.2/roundcubemail-0.4.2.tar.gz
tar zxvf roundcubemail-0.4.2.tar.gz
mv roundcubemail-0.4.2 /usr/share/apache2/
cd /usr/share/apache2/
cp roundcubemail/config/* roundcubemail-0.4.2/config/
chown -R www-data\: roundcubemail-0.4.2/
sed -i 's/roundcubemail/roundcube/g' roundcubemail-0.4.2/config/db.inc.php
sed -i '/RoundCube/i create database roundcube;' roundcubemail-0.4.2/SQL/mysql.initial.sql
sed -i '/RoundCube/i use roundcube;' roundcubemail-0.4.2/SQL/mysql.initial.sql
sed -i '/RoundCube/i grant all on roundcube.* to roundcube@localhost;' roundcubemail-0.4.2/SQL/mysql.initial.sql
mysql -u root -p < roundcubemail-0.4.2/SQL/mysql.initial.sql

no /etc/apache2/conf.d/roundcubemail.conf

Alias /webmail "/usr/share/apache2/roundcubemail-0.4.2/"
<Directory "/usr/share/apache2/roundcubemail-0.4.2/">
    Options -Indexes
</Directory>

reinicie as configurações

/etc/init.d/apache2 reload