Need send-only sendmail configuration for Fedora 7 web server
Posted on 2007-10-03
I am learning PHP using the book "PHP 5 Fast & Easy Web Development" by Julie Meloni. I am using a Fedora 7 machine on our company internal network on which I have just installed Sendmail as my webserver. I have done no configuration on Sendmail at all. I need to configure Sendmail so that I can use PHP to send e-mail as per Chapter 8 in the book. If I were working on a Windows machine, this would be simple - there would be no sendmail to deal with and php.ini would only need to set
SMPT = mail.mymailprovider.com
sendmail_from = email@example.com
Being on linux, I must set
sendmail_path = /usr/sbin/sendmail
and that is all that php.ini can do for me. The mail configuration must be done with sendmail.
This is where my knowledge of what to do next comes to an end. I only need to send mail, not receive it, on this Fedora 7 machine. I want it to take PHP-produced email messages and ship them off to mail.mymailprovider.com. No other e-mail capabilities whatsoever are needed.
what do I need to do to the Fedora 7 sendmail config to make this happen?