SMTP... How do i set it up

Discussion in 'Installation/Configuration' started by timaaarrreee, Jun 2, 2008.

  1. timaaarrreee

    timaaarrreee New Member

    hi,

    I was woundering how to get my server to SEND emails yesterday i got uebimau working and reciving emails is fine. But i don't know how to send them.

    Would this be a matter of setting up smtp.domain.tld and what DNS records do i need to use I.E MX, SPF and A and CNAME
     
  2. chipsafts

    chipsafts New Member

    You want to send out directly from that pc or use your ISP mail server? If directly and you already have a domain name, add an MX record that points to your email pc's name.
     
  3. timaaarrreee

    timaaarrreee New Member

    so woul i create a mx record (smtp.khost.co.nz) that points to my mail server?

    A the moment i have the following setup:

    A's: mail.khost.co.nz, smtp.khost.co.nz

    MX: mail.khost.co.nz, pop.khost.co.nz

    SPF: smtp.khost.co.nz
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You'd create an MX record like this:
    khost.co.nz MX 10 mail.khost.co.nz
     
  5. timaaarrreee

    timaaarrreee New Member

    sorry i don't quite understand i have mail.khost.co.nz and priority 10 But what do i do for smtp.khost.co.nz
     
  6. falko

    falko Super Moderator Howtoforge Staff

    mail and smtp are both pointing to the same IP address, so it doesn't matter if you use mail or smtp.
     
  7. timaaarrreee

    timaaarrreee New Member

    wow my bad, what about SPF records are that important when it comes to e-mail?
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Yes. Lots of email providers (such as Hotmail, Yahoo, GMail, etc.) will classify your emails as spam if you don't have an SPF record.
     
  9. twgray

    twgray New Member

    Total noob so maybe a stupid question...

    Where do I create the mx record? I did this at GoDaddy where my domain is registered. Do I need to create it elsewhere?
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Depends on who is running your name serves. You can find it out by running
    Code:
    dig ns yourdomain.com
     

Share This Page