From owner-freebsd-questions@FreeBSD.ORG Wed Nov 23 22:09:38 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 AE34416A431 for ; Wed, 23 Nov 2005 22:09:38 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7751143D93 for ; Wed, 23 Nov 2005 22:09:31 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1237392wxc for ; Wed, 23 Nov 2005 14:09:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mJnTUsnkTm41PWx+mqS1xvKJSZcLKIwKr2jSFcR1mk51NNWZYMfUbz0ScdVKkSGbQiWZK/1ugkSiZsd1ck67EMhy9rGlCwm46qfZ9Hl6fNqSRS4x20i/lOKR6y/fgTuTrH3LQ6rzTQ4nRAzywc75ZYb4A4wfxn6WBJJEEBUnsbY= Received: by 10.70.100.17 with SMTP id x17mr5022017wxb; Wed, 23 Nov 2005 14:09:29 -0800 (PST) Received: by 10.70.104.18 with HTTP; Wed, 23 Nov 2005 14:09:29 -0800 (PST) Message-ID: <35c231bf0511231409h6367788cka65f6bee76d4f812@mail.gmail.com> Date: Wed, 23 Nov 2005 14:09:29 -0800 From: David Kirchner Sender: dpkirchner@gmail.com To: Kim johansen In-Reply-To: <45680d1e0511231355x61d96f64v5fca9f431d59ded3@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> 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:09:39 -0000 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