Email on a VPS?

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
DragonKyn
New to forums
New to forums
Posts: 9
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Oct 02, 2013 7:31 am

Email on a VPS?

Post by DragonKyn »

Hello,

I recently purchased yet another VPS. I was wondering how I would go about setting up emails for my domain on my VPS?

I noticed in the admin panel there is a mail tab, however obviously this is for a website operating on your web server hosting packages (I have one of those also)

Any help would be much appreciated as the support staff have directed me here. :)
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Email on a VPS?

Post by soja »

Why do you want email on your vds? Is there a feature that you need that isn't provided by NFO's email hosting?

What os is your vds? You need to set up a mail server, I use hMailserver for windows(with a self signed SSL certificate).

The outgoing mail port is blocked for the first 2 weeks(port 25) you own your VDS, to prevent spammers.
Not a NFO employee
DragonKyn
New to forums
New to forums
Posts: 9
Joined: Wed Oct 02, 2013 7:31 am

Re: Email on a VPS?

Post by DragonKyn »

soja wrote:Why do you want email on your vds? Is there a feature that you need that isn't provided by NFO's email hosting?

What os is your vds? You need to set up a mail server, I use hMailserver for windows(with a self signed SSL certificate).

The outgoing mail port is blocked for the first 2 weeks(port 25) you own your VDS, to prevent spammers.
I am hosting my website on my VDS, doesn't it make sense that I host a mail server for my outgoing mail? IE) my phpbb forum installation can't send mail without one.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Email on a VPS?

Post by soja »

Is your domain registered with NFO?
Not a NFO employee
DragonKyn
New to forums
New to forums
Posts: 9
Joined: Wed Oct 02, 2013 7:31 am

Re: Email on a VPS?

Post by DragonKyn »

soja wrote:Is your domain registered with NFO?
No, its pointed to the IP address of my VDS. Registered with GoDaddy
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Email on a VPS?

Post by kraze »

For new VDS installs we block port 25 for the first two weeks to prevent spam. This block will be automatically lifted after two weeks.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
DragonKyn
New to forums
New to forums
Posts: 9
Joined: Wed Oct 02, 2013 7:31 am

Re: Email on a VPS?

Post by DragonKyn »

kraze wrote:For new VDS installs we block port 25 for the first two weeks to prevent spam. This block will be automatically lifted after two weeks.
I have multiple servers with you guys (for months), including a 10 core and an 8 core as well as a web server and teamspeak. Would it be possible to have it lifted earlier if I put in a request in the control panel?
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Email on a VPS?

Post by kraze »

It is very possible, yes. Just contact us via the "help" tab in your control panel and we can look into doing so.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Email on a VPS?

Post by soja »

Ah ok now I have a handle on what you are trying to do.

What OS are you using? Like I said hMailserver is a good one. If you get a self signed SSL certificate(you should) you wont need port 25 anyway(you can set the SMTP server to use a different port).

You need to create MX records as well, like I have here for my domain:
Image

This is with namecheap, yours WILL look different.
Not a NFO employee
DragonKyn
New to forums
New to forums
Posts: 9
Joined: Wed Oct 02, 2013 7:31 am

Re: Email on a VPS?

Post by DragonKyn »

Complicated for someone who has never done this before. I'll give it a shot :)
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Email on a VPS?

Post by soja »

DragonKyn wrote:Complicated for someone who has never done this before. I'll give it a shot :)
This was my first time too, hmailserver is pretty easy from what I've seen, and they have a test in the program to make sure everything works properly. Took me a while to get everything working, but it works great now.

Also, I think you can use gmail to send out emails from forum software, for example use gmail SMTP servers to send the mail, you should check that out if this is all you want a mail server for.
Not a NFO employee
DragonKyn
New to forums
New to forums
Posts: 9
Joined: Wed Oct 02, 2013 7:31 am

Re: Email on a VPS?

Post by DragonKyn »

soja wrote:
DragonKyn wrote:Complicated for someone who has never done this before. I'll give it a shot :)
This was my first time too, hmailserver is pretty easy from what I've seen, and they have a test in the program to make sure everything works properly. Took me a while to get everything working, but it works great now.

Also, I think you can use gmail to send out emails from forum software, for example use gmail SMTP servers to send the mail, you should check that out if this is all you want a mail server for.
I'd also like to be able to add my own emails, ie myname@mydomain.com - so I think my own mail server is the only solution. :)
DragonKyn
New to forums
New to forums
Posts: 9
Joined: Wed Oct 02, 2013 7:31 am

Re: Email on a VPS?

Post by DragonKyn »

I setup hmailserver as you suggested. Followed the config guide. Everything is looking great. However, how do I access the login page from my website to login to my email account? :)
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Email on a VPS?

Post by soja »

There is, by default, no webmail. You need to use a email program such as mozilla thunderbird to access email.

As for sending email from your forum, find the setup section and put in the SMTP server information, along with the username and pass if you set one(you should).
Not a NFO employee
tenub
A semi-regular
A semi-regular
Posts: 29
Joined: Tue Aug 27, 2013 6:28 am

Re: Email on a VPS?

Post by tenub »

Ah, no wonder I couldn't send mail when I attempted to set up a mail server a few weeks back! I was completely unaware that port 25 was blocked. Now it all makes sense. :)
Post Reply