How to enable mail server

Discussion in 'Site & Server Administration' started by nura235, Nov 20, 2009.

  1. #1
    Hi

    i m just figuring contact.php to send mail to myself for testing.

    But it seem that my mail server is not enabled.

    i pinged to mail.mydomain.com

    and returned error
    Ping request could not find host mail.mydomain.com Please check name and try again.

    So how can i enable it. i m running my website on VPS.
     
    nura235, Nov 20, 2009 IP
  2. SecureCP

    SecureCP Guest

    Messages:
    226
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you'll need to add a dns entry for mail.yourdomain.com. You can try using the script with just your domain name.
     
    SecureCP, Nov 20, 2009 IP
  3. gacba

    gacba Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Also check with your hosting provider...this configuration is usually setup for you already, unless you installed it yourself.
     
    gacba, Nov 20, 2009 IP
  4. nura235

    nura235 Well-Known Member

    Messages:
    529
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    110
    #4
    got msg form hosting provider
    
    We've added mail.downloadpremium.net DNS alias. Please verify.
    Code (markup):
     
    Last edited: Nov 21, 2009
    nura235, Nov 20, 2009 IP
  5. nura235

    nura235 Well-Known Member

    Messages:
    529
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    110
    #5
    All the things resolved by my hosting provider.

    working gr8.
     
    nura235, Nov 23, 2009 IP
  6. nura235

    nura235 Well-Known Member

    Messages:
    529
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Sorry for the double post.

    But it is important to tell the solution which i got for my hosting provider.

    He told me

    No mail package was installed on your VPS. Hence, when you tries to send e-mail it didn't know who to talk to to send out e-mails. We have to run "yum install sendmail".
    Code (markup):
     
    nura235, Nov 23, 2009 IP