DadaMail
De MochilaWiki
Revisão de 18h59min de 23 de abril de 2009 por Banto Palmarino (discussão | contribs) (Nova página: Página do Projeto * http://dadamailproject.com/ instalando: wget -c http://ufpr.dl.sourceforge.net/sourceforge/mojomail/dada-3_0_2.tar.gz tar zxvf dada-3_0_2.tar.gz -d /usr/lib/cgi...)
Página do Projeto
instalando:
wget -c http://ufpr.dl.sourceforge.net/sourceforge/mojomail/dada-3_0_2.tar.gz tar zxvf dada-3_0_2.tar.gz -d /usr/lib/cgi-bin/ cd /usr/lib/cgi-bin/dada chmod 750 mail.cgi mkdir /home/dada/dada_files chown -R www-data /home/dada/dada_files
configurando em DADA/Config.pm:
na linha 110 insira a senha
$PROGRAM_ROOT_PASSWORD = 'root_password'; por $PROGRAM_ROOT_PASSWORD = 'suasenha';
142
$FILES = '/home/youraccount/dada_files'; por $FILES = '/home/dada/dada_files';
178
$PROGRAM_URL ='http://www.changetoyoursite.com/cgi-bin/dada/mail.cgi'; por $PROGRAM_URL ='http://boletim.mocambos.net/cgi-bin/dada/mail.cgi';
1602
$FCKEDITOR_URL ||= 'http://boletim.mocambos.net/fckeditor';
Agora acesse:
Irá pedir para que você use a senha encriptografada e apresenta um sistema que gera.. insira a senha no local acima e altere:
788
$ROOT_PASS_IS_ENCRYPTED ||= 0; por $ROOT_PASS_IS_ENCRYPTED ||= 1;
acrescente o mirror em sua sources.list:
echo "deb http://www.backports.org/debian etch-backports main" >> /etc/apt/sources.list wget -O - http://backports.org/debian/archive.key | apt-key add - apt-get update
dependências:
apt-get install libxml-rss-perl libio-socket-ssl-perl libgd-perl libmime-perl \ libmime-lite-perl libhtml-scrubber-perl libnet-dns-perl libio-socket-ssl-perl \ fckeditor
ln -s /etc/fckeditor/config.php /usr/share/fckeditor/editor/filemanager/connectors/php/
em /etc/fckeditor/config.php alterei
$Config['Enabled'] = false ;
por
$Config['Enabled'] = true ;
e em /var/www/mocambos.net/boletim/ cria a pasta userfiles
mkdir /var/www/mocambos.net/boletim/userfiles chown www-data /var/www/mocambos.net/boletim/userfiles
exemplo no apache2:
<VirtualHost 75.127.72.25:80> ServerName boletim.mocambos.net ServerAlias www.boletim.mocambos.net
DocumentRoot /var/www/mocambos.net/boletim/ ServerAdmin banto@nkosi.org Alias /favicon.ico "/home/arq/favicon.ico"
ErrorLog /var/log/apache2/boletim.mocambos.net-error.log CustomLog /var/log/apache2/boletim.mocambos.net-access.log common
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Alias /fckeditor/ /usr/share/fckeditor/
<Directory "/usr/share/fckeditor/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny </Directory>
<Directory "/cgi-bin/"> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
</VirtualHost>
Referências:
- cat /usr/share/doc/fckeditor/README.Debian
- https://labs.truelite.it/truedoc/wiki/DadaMailSetup
- http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide
- http://dadamailproject.com/installation/installation_advanced.html
- http://dadamailproject.com/installation/installation_adv_semi_auto.html
- http://devel.nkosi.org/cgi-bin/dada/mail.cgi/archive/mocambos/
- http://devel.nkosi.org/cgi-bin/dada/mail.cgi?flavor=sign_in&list=mocambos
- http://www.animaloutfitters.com/mailing_list/extras/documentation/html_version/dada2_to_dada3.pod.html
- http://dadamailproject.com/support/documentation-dada-3_0_2/change_root_password.cgi.html