Академический Документы
Профессиональный Документы
Культура Документы
Debian Etch-Stable
Isso é normal, tem que tentar novamente (responda as perguntas dessa maneira):
# build-ucspi-tcp
Do you want to remove all files in /tmp/ucspi-tcp,
except ucspi-tcp_0.88-10_i386.deb now? [Yn] Y
Do you want to install ucspi-tcp_0.88-10_i386.deb now? [Yn] Y
Do you want to purge ucspi-tcp-src now? [yN] N
Compilar o Qmail.
# build-qmail
Do you want to install qmail_1.03-45iuculano2_i386.deb now? [Yn] Y
Do you want to purge qmail-src now? [yN] N
Provavelmente vai dar um conflito com o agente de correio exim4 que é instalado no Debian por
padrão.
é necessário removê-lo para prosseguir a instalação:
# dpkg --force-depends --purge exim4 exim4-base exim4-config exim4-daemon-light
# dpkg -i /tmp/qmail/qmai*.deb
Editar a configuração do vpopmail para acesso ao mysql com a senha que foi definida em sua
instalação:
# nano /etc/vpopmail/vpopmail.mysql
localhost|0|vpopmail|yyy|vpopmail
Reiniciar os serviços:
# /etc/init.d/qmail restart && /etc/init.d/vpopmail-mysql restart
#build-ezmlm
# cp /etc/apt/sources.list.bak /etc/apt/sources.list
# apt-get update
# wget http://www.qmailrocks.org/downloads/qmailrocks.tar.gz
# tar -zxvf qmailrocks.tar.gz
# cd qmailrocks
# apt-get install bzip2
# tar jxvf courier-authlib-0.55.tar.bz2
# cd courier-authlib-0.55
# apt-get install g++
# apt-get install libgdbm-dev libqdbm14
# ./configure --prefix=/usr/local --exec-prefix=/usr/local --with-authvchkpw --without-
authldap --without-authmysql --disable-root-check --with-ssl --with-
authchangepwdir=/usr/local/libexec/authlib --with-redhat
# make && make check
# make install-strip && make install-configure
# ln -s /usr/local/sbin/authdaemond /etc/init.d/authdaemond
# update-rc.d authdaemond defaults
# /etc/init.d/authdaemond start
Instalar o pacote courier-imap. o pacote couirer-imap não pode ser compilado com permissão de
root, tem que criar um usuário para isso ou usar um que ja esteja criado.
# cd ..
# tar jxvf courier-imap-4.0.2.tar.bz2
# adduser temporal
# chown -R temporal:temporal ./courier-imap-4.0.2*
# su temporal
# cd /root/qmailrocks/courier-imap-4.0.2/
# ./configure --prefix=/usr/local --exec-prefix=/usr/local --with-authvchkpw --without-
authldap --without-authmysql --disable-root-check --with-ssl --with-
authchangepwdir=/usr/local/libexec/authlib --with-redhat
# exit
# deluser temporal
# cd courier-imap-4.0.2
# apt-get install libssl.dev
# make install-strip && make install-configure
# /usr/local/sbin/mkimapdcert
Alterar a linha abaixo mantendo somente “authmodulelist" (mais ou menos linha 27)
# nano /usr/local/etc/authlib/authdaemonrc
> authmodulelist="authvchkpw"
# cp /usr/local/libexec/imapd.rc /etc/init.d/imapd
# update-rc.d imapd defaults
# /etc/init.d/imapd start
# cp /usr/local/libexec/imapd-ssl.rc /etc/init.d/imapd-ssl
# update-rc.d imapd-ssl defaults
# /etc/init.d/imapd-ssl start
# cd /root/qmailrocks/
# tar zxvf courierpassd-1.1.0-RC1.tar.gz
# cd courierpassd-1.1.0-RC1
# ./configure
# make && make install
# apt-get install xinetd
# cd /etc/xinetd.d
# nano courierpassd
Reiniciar inetd
# /etc/init.d/inetd restart
Caso o inetd não exista digite:
# /etc/init.d/xinetd restart
Instalar pacotes requeridos para op HORDE
# apt-get install libapache2-mod-php5 php5-gd php5-mysql php5-mcrypt php5-imap php5-
tidy php5-cli php-pear
Instalar memcached
Upgrade do pear
# /usr/bin/pear upgrade-all
# wget http://mail.ceara.gov.br/horde.tar.gz
# wget http://mail.ceara.gov.br/contatos.sql.gz
# gunzip contatos.sql.gz
# mysql -p < contatos.sql
# tar zxfv horde.tar.gz
# mv ./horde /var/www
Configurar o HORDE:
Por exemplo:
$conf['sql']['username'] = 'root';
$conf['sql']['password'] = 'yyy';
$conf['auth']['admins'] = array('postmaster@dominio.ce.gov.br');
$conf['sessionhandler']['params']['username'] = 'root';
$conf['sessionhandler']['params']['password'] = 'yyy';
$conf['sessionhandler']['params']['database'] = 'horde';
$conf['problems']['maildomain'] = 'dominio.ce.gov.br';
# php /var/www/horde/scripts/setup.php
Configuration Menu
(0) Exit
(1) Configure database settings
(2) Create database or tables
(3) Configure administrator settings
Type your choice: 2
Should we create the database for you? If yes, you need to provide a database
user that has permissions to create new databases on your system. If no, we
will only create the database tables for you. [y]
(y) Yes
(n) No
Database user for creating the database if necessary for your database system: root
Configuration Menu
(0) Exit
(1) Configure database settings
(2) Create database or tables
(3) Configure administrator settings
# dpkg-reconfigure locales
execute:
chown www-data:www-data /tmp/horde.log