• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1529
  • Last Modified:

Need send-only sendmail configuration for Fedora 7 web server

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
and
sendmail_from =  me@mydomain.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?
0
jdgressett
Asked:
jdgressett
2 Solutions
 
PsiCopCommented:
Actually, you could do the same thing in Linux. Nowhere is it carved in stone that you must use a local MTA. I'm not sure why you think the OS makes a difference for that issue. There's no reason you can't use an MTA provided on another host.

If you want to use the local sendmail, I'm not sure what you mean by a "send-only" configuration. Could you explain what it is you're looking for.
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
If you don't have sendmail running but a valid sendmail.cf in place, mail and mailx will deliver to your "mailhost" directly.
This I'd call a "send-only" setup.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now