LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2012, 10:30 AM   #1
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
Preparing to make an old computer into a simple mail server


I have intentions of making one of my old computers sitting in the garage into a mail server when I go back home for Spring break. Unfortunately I haven't had a class on networking yet and I still have a few things to understand.

My questions are fairly basic so I Googled my questions but I guess my words were too vague that some of them ended up giving me varied results. Here is what I do know from my classes and other resources so far:

a) I'll need to buy a domain name from a domain name registrar in order to have the @domainname.com part of my e-mail address.
b) In order for point a, I'll also need a domain name server, most commonly BIND.
c) My mail server computer will need a static IP.
d) The user (me) will need getmail/fetchmail.
e) I'll probably also want SpamAssassin and a few other features on my mail server computer.

Here are some of the things I would like to know:

1. Some domain name registrars state that they give security or otherwise some additional features when I sign up with them, but aren't these things supposed to be my job?

2. What exactly do domain name registrars give to me that BIND or some other domain name server uses in order to set the static IP of that computer to "domainname.com"?

3. Does the mail server also need getmail/fetchmail?

4. Is it recommended to set the Machine name of my computer to match the domain name I buy or will it not matter?

Thank you in advance. I'm sorry for these basic newbie questions but as previously stated Google was unable to answer them.
 
Old 02-19-2012, 04:36 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Quote:
a) I'll need to buy a domain name from a domain name registrar in order to have the @domainname.com part of my e-mail address.
Yes
Quote:
b) In order for point a, I'll also need a domain name server, most commonly BIND.
No .. the name registrar can also host DNS for you, probably worth while so you don't take on too much at once.
Quote:
c) My mail server computer will need a static IP.
Yes .. your internet connection will need to have a static address as well
Quote:
d) The user (me) will need getmail/fetchmail.
You probably want an MTA like postfix, exim or sendmail - I suggest postfix.
Quote:
e) I'll probably also want SpamAssassin and a few other features on my mail server computer.
Yes .. there are serveral tutorials around on configuring an MTA with anti-spam software.
 
Old 02-20-2012, 04:33 PM   #3
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
Hi kbp, thank your for responding but those were some of the things that I did know, my questions were the numbered points.
 
Old 02-20-2012, 04:50 PM   #4
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Your server ip address needs to resolve correctly to the dns name, I see this all the time.

Your email may be dropped if your rDNS is not valid -- does not match and/or does not exist.

I would also, recommend using SSL and not having insecure ports open to the public_internet, otherwise you will be bombarded by dictionary attacks and flooded by bot-networks.

This would involve buying a SSL certificate but you can purchase one for less than $60, and not have every hacked server/bot-network pounding on your email server (through clear text protocols & insecure ports open)...

Last edited by rhbegin; 02-20-2012 at 04:52 PM.
 
Old 02-20-2012, 05:40 PM   #5
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Sorry .. must have glossed over that part

1. you need to determine that for yourself, how much do you want to take on? DNS management as well as managing a mail server?
2. Domain registrars primarily perform domain registration, but they also do DNS hosting. You cannot perform domain registration just by running your own DNS server.
3. No
4. Doesn't matter
 
Old 02-20-2012, 08:35 PM   #6
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
Okay, thank you both and I'll look into SSL.
 
Old 02-21-2012, 01:36 PM   #7
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Quote:
Originally Posted by Konphine View Post
Okay, thank you both and I'll look into SSL.
I would for sainity, after having hacked email accounts and denial of service attacks I shut the insecure ports down and migrated to ssl.

You lose some speed, but you can go home and not have every hacked bot-network-pc working on your server when you are not.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
simple mail server application zodehala Linux - Newbie 2 11-11-2009 07:08 PM
Simple mail server wg1337 Linux - Server 0 04-10-2009 12:08 PM
Simple Mail Server Setup paul_mat Linux - Newbie 3 02-16-2005 05:52 PM
setting up a simple e-mail server w/ 9.2 sylven_1999 Mandriva 0 11-14-2003 07:01 AM
simple mail server setup mehargags Slackware 1 08-04-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration