What is required to send and receive email from VPS

Discussion in 'Questions and Answers' started by vpsali, Jul 29, 2017.

  1. vpsali

    vpsali New Member

    1
    0
    Jul 29, 2017
    I am planning to get an unmanaged VPS. My question is what is required to send and receive email by my site which will be hosted on that VPS?

    Suppose I have a domain www.vpsboard.com which I got from some domain provider. I am hosting this domain on VPS which I got from company A.

    I assume I will have to install and configure mail server (looking for some good free mail server software) on my VPS to send receive email correct? Is there anything else required for e.g. buying service from some provider to relay emails or something!?
     
  2. Aldryic C'boas

    Aldryic C'boas The Pony

    2,313
    2,651
    Apr 18, 2013
    Aldryic
    Honestly, the easiest route here is just using a service like AmazonSES. You can send out ~50k+ emails a month for just a few bucks.

    If you'd rather host your own, postfix is pretty simple to configure. If you're wanting to handle incoming mail as well, dovecot is my choice. Requires some CLI knowledge and getting your hands dirty rather than letting a panel do it all for you, but there's no better way to learn.
     
    vpsali likes this.
  3. Aldryic C'boas

    Aldryic C'boas The Pony

    2,313
    2,651
    Apr 18, 2013
    Aldryic
    Another thing to keep in mind - if you want to host your own mailserver _and_ you're worried about reliability, be careful about which VPS provider you go with. It's not uncommon for providers to have large blocks of IP space blacklisted due to more abusive users, and even if you choose a host that doesn't permit spam/etc you can still end up a victim of your neighbor's abuse until the host cleans things up.
     
    vpsali likes this.
  4. coreyman

    coreyman Active Member Verified Provider

    347
    49
    May 15, 2013
    vpsali likes this.
  5. raj

    raj Active Member

    136
    36
    Oct 25, 2013
    vpsali likes this.
  6. TierNet

    TierNet Member Verified Provider

    49
    7
    Sep 2, 2014
    Exim is also a good option for a mail server. Additionally, you can go for Mailchannels if you intend to send bulk mail without getting blacklisted.
     
  7. graeme

    graeme Active Member

    172
    41
    Nov 20, 2013
    If it is only for email sent by the site, try a transactional email service like Postmark. Stick to the TOS if you use one though, they are not general purpose SMTP servers.
     
  8. rocket

    rocket New Member

    5
    1
    May 4, 2017
    I wouldn't bother self hosting your email to be honest, way too much hassle. Say you mess a config up but don't realise it breaking the mail server, now you are going to receive no mail for any domain that you have hosted. Same with sending, it's very hard to get a consistent way of getting into inboxes from all the different providers without a lot of work.

    Personally I host my mail with MXroute, it's pretty cheap (go check LET for some of Jarlands offers) and is managed very well. They use a couple different services to make sure no spammers will cause your mail to be blocked.

    You can connect things such as WordPress or forum software to the MXroute account by using SMTP.

    It's up to you in the end, managing a mail server can be a lot of work.
     
    vpsali likes this.
  9. stephon

    stephon New Member

    6
    0
    Oct 31, 2017
    As rdns is the part of mail server setup, apart from rdns even need to set up for some text records too.