[afnog] Openwebmail on FC 5 - Anything Special ?
Noah Sematimba
sematin at mtn.co.ug
Sat Aug 5 23:47:39 SAST 2006
I do not think this is specific to FC5. I remember getting similar problems a
long time ago with openwebmail and another perl based webmail called
neomail..
This is actually something more system/perl related.
Take a look at:
http://httpd.apache.org/docs/2.2/howto/cgi.html#troubleshoot
On Saturday 05 August 2006 13:51, Hosea Phiri wrote:
> Hie All,
>
> I have just installed Fedora core 5. And I have configured OpenWebmail
> which I always use. I have done it before on FC 2 and FC 4 without any
> problems. I normally follow the following steps:
> a. Install required packages:
> CGI.pm, MIME-Base64, libnet-1.19, Text-Iconv
> b. Install OpenWebmail as follows:
>
> 1. cd /var/www
> tar -zxvBpf openwebmail-X.XX.tar.gz
> mv data/openwebmail html/
> rmdir data
>
> 2. cd /var/www/cgi-bin/openwebmail/etc
>
> modify auth_unix.conf from defaults/auth_unix.conf
> a. set passwdfile_encrypted to '/etc/shadow'
> b set passwdmkdb to 'none'
>
> modify openwebmail.conf
> a. set mailspooldir to '/var/spool/mail'
> b. set ow_htmldir to '/var/www/html/openwebmail'
> set ow_cgidir to '/var/www/cgi-bin/openwebmail'
> c. set spellcheck to '/usr/bin/ispell -a -S -w "-" -d @@@DICTIONARY@@@
> -p @@@PDICNAME@@@'
>
> 3. add
> /var/log/openwebmail.log {
> postrotate
> /usr/bin/killall -HUP syslogd
> endscript
> }
> to /etc/logrotate.d/syslog to enable logrotate on openwebmail.log
>
> 4. execute /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init
>
> (To initialise Webmail)
>
> After step 4 I access the web interface with url:
> http://<my-ip-address>/cgi-bin/openwebmail/openwebmail.pl I then get the
> following error message: Internal Server Error The server encountered an
> internal error or misconfiguration and was unable to complete your request.
> Please contact the server administrator, root@<mydomain> and inform them of
> the time the error occurred, and anything you might have done that may have
> caused the error. More information about this error may be available in the
> server error log. Additionally, a 500 Internal Server Error error was
> encountered while trying to use an ErrorDocument to handle the request.
>
> ---------------------------------
> httpd is running fine and I can access the server's main site using
> http://<my-ip-address> . However once I try to access webmail the above
> error pops up and httpd error_log complains as follows:
> -----------------------------------
> [Thu Aug 05 12:36:39 2006] [error] [client <client-IP>] Premature end of
> script headers: openwebmail.pl --------------------------------------
>
> I do not get such complaint on FC 4, Is there anything special with FC 5
> with respect to Open Webmail WHICH IDO NOT KNOW?
>
> hosea
>
>
> ---------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
>
> ---------------------------------
> Do you Yahoo!?
> Get on board. You're invited to try the new Yahoo! Mail Beta.
--
Noah.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Coffee does not make you nervous. your own inadequacies do that.
Coffee merely increases your perception of your own inadequacies." --Rob
Austein.
More information about the afnog
mailing list