Index: [Article Count Order] [Thread]

Date:  Mon, 6 Aug 2007 20:34:31 +0100
From:  "Martyn Bailey" <martyn (at mark) solis.co.uk>
Subject:  [coba-e:10538] Re: PHP (not) sending mails after migration
To:  Michael Stauber <bq (at mark) solarspeed.net>, coba-e (at mark) bluequartz.org
Message-Id:  <46B785D7.11737.60E1096@localhost>
In-Reply-To:  <200708031542.16332.bq (at mark) solarspeed.net>
References:  <46B32423.30766.608162@localhost>
X-Mail-Count: 10538

On 3 Aug 2007, at 15:42, Michael Stauber wrote:

> Hi Martyn,
> 
> > I recently moved a site from a RaQ550 onto a CentOS/BQ4.7 box.
> > The site uses PHP to generate emails - which have now stopped.
> > Path to sendmail in php.ini is fine.
> >
> > Is there some generic way of fixing this?
> 
> Edit php.ini and find the line that starts with ...
> 
> sendmail_path = ....
> 
> If it's commented out, remove the leading ";" and change it to this:
> 
> sendmail_path = /usr/sbin/sendmail -t -i -f admin
> 
> After the change restart Apache:
> 
> /etc/init.d/httpd restart
> 
> That should fix it.

Thanks Michael,

That's a hack I've used for a while, can't remeber why, possibly 
something to do with formmail in the past (aged memory and all 
that).  The customer is getting emails, but not the content 
generated from inputting into the php form - I'm guessing this is an 
oddity to do with different versions of php on the 550 to that on the 
BQ4.7

I'm not quite at the stage of wanting to: rm -rf /.      :-)