Chandranshu . wrote: > 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 > If use virtual user (not system user) MTA (link postfix) could give this error:
Jun 8 13:42:23 web postfix/sendmail[4284]: fatal: no login name found for user ID 3210 To solve you have to configure system to map virtual user (I do this using LDAP base with virtual user). If you do not use safe_mode=off you could add 5th parameter to mail function (but coulb be not a good solution) mail($to,$subject,$message,$headers,'-f [EMAIL PROTECTED]'); > mail($to,$subject,$message,$headers); > echo "Mail Sent." > $r = mail($to,$subject,$message,$headers); if ($r) echo "Mail Sent." else echo "ERROR! Mail not Sent." Alessandro De Zorzi _______________________________________________ suPHP mailing list suPHP@lists.marsching.biz http://lists.marsching.com/mailman/listinfo/suphp