Mac OS X Server 10.4 unable to send mail to self

Discussion in 'Mac OS X Server, Xserve, and Networking' started by GRMrGecko, Jan 23, 2009.

  1. GRMrGecko macrumors member

    GRMrGecko

    Joined:
    Jun 7, 2008
    Location:
    Nowhere and everywhere
    #1
    Hello I just installed Mac OS X server and everything is going fine, the only problem I can't find out is that when I send email to myself using mail function in php, it would not send and say this in the logs
    From that message I see that it can't find a mailbox and it's not going to the relay server. There for it deletes it by making the bytes null.
    I'm not using the built in mail because my internet provider blocks the port 25 and make you relay your out going mail to their smtp server, and if they block it, I can't receive email (Unless I'm wrong about email being receive at port 25).

    If you need me too I can attach main.cf and master.cf.

    Any help? Thanks,
    Mr. Gecko
     
  2. GRMrGecko thread starter macrumors member

    GRMrGecko

    Joined:
    Jun 7, 2008
    Location:
    Nowhere and everywhere
    #2
    Finally figured it out. My problem was the hostname I needed it to be mail.example.com instead of example.com, and now I can get emails from my server.
     
  3. ziad-for-mac macrumors newbie

    Joined:
    Feb 3, 2009
    #3
    go to mail>> settings>>general>>domain name : example.com , host name : example.com
     

Share This Page