See Alessandro's reply.  It sounds like a local system MTA problem.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |

On Sat, Jun 28, 2008 at 01:44:40PM +0530, Chandranshu . wrote:
> Hi Jeremy,
> 
> Thanks for your quick reply but I had already seen the page. As I
> reported in my previous post, I'm being able to send mails when using
> the same ini file with mod_php. I forgot to mention that my Apache is
> chrooted to a different directory and everything runs from there. Can
> this have any additional impact on how (su)PHP deals with sendmail
> programs? (I have already ensured that I am being able to send mails
> by using sendmail directly.)
> 
> Regards
> Chandranshu
> 
> On Sat, Jun 28, 2008 at 11:33 AM, Jeremy Chadwick
> <[EMAIL PROTECTED]> wrote:
> > Try tuning the behaviour of mail() using php.ini.
> >
> > http://us2.php.net/manual/en/mail.configuration.php
> >
> > --
> > | Jeremy Chadwick                                jdc at parodius.com |
> > | Parodius Networking                       http://www.parodius.com/ |
> > | UNIX Systems Administrator                  Mountain View, CA, USA |
> > | Making life hard for others since 1977.              PGP: 4BD6C0CB |
> >
> > On Sat, Jun 28, 2008 at 11:29:54AM +0530, Chandranshu . wrote:
> >> Hi,
> >>
> >> We have to provide a shared server environment to some of my clients.
> >> We are using Apache 2.2.3 and suPHP 0.6.3. While everything else works
> >> properly, a call to mail() method under suPHP is neither sending mails
> >> nor generating any errors. I have verified that the mail() method
> >> works properly when used with mod_php.
> >>
> >> I am not getting any errors in my error logs. suphp_log shows only  this 
> >> line:
> >> [Sat Jun 28 01:55:50 2008] [info] Executing
> >> "/mnt/glusterfs/apache/hosting-dir/56/156/mail.php" as UID 2156, GID
> >> 2156
> >>
> >> The mail.php is a simple script:
> >> <?php
> >>
> >> $to = "[EMAIL PROTECTED]";
> >> $subject = "Test mail";
> >> $message = "Hello! This is a simple email message.";
> >> $from = "[EMAIL PROTECTED]";
> >> $headers = "From: $from";
> >> mail($to,$subject,$message,$headers);
> >> echo "Mail Sent."
> >>
> >> ?>
> >>
> >>
> >> Searching the archives showed up a previous post with similar doubts
> >> but had no replies. Any help to will be greatly appreciated.
> >>
> >> Thanks and regards
> >> Chandranshu
> >>
> >> _______________________________________________
> >> suPHP mailing list
> >> suPHP@lists.marsching.biz
> >> http://lists.marsching.com/mailman/listinfo/suphp
> >

_______________________________________________
suPHP mailing list
suPHP@lists.marsching.biz
http://lists.marsching.com/mailman/listinfo/suphp

Reply via email to