From owner-freebsd-ports@FreeBSD.ORG Tue May 31 12:12:37 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25178106566C for ; Tue, 31 May 2011 12:12:37 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A128F8FC15 for ; Tue, 31 May 2011 12:12:36 +0000 (UTC) Received: by bwz12 with SMTP id 12so5306035bwz.13 for ; Tue, 31 May 2011 05:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=bxjSzM5uhh9B+ED0vSIDGtkpOIaXf4XI1totQnk+rJY=; b=GVIXGSMCYT6h4NuF0ZZ88GzgF+S1ybKGTwt661pIFO8+6CT+vP6OhSCYVD3fHMO2x8 M8ayBwO0Re4u7NOPrMNwH47pzObh+IcFV7j342MsrpDq6/pZWFb5GBShhZWHAO0tFstZ XlHN+HjV+jeHbD2nq76OM06Ow7tf/gStVVIN0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; b=OUoIEJc2hQ8wOUXJ0iNruFQEDeHDJihokpRx44X1SICJ3C+Hb15PMm7kLMPVDbKdVW GGKgS3rPXLXidHaTYjNMbK4LR+tGx2H5HOjZNXfxfXXZhNwm0uL4aWs/P4u0c6JkjjDY 94RAmIvmHJt83deQwbcazUQIU13dmxIAo8Aw8= Received: by 10.204.14.144 with SMTP id g16mr5544051bka.34.1306843955136; Tue, 31 May 2011 05:12:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.66.81 with HTTP; Tue, 31 May 2011 05:12:05 -0700 (PDT) In-Reply-To: <20110531114804.M42015@lin.ufrj.br> References: <20110531013837.M97254@lin.ufrj.br> <20110531114804.M42015@lin.ufrj.br> From: Chris Rees Date: Tue, 31 May 2011 13:12:05 +0100 Message-ID: To: Nilton Jose Rizzo , ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: openwebmail not work X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2011 12:12:37 -0000 On 31 May 2011 12:56, Nilton Jose Rizzo wrote: > On Tue, 31 May 2011 10:11:13 +0100, Chris Rees wrote >> On 31 May 2011 02:40, Nilton Jose Rizzo wrote: >> > >> > Hi folks, >> > >> > =A0 I have a box running FreeBSD 8.2 stable with apache >> > =A0 =A0 Server version: Apache/2.2.18 (FreeBSD) >> > =A0 =A0 Server built: =A0 May 22 2011 21:23:34 >> > =A0 and perl 5.12.3 and owm version 2.53 >> > >> > my owm.conf >> > >> > domainnames =A0 =A0 =A0 =A0 =A0 =A0 XXXX.com.br >> > auth_module =A0 =A0 =A0 =A0 =A0 =A0 auth_unix.pl >> > mailspooldir =A0 =A0 =A0 =A0 =A0 =A0/var/mail >> > #ow_cgidir =A0 =A0 =A0 =A0 =A0 =A0 =A0/usr/local/www/cgi-bin/openwebma= il >> > ow_cgidir =A0 =A0 =A0 =A0 =A0 =A0 =A0 /home2/www/XXXX.com.br/cgi-bin/o= penwebmail >> > ow_cgiurl =A0 =A0 =A0 =A0 =A0 =A0 =A0 /cgi-bin/openwebmail >> > #ow_htmldir =A0 =A0 =A0 =A0 =A0 =A0 /usr/local/www/data/openwebmail >> > ow_htmldir =A0 =A0 =A0 =A0 =A0 =A0 =A0/home2/www/XXXX.com.br/openwebma= il >> > ow_htmlurl =A0 =A0 =A0 =A0 =A0 =A0 =A0/openwebmail >> > logfile =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /var/log/openwebmail.log >> > >> > enable_viruscheck =A0 =A0 =A0 no >> > enable_spamcheck =A0 =A0 =A0 =A0no >> > enable_learnspam =A0 =A0 =A0 =A0no >> > >> > default_iconset =A0 =A0 =A0 =A0 Default >> > default_fscharset =A0 =A0 =A0 none >> > >> > >> > -- >> > Open WebMail Project (http://openwebmail.org) >> > >> > enable_saprefs yes >> > spamcheck_source_allowed =A0 =A0 =A0 all >> > viruscheck_source_allowed =A0 =A0 =A0all >> > >> > I have some virtual domain but the real domains was configured >> > in owm.conf >> > >> > I take this mesage on browser: >> > >> > Internal Server Error >> > >> > The server encountered an internal error or misconfiguration and was u= nable to >> > complete your request. >> > >> > Please contact the server administrator, webmaster@XXXX.com.br and inf= orm 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. >> > >> > On /var/log/owm.log =A0 -->> =A0nothing >> > on /var/log/XXXX.error.log -->> >> > [Sun May 29 00:32:50 2011] [error] [client 186.221.20.26] Premature en= d of >> > script headers: openwebmail.pl, referer: http://www.XXXX.com.br/index.= php >> > [Sun May 29 00:32:55 2011] [error] [client 186.221.20.26] Premature en= d of >> > script headers: openwebmail.pl, referer: http://www.XXXX.com.br/index.= php >> > >> > on /var/log/messages.log =A0-->> =A0Nothing >> > >> > I just read the FAQ and search on mail list =A0but nothing resolv my p= roblem >> > someone can help me? >> > >> > This is a new instalation, I use the owm for long time ago, but now no= thing >> > work correct, mavbe I forget some things or some mistake when I type t= he >> > config files .... >> > >> >> What's the output of >> >> # head /path/to/openwebmailcgidir/index.php >> >> ? >> >> Chris > > Hi Chris, > > I don=B4t have this file on my directory struct, but I found one > problem, I don=B4t know how but I don=B4t install the mod_perl in apache2 > and the system work, but nevertheless show errors. =A0I use the owm3.0Bet= a4 > when I=B4ll search something show this messages on browser: > > Software error: > > Use of uninitialized value $_ in scalar chomp at > /home2/www/XXXX.com.br/cgi-bin/openwebmail/shares/getmsgids.pl line 244. > > For help, please send mail to the webmaster (webmaster@XXXX.com.br), givi= ng > this error message and the time and date of the error. > > and on /var/log/XXXX.error.log show > > [Tue May 31 07:59:27 2011] [error] [client 189.60.218.205] [Tue May 31 > 07:59:27 2011] .openwebmail-main.pl: Use of uninitialized value $_ in sca= lar > chomp at /home2/www/XXXX.com.br/cgi-bin/openwebmail/shares/getmsgids.pl l= ine > 244., referer: http://www.XXXX.com.br/cgi-bin/openwebmail/openwebmail-mai= n.pl > > > What=B4s I forget now? Sending back to list too -- please keep it in so people Googling in future can see the replies. By /path/to/openwebmailcgidir/, I meant the path to wherever the index.php is... Do you know where it is? Chris