LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2006, 03:48 AM   #1
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Rep: Reputation: 15
Enabling mail, smtp functions on linux9


Hello folks, I have recently installed php5.1, mysql5.0.15 and apache 2.09 on my linux red hat 9 machine. Everything is working fine. I have written some php files using mail(). Is there any way I can check on my local linux server whether the mail.php file is working or not. I mean send some mail to local internal address e.g. localhost and see if it gets posted to the right address.

I dont know te configuraton for the same. Can somebody out there help me please?? Any help will be apprciated?? Thx.
 
Old 05-09-2006, 10:51 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Yes. I beleive there is. Just mail it to yourself (at your user email address). If it works, it'll go through.

I just went through that myself with my wife, editing our website to our annual summer party on the occasion of our wedding anniversarey.

I do the html edits and test them, she sends out the invites.
 
Old 05-10-2006, 05:16 AM   #3
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Yeah i also know it can be done. Infact we have 2 servers. On Sever 1 when I send it to root@localost.com the file shows its gone, mail sent. On the other server it does not go. What could be the reason?? I probably feel sendmail might not hve got configured. Is that so?? If yes, how can i test and configure it. Also on server mail.php that was working, I dont know how and where to go to check it. Can somebody shed some light into it??? Thx alot.
 
  


Reply


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
enabling MySql functions in PHP luna6 Linux - Networking 1 02-12-2006 07:12 AM
Unable to send mail to some mail servers due smtp greetings malformed atotomex Linux - Networking 6 12-20-2005 04:38 PM
SMTP and POP3 in RH Linux9 puniti Linux - Networking 2 04-24-2004 06:00 AM
SMTP and KMail and SMTP and Netscape Mail jazz... Linux - Newbie 5 10-11-2003 03:49 AM
Enabling valid users to relay thru SMTP learning_slowly Linux - Networking 1 11-04-2002 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:17 PM.

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