How do I configure Postfix in order to send email from localhost?

Discussion in 'Mac OS X Server, Xserve, and Networking' started by Laxmidi, Oct 29, 2009.

  1. Laxmidi macrumors newbie

    Joined:
    Oct 29, 2009
    #1
    I'm trying to set up an email server on my localhost. I have a php script that sends email and I want to test that it works before I deploy it. My goal is to make sure that my email form works, so that when my site is live people can send me mail.

    I'm using: Mac Leopard, MAMP Pro, Flex. Verizon provides my internet service. My webserver works fine except for sending email.

    I'm trying to send a test email from my localhost to my yahoo account. The php script echoes a confirmation that the message was sent, but nothing arrives in my yahoo account.

    I think that I have a problem with Postfix, but I'm not sure. I've got MAMP Pro which has a GUI for configuring Postfix, but I don't know what to do. It asks for:

    1) Domain of outgoing mail
    2) Smart Host (has a checkbox)
    3) Host
    4) Username
    5) Password
    6) Asks whether there will be authentication

    I've attached a png of MAMP Pro's Postfix panel.

    Does anyone know how to set up an email server on a localhost with my set-up? I'd love to hear from you!


    Thank you.

    -Laxmidi
     

    Attached Files:

  2. Laxmidi thread starter macrumors newbie

    Joined:
    Oct 29, 2009
    #2
    Success

    Okay,

    I figured it out.

    It turned out that my internet service is provided by Verizon's vzavenue not plain old Verizon.

    So in MAMP Pro's Postfix form where it reads "domain of outgoing mail" I should have had vzavenue.net instead of verizon.net. Then click the "Change Postfix Configuration" button and you're done. I didn't need to change anything else.

    A simple problem that took me a week to figure out!

    Hope that this helps some other people.

    -Laxmidi
     

Share This Page