[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:network_services:install_openwebmail [2013/02/15 13:07 (UTC)] – [Sources] wisedraco | howtos:network_services:install_openwebmail [2015/06/26 08:39 (UTC)] (current) – [Install OpenWebMail] Removed spaces generating a blank line before " passwdfile_plaintext /etc/passwd " didierspaier | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- 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. | ||
- | try to write down all my movings until i forget it - finish in 2-3 days, i think. | ||
- | - First, download latest openwebmail: | + | This article explains how to install OpenWebmail and configure it so that you can access your mailbox using a web interface from any place with internet access |
- | - Create an folder when you want, say a "/ | + | These instructions were tested on Slackware64 14.0 64-bit OS and the latest |
- | | + | It means, you are configured and running Apache web server and Sendmail mailserver. |
- | - move untar folder / | + | |
- | - move untar folder / | + | |
- | - | + | |
+ | ====== Install libraries and required packages ====== | ||
+ | |||
+ | Using CPAN via CPAN.pm: < | ||
+ | perl -MCPAN -e shell [as root] | ||
+ | o conf prerequisites_policy ask | ||
+ | </ | ||
+ | then: | ||
+ | < | ||
+ | install CGI | ||
+ | install Compress: | ||
+ | install Convert:: | ||
+ | install Digest | ||
+ | install Digest::MD5 | ||
+ | install IO:: | ||
+ | install MIME:: | ||
+ | install Net::SSLeay | ||
+ | install Text::Iconv | ||
+ | |||
+ | quit | ||
+ | </ | ||
+ | |||
+ | ====== Install OpenWebMail ====== | ||
+ | |||
+ | - First, download latest openwebmail: | ||
+ | - Create a directory wherever you want it, say "''/ | ||
+ | - Extract all files using the command <code bash> | ||
+ | tar -zxvBpf openwebmail-current.tar.gz | ||
+ | </ | ||
+ | - Move the extracted directory "'' | ||
+ | - Move the extracted directory "'' | ||
+ | - Change directory to "''/ | ||
+ | ln -s redirect.html index.html | ||
+ | </ | ||
+ | - Change directory to "''/ | ||
+ | perl misc/ | ||
+ | </ | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | Fixing / | ||
+ | </ | ||
+ | - Then go to "''/ | ||
+ | - Change "'' | ||
+ | domainnames | ||
+ | auth_module | ||
+ | mailspooldir | ||
+ | ow_cgidir | ||
+ | ow_cgiurl | ||
+ | ow_htmldir | ||
+ | ow_htmlurl | ||
+ | logfile | ||
+ | </ | ||
+ | - Change directory to "''/ | ||
+ | passwdfile_plaintext | ||
+ | passwdfile_encrypted | ||
+ | passwdmkdb | ||
+ | </ | ||
+ | - In directory "''/ | ||
+ | dbm_ext | ||
+ | dbmopen_ext | ||
+ | dbmopen_haslock | ||
+ | - Then, change directory to "''/ | ||
+ | ./ | ||
+ | </ | ||
+ | - After that, go to "''/ | ||
+ | chmod u+s openwebmail*.pl | ||
+ | chmod u+s .openwebmail*.pl | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== Apache additional configuration ====== | ||
+ | |||
+ | * Add a AddHandler cgi-script .cgi .pl option in ''/ | ||
+ | |||
+ | ServerRoot "/ | ||
+ | Listen 80 | ||
+ | |||
+ | LoadModule authn_file_module lib64/ | ||
+ | LoadModule authn_core_module lib64/ | ||
+ | LoadModule authz_host_module lib64/ | ||
+ | LoadModule authz_groupfile_module lib64/ | ||
+ | LoadModule authz_user_module lib64/ | ||
+ | LoadModule authz_core_module lib64/ | ||
+ | LoadModule access_compat_module lib64/ | ||
+ | LoadModule auth_basic_module lib64/ | ||
+ | LoadModule reqtimeout_module lib64/ | ||
+ | LoadModule filter_module lib64/ | ||
+ | LoadModule mime_module lib64/ | ||
+ | LoadModule log_config_module lib64/ | ||
+ | LoadModule env_module lib64/ | ||
+ | LoadModule headers_module lib64/ | ||
+ | LoadModule setenvif_module lib64/ | ||
+ | LoadModule version_module lib64/ | ||
+ | LoadModule proxy_module lib64/ | ||
+ | LoadModule proxy_connect_module lib64/ | ||
+ | LoadModule proxy_ftp_module lib64/ | ||
+ | LoadModule proxy_http_module lib64/ | ||
+ | LoadModule proxy_fcgi_module lib64/ | ||
+ | LoadModule proxy_scgi_module lib64/ | ||
+ | LoadModule proxy_ajp_module lib64/ | ||
+ | LoadModule proxy_express_module lib64/ | ||
+ | LoadModule lbmethod_byrequests_module lib64/ | ||
+ | LoadModule lbmethod_bytraffic_module lib64/ | ||
+ | LoadModule lbmethod_bybusyness_module lib64/ | ||
+ | LoadModule mpm_event_module lib64/ | ||
+ | LoadModule unixd_module lib64/ | ||
+ | LoadModule status_module lib64/ | ||
+ | LoadModule autoindex_module lib64/ | ||
+ | ## | ||
+ | LoadModule cgi_module lib64/ | ||
+ | LoadModule dir_module lib64/ | ||
+ | LoadModule alias_module lib64/ | ||
+ | |||
+ | < | ||
+ | User apache | ||
+ | Group apache | ||
+ | |||
+ | </ | ||
+ | |||
+ | # ' | ||
+ | # | ||
+ | # The directives in this section set up the values used by the ' | ||
+ | # server, which responds to any requests that aren't handled by a | ||
+ | # < | ||
+ | # any < | ||
+ | ServerAdmin webmaster@sten.lv | ||
+ | |||
+ | ServerName elephant.org | ||
+ | |||
+ | |||
+ | < | ||
+ | AllowOverride None | ||
+ | </ | ||
+ | |||
+ | DocumentRoot "/ | ||
+ | < | ||
+ | |||
+ | Options Indexes FollowSymLinks Includes MultiViews ExecCGI | ||
+ | |||
+ | AllowOverride All | ||
+ | #None | ||
+ | |||
+ | # | ||
+ | # Controls who can get stuff from this server. | ||
+ | # | ||
+ | ## Require all granted | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | ###Need! otherwise "save as binary...." | ||
+ | AddHandler cgi-script .cgi .pl | ||
+ | |||
+ | </ | ||
+ | |||
+ | # | ||
+ | # DirectoryIndex: | ||
+ | # is requested. | ||
+ | # | ||
+ | < | ||
+ | DirectoryIndex index.html index.shtml index.php | ||
+ | </ | ||
+ | |||
+ | # | ||
+ | # The following lines prevent .htaccess and .htpasswd files from being | ||
+ | # viewed by Web clients. | ||
+ | # | ||
+ | <Files " | ||
+ | Require all denied | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ErrorLog "/ | ||
+ | |||
+ | LogLevel warn | ||
+ | |||
+ | < | ||
+ | |||
+ | LogFormat "%h %l %u %t \" | ||
+ | LogFormat "%h %l %u %t \" | ||
+ | |||
+ | < | ||
+ | # You need to enable mod_logio.c to use %I and %O | ||
+ | LogFormat "%h %l %u %t \" | ||
+ | </ | ||
+ | |||
+ | # | ||
+ | ##CustomLog "/ | ||
+ | |||
+ | # | ||
+ | CustomLog "/ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # | ||
+ | ScriptAlias /cgi-bin/ "/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | < | ||
+ | # | ||
+ | # Scriptsock cgisock | ||
+ | </ | ||
+ | |||
+ | # | ||
+ | # "/ | ||
+ | # CGI directory exists, if you have that configured. | ||
+ | # | ||
+ | ##< | ||
+ | ## AllowOverride None | ||
+ | ## Options None | ||
+ | ## Require all granted | ||
+ | ##</ | ||
+ | #for openwebmail | ||
+ | < | ||
+ | AllowOverride All | ||
+ | Options ExecCGI | ||
+ | Order Allow,deny | ||
+ | Allow from all | ||
+ | </ | ||
+ | |||
+ | |||
+ | < | ||
+ | # | ||
+ | TypesConfig / | ||
+ | |||
+ | # | ||
+ | AddType application/ | ||
+ | AddType application/ | ||
+ | |||
+ | # | ||
+ | ## AddHandler cgi-script .cgi .pl | ||
+ | # for openwebmail | ||
+ | ## AddHandler cgi-script .pl | ||
+ | | ||
+ | #test openwebmail | ||
+ | ## | ||
+ | ### | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | # Virtual hosts | ||
+ | Include / | ||
+ | |||
+ | # Various default settings | ||
+ | Include / | ||
+ | |||
+ | # Configure mod_proxy_html to understand HTML4/ | ||
+ | < | ||
+ | Include / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | SSLRandomSeed startup builtin | ||
+ | SSLRandomSeed connect builtin | ||
+ | </ | ||
+ | |||
+ | # Deal with user agents that deliberately violate open standards | ||
+ | # | ||
+ | < | ||
+ | BrowserMatch "MSIE 10.0;" bad_DNT | ||
+ | </ | ||
+ | < | ||
+ | RequestHeader unset DNT env=bad_DNT | ||
+ | </ | ||
+ | |||
+ | |||
+ | # Uncomment the following line to enable PHP: | ||
+ | # | ||
+ | Include / | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | ====== Links ====== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
====== 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 --> | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// | ||
Line 19: | Line 309: | ||
<!-- * Originally written by [[wiki: | <!-- * Originally written by [[wiki: | ||
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||
- | * With help of user phenixia2003 from LinuxQuestions.org Forums\\ | + | |
- | * Thanks for editing | + | * Thanks for editing |
- | * Originally written by [[wiki: | + | * Originally written by [[wiki: |
<!-- 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 " | + | {{tag> |
- | {{tag> | + |