IRedMail com Nginx

De MochilaWiki
Revisão de 18h15min de 5 de fevereiro de 2011 por Banto Palmarino (discussão | contribs)
Ir para navegaçãoIr para pesquisar

Depois de instalar o Iredmail e o Nginx faça:

 update-rc.d -f apache2 remove
 /etc/init.d/apache2 stop
 sed -i 's/post_max_size\ =\ 8M/post_max_size\ =\ 10M/g' /etc/php5/cgi/php.ini
 sed -i 's/upload_max_filesize\ =\ 2M/upload_max_filesize\ =\ 10M/g' /etc/php5/cgi/php.ini
 ln -s /usr/share/apache2/roundcubemail-0.3.1/ /usr/share/apache2/webmail
 ln -s /usr/share/apache2/phpldapadmin-1.2.0.5 /usr/share/apache2/ldap
 ln -s /usr/share/apache2/roundcubemail-0.3.1/ /usr/share/apache2/mail
 wget http://pub.nkosi.org/iredmail/nginx.conf-iredmail
 wget http://pub.nkosi.org/praweb/cgi-bin.php.txt
 mv cgi-bin.php.txt /usr/share/apache2/cgi-bin.php
 mv nginx.conf-iredmail /etc/nginx/sites-enabled/iredmail

funciona

falta ainda


IRedMail with Nginx