[FUG-BR] Openwebmail 2.53

Nilton Jose Rizzo rizzo em ufrrj.br
Segunda Maio 30 22:53:01 BRT 2011


     Pessoas à tempo uso o openwebmail para ler meus emaisl do meu site,
     porem quando puz ele para rodar em um 8.2 começou a me dar dor de
   cabeça
   vejam:
     FreeBSD 8.2 stable com apache
        Server version: Apache/2.2.18 (FreeBSD)
        Server built:   May 22 2011 21:23:34
      e  perl 5.12.3 and openwebmail version 2.53
      instalado via ports
   meu owm.conf
   domainnames             XXXX.com.br
   auth_module             auth_unix.pl
   mailspooldir            /var/mail
   #ow_cgidir              /usr/local/www/cgi-bin/openwebmail
   ow_cgidir               /home2/www/XXXX.com.br/cgi-bin/openwebmail
   ow_cgiurl               /cgi-bin/openwebmail
   #ow_htmldir             /usr/local/www/data/openwebmail
   ow_htmldir              /home2/www/XXXX.com.br/openwebmail
   ow_htmlurl              /openwebmail
   logfile                 /var/log/openwebmail.log
   enable_viruscheck       no
   enable_spamcheck        no
   enable_learnspam        no
   default_iconset         Default
   default_fscharset       none
   <default_signature>
   --
   Open WebMail Project ([1]http://openwebmail.org)
   </default_signature>
   enable_saprefs yes
   spamcheck_source_allowed       all
   viruscheck_source_allowed      all
   tenho vários dominios virtuais configurados corretamente
   e funcionando, mas o owm está em apenas um.
   No navegador tenho essa mensagem
   Internal Server Error
   The server encountered an internal error or misconfiguration and was
   unable to
   complete your request.
   Please contact the server administrator, webmaster em XXXX.com.br 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.
   No  /var/log/owm.log   -->>  nothing
   No /var/log/XXXX.error.log -->>
   [Sun May 29 00:32:50 2011] [error] [client 186.221.20.26] Premature end
   of
   script headers: openwebmail.pl, referer:
   [2]http://www.XXXX.com.br/index.php
   [Sun May 29 00:32:55 2011] [error] [client 186.221.20.26] Premature end
   of
   script headers: openwebmail.pl, referer:
   [3]http://www.XXXX.com.br/index.php
   No /var/log/messages.log  -->>  Nothing
   Já li a FAQ do owm e nada resolve o meu problema, inclusive já usei a
   dica
   do Alex ( lista o owm) para executar o wrapper (veja mensagem abaixo do
   Alex)
   Não sei se esqueci algo ou exista alguma coisa que não possa rodar no
   amd64???
   será??
   TIA,
   Mensagem do Alex >>>>
   Hi Nilton,
     Your configuration files look correct. However, I see you are using
   Perl
   5.12.3. Any version of Perl 5.12 and greater no longer supports setuid.
   To
   workaround this problem you must wrap the openwebmail-*.pl scripts in a
   C
   wrapper that enables setuid. OpenWebMail already comes with the script
   you
   need to do this. As root:
   cd cgi-bin/openwebmail
   chmod 4755 misc/tools/wrapsuid/wrapsuid.pl
   /misc/tools/wrapsuid/wrapsuid.pl `pwd`/openwebmail-*.pl
   chmod 444 misc/tools/wrapsuid/wrapsuid.pl
   now all of the plain text perl files have been moved like:
   openwebmail.pl -> .openwebmail.pl
   and the openwebmail.pl file is now a compiled c wrapper that enables
   setuid.
   Try that and let us know if you have any problems.
   <<<
   Rizzo
   Ps.; desculpem-me pela mensagem longa e em formato HTML estou usando um
   servidor de email muito vagaba que não permite trocar para plain text
   --
   This message has been scanned for viruses and
   dangerous content by [4]MailScanner, and is
   believed to be clean.

References

   1. http://openwebmail.org/
   2. http://www.xxxx.com.br/index.php
   3. http://www.xxxx.com.br/index.php
   4. http://www.mailscanner.info/


Mais detalhes sobre a lista de discussão freebsd