[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:45 (UTC)] – [Install libraries and required packages] wisedracohowtos:network_services:install_openwebmail [2013/02/15 14:51 (UTC)] – [Installing OpenWebMail in Slackware64 14.0] wisedraco
Line 2: Line 2:
 ====== Installing OpenWebMail in Slackware64 14.0 ====== ====== Installing OpenWebMail in Slackware64 14.0 ======
 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. 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.
-It be based on Slackware64 14.0 64 bit OS and latest openwebmail-current.tar.gz (actually ver 2.53)+It be based on Slackware64 14.0 64 bit OS and latest openwebmail-current.tar.gz (actually ver 2.53)\\  
 +It means, you are configured and running Apache web server and Sendmail mailserver.
  
  
Line 22: Line 23:
 install Net::SSLeay install Net::SSLeay
 install Text::Iconv install Text::Iconv
 +
 +quit
  
 </code> </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 31: 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> 
  
-chmod u+s openwebmail*.pl in /var/www/cgi-bin/openwebmail 
  
 try to write down all my movings until i forget it - finish in 2-3 days, i think. 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 -->
 howtos:network_services:install_openwebmail ()