[NTLUG:Discuss] sendmail can not send mail out form apache/phpapplication.

m m llliiilll at hotmail.com
Fri Oct 28 11:32:21 CDT 2005



>From: "David Simmons" <dave at dgnal.net>
>
> >> sendmail can not send mail out form apache/php application.
>
>Be sure to read/check /var/log/mail and the PHP log
>
>but, I'm pretty sure you're php.ini file needs editting...depending on
>which mail service you have, double check the /etc/php.ini lines for:
>
>[mail function]
>; For Win32 only.
>SMTP = localhost
>smtp_port = 25
>
>; For Win32 only.
>;sendmail_from = me at example.com
>
>; For Unix only.  You may supply arguments as well (default: "sendmail -t
>-i").
>; WAS sendmail_path = /usr/sbin/sendmail -t -i
>sendmail_path = /usr/sbin/sendmail.postfix -t -i
>

yes, the line here is default
sendmail_path = /usr/sbin/sendmail -t -i

I did check other server (it have no problem such problem), and the 
sendmail_path shown as default above). This makes me confused.

sendmail_path = /usr/sbin/sendmail.postfix -t -i
I will try it today.
Very curious, how do you know it need to be set like this (sendmail.postfix) 
? I did google the answer for couples days, and don't get any luck.



>and double-check that the references shown are real...and like you see
>above, changed on my system for Postfix.   I think you're line might be:
>
>sendmail_path = /usr/sbin/sendmail.sendmail -t -1
>
>also, double check that /etc/alternatives/mta-sendmail actually points to
>a real file...again, I bet you need it to be linked to
>/usr/lib/sendmail.sendmail

will try today, too.
Thanks.

>
>hope that helps,
>
>dave
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/





More information about the Discuss mailing list