Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-23-2005, 06:31 PM   #1
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Rep: Reputation: 32
php and sendmail setup problems

Today I set up apache and sendmail on my Fedora Core 4 machine. Although php (5.x) works, I cannot send mail with the mail() function. In phpinfo() I see:
sendmail_path /usr/sbin/sendmail -t -i

So it appears that php knows where sendmail is. After STFA and STFW I have come to the conclusion that the problem is either:
1) The fact that I have not setup an address at this machine, so all mail is coming from @localhost
2) SElinux

Where would I begin to check? I called my ISP, and they are not blocking port 25.


Dotan Cohen


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
PHP sendmail setup. Help Needed!!! NaX Slackware 14 02-09-2005 06:15 AM
Sendmail with PHP setup!!! NaX Linux - Software 2 02-04-2005 08:08 AM
sendmail setup Finlay Linux - Networking 16 03-18-2003 02:00 PM
chrooting apache with php support - sendmail problems markus1982 Linux - Security 9 01-29-2003 05:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration