Need send-only sendmail configuration for Fedora 7 web server

Posted on 2007-10-03
Last Modified: 2013-12-18
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
sendmail_from =

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  No other e-mail  capabilities whatsoever are needed.

what do I need to do to the Fedora 7 sendmail config to make this happen?
Question by:jdgressett
    LVL 34

    Accepted Solution

    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.
    LVL 16

    Assisted Solution

    by:Hanno Schröder
    If you don't have sendmail running but a valid in place, mail and mailx will deliver to your "mailhost" directly.
    This I'd call a "send-only" setup.
    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
    Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
    In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now