Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I am new to Suse and wanted to ask how I can go about installing a mail server on my VPS. I have just an IP address and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2012
    Posts
    1

    VPS on OpenSuse


    Hi all, I am new to Suse and wanted to ask how I can go about installing a mail server on my VPS. I have just an IP address and no domain name linked to the server. Will it be possible to still set up an email server. Also what are all the tools needed, I know about MTA's e.g. Postfix. Thanks

  2. #2
    Just Joined!
    Join Date
    Dec 2009
    Location
    California
    Posts
    98
    Sure, you can setup an email server on your VPS even though it doesn't have a name in DNS.

    You say you know postfix, so just set that up as normal.

    There are only two reasons why I would think you would want to do this.
    1) You have an internal network and you want all the hosts inside to be able to relay mail through your SLES box to the Internet. The problem you will have is that when your mail server connects to a random SMTP server on the Internet and says "helo", anti-spam controls may kick in and your email will not be accepted. You'll see something like, "you don't have a reverse DNS entry". To fix that, you'll need a PTR record in DNS (some places are so fascist that they will not accept mail unless your forward and reverse DNS entries match).

    2) If you really want someone to be able to deliver mail to your mail server, though, you will have to advertise it in DNS. You must setup two entries for this to happen. You will need an 'A' record and an MX record. For example, my domain has:

    mail.unixpeople.com. 600 IN A 208.106.26.186
    unixpeople.com. 600 IN MX 10 mail.unixpeople.com.

    If you are hard-core about making sure that your mail is accepted everywhere, as I mentioned in point 1 above, you'll need a matching PTR:
    ;; ANSWER SECTION:
    186.26.106.208.in-addr.arpa. 14400 IN PTR mail.unixpeople.com.
    Last edited by abarclay; 04-01-2012 at 05:51 PM. Reason: want to add an item

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •