[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:network_services:install_openwebmail [2013/02/15 13:01 (UTC)] – [Installing OpenWebMail in Slackware64 14.0] wisedracohowtos:network_services:install_openwebmail [2013/02/15 14:51 (UTC)] – [Installing OpenWebMail in Slackware64 14.0] wisedraco
Line 1: Line 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 ====== Installing OpenWebMail in Slackware64 14.0 ====== ====== Installing OpenWebMail in Slackware64 14.0 ======
-Topic about openwebmail installation and setup for can use mail over web. +Topic about openwebmail installation and setup for can use your mailbox over web interface from any place, where you get internet access and can run webbrowser
-try to write down all my movings until i forget it finish in 2-3 daysi think.+It be based on Slackware64 14.0 64 bit OS and latest openwebmail-current.tar.gz (actually ver 2.53)\\  
 +It meansyou are configured and running Apache web server and Sendmail mailserver. 
 + 
 + 
 +====== Install libraries and required packages ====== 
 + 
 +Using CPAN via CPAN.pm: 
 + 
 + perl -MCPAN -e shell                    [as root] 
 + o conf prerequisites_policy ask 
 +then: 
 +<code> 
 +install CGI 
 +install Compress:Zlib 
 +install Convert::ASN1 
 +install Digest 
 +install Digest::MD5 
 +install IO::Socket::SSL 
 +install MIME::Base64 
 +install Net::SSLeay 
 +install Text::Iconv 
 + 
 +quit 
 + 
 +</code> 
 + 
 +====== Install OpenWebMail ======
  
   - First, download latest openwebmail: [[http://openwebmail.org/openwebmail/download/current/]]openwebmail-current.tar.gz    - First, download latest openwebmail: [[http://openwebmail.org/openwebmail/download/current/]]openwebmail-current.tar.gz
Line 9: Line 35:
   - move untar folder /cgi-bin/openwebmail to /var/www/cgi-bin/openwebmail   - move untar folder /cgi-bin/openwebmail to /var/www/cgi-bin/openwebmail
   - move untar folder /data/openwebmail to your webserver root ( /var/www/openwebmail )   - move untar folder /data/openwebmail to your webserver root ( /var/www/openwebmail )
-  - +  - go to /var/www/openwebmail, delete index.html and do <code bash> ln -s redirect.html index.html</code> 
 +  - go /var/www/cgi-bin/openwebmail and do <code> perl misc/tools/wrapsuid/wrapsuid.pl /var/www/cgi-bin/openwebmail </code> you must get <code>Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-folder.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-main.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-read.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-send.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-cal.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-webdisk.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-advsearch.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-abook.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-viewatt.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-vdomain.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-saprefs.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-prefs.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-tool.pl 
 +Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-spell.pl 
 +</code> 
 +  - then go to ''/var/www/cgi-bin/openwebmail/etc'' and edit configs:  
 +  - changes openwebmail.conf according to: <code> 
 +domainnames             auto                                                                                                                                 
 +auth_module             auth_unix.pl                                                                                                                         
 +mailspooldir            /var/spool/mail                                                                                                                      
 +ow_cgidir               /var/www/cgi-bin/openwebmail                                                                                                         
 +ow_cgiurl               /cgi-bin/openwebmail                                                                                                                 
 +ow_htmldir              /var/www/openwebmail                                                                                                                 
 +ow_htmlurl              /                                                                                                                                    
 +logfile                 /var/log/openwebmail.log      
 + </code> 
 +  - Go to in ''/var/www/cgi-bin/openwebmail/etc/defaults'', edit auth_unix conf to: <code>                                                                                                                                                            
 +passwdfile_plaintext    /etc/passwd                                                                                                                          
 +passwdfile_encrypted    /etc/shadow                                                                                                                          
 +passwdmkdb              none               </code> 
 +  - In ''/var/www/cgi-bin/openwebmail/etc/defaults'' edit db.conf: <code>dbm_ext                 .db                                                                                                                                  
 +dbmopen_ext             .db                                                                                                                                  
 +dbmopen_haslock         no       </code> 
 +  - Then, go to ''/var/www/cgi-bin/openwebmail'' and do <code bash> ./openwebmail-tool.pl --init </code>
  
 +  - after that, go to ''/var/www/cgi-bin/openwebmail'', check it be a files starting with dot ( like .openwebmail.pl) and old-style ones (like openwebmail.pl). Do <code bash> chmod u+s openwebmail*.pl in /var/www/cgi-bin/openwebmail</code>
  
  
 +
 +try to write down all my movings until i forget it - finish in 2-3 days, i think.
 +====== Links ======
 +
 +  * [[http://www.linuxquestions.org/questions/slackware-14/suidperl-in-slack-14-a-4175450139/]]
 +  * [[http://openwebmail.org/openwebmail/doc/faq.txt]]
 +  * [[http://openwebmail.org/openwebmail/doc/readme.txt]]
 +  * [[http://www.unixresources.net/linux/lf/45/archive/00/00/01/69/16969.html]]
 +  * [[http://mail.savs.hcc.edu.tw/~chuavv/articles/openwebmail-en.html]]
 +  * [[http://search.cpan.org/search?query=CGI&mode=all]]
 +  * [[http://svn.apache.org/repos/asf/spamassassin/branches/3.3/INSTALL]]
 ====== Sources ====== ====== Sources ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
Line 19: Line 92:
 <!-- * Originally written by [[wiki:user:xxx | User X]] --> <!-- * Originally written by [[wiki:user:xxx | User X]] -->
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
- --- //[[wiki:user:wisedraco|John Ciemgals]] 2013/02/14 05:12//+* With help of user phenixia2003 from LinuxQuestions.org Forums\\   
 + * Thanks for editing  [[wiki:user:alienbob | Eric Hameleers]]\\  
 +* Originally written by [[wiki:user:wisedraco|John Ciemgals]] 2013/02/14 05:12//
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>howtos template}}+{{tag>howtos }}
 howtos:network_services:install_openwebmail ()