From owner-freebsd-questions@FreeBSD.ORG Wed Nov 23 22:13:46 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10CF716A41F for ; Wed, 23 Nov 2005 22:13:46 +0000 (GMT) (envelope-from lotto.kim@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3128B43D70 for ; Wed, 23 Nov 2005 22:13:36 +0000 (GMT) (envelope-from lotto.kim@gmail.com) Received: by zproxy.gmail.com with SMTP id n29so2028287nzf for ; Wed, 23 Nov 2005 14:13:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=m/+bfuBqplGzOBbY5q6VfEJZRCfRDA23EI4Xjy70tG+PRbxrnwUFJm9cSURPJR8J9RL0YW4bMZ1oCjvpMCG9jdpjmSLzWTIQVRZCSfz+m8yH569Fv+lt8UsnmP6zP0z3ASpuupdV0f2znuWBWw32mRiqpwjJ+KP/ZIOp8B63To0= Received: by 10.65.230.13 with SMTP id h13mr6418448qbr; Wed, 23 Nov 2005 14:13:33 -0800 (PST) Received: by 10.65.254.6 with HTTP; Wed, 23 Nov 2005 14:13:32 -0800 (PST) Message-ID: <45680d1e0511231413m57ae0744xf723450df1fd40b4@mail.gmail.com> Date: Wed, 23 Nov 2005 23:13:33 +0100 From: Kim johansen To: David Kirchner In-Reply-To: <35c231bf0511231409h6367788cka65f6bee76d4f812@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <45680d1e0511231355x61d96f64v5fca9f431d59ded3@mail.gmail.com> <35c231bf0511231409h6367788cka65f6bee76d4f812@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: php mail() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 22:13:46 -0000 wee, i got it. sendmail was symblinked up to mailwrapper. Changed sendmail_path to "/usr/sbin/mailwrapper -t -i", and it works:) On 11/23/05, David Kirchner wrote: > On 11/23/05, Kim johansen wrote: > > I cant get the mail function in php to work. If i try to run a script > > with the mail() function, the script is just sleeping, doing nothing. > > Have enabled debug in php, but dont got any errors. sendmail works > > fine if i use it from commandline. > > > > what could be wrong? > > We had to set up our php.ini as follows: > > sendmail_path =3D /usr/sbin/sendmail -t -i >