LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-31-2004, 11:18 AM   #1
tszhim
Member
 
Registered: Feb 2003
Posts: 54

Rep: Reputation: 15
mail server


i am setting up a mail server....but i know i need to edit the conf in /etc/hosts....

What should the file include if i want to setup a mail server that for providing account for other people?

i have not registered any domain (like abcd.com), so need i register one in order to get a domain name?

Also.... i am not very clear about setting up the mail server (I am going to use the whole PC for doing only the mail server job)
 
Old 01-31-2004, 11:26 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Re: mail server

Quote:
Originally posted by tszhim
i am setting up a mail server....but i know i need to edit the conf in /etc/hosts....
Not necesarily, it depends what services you want to provide and how you set them up.
Quote:
Originally posted by tszhim
What should the file include if i want to setup a mail server that for providing account for other people?
What services do you want to provide? your hosts file is the least of your problems.
Quote:
Originally posted by tszhim
i have not registered any domain (like abcd.com), so need i register one in order to get a domain name?
Only if you wnat to receive e-mail. Otherwise delivery would be impossible.
Quote:
Originally posted by tszhim
Also.... i am not very clear about setting up the mail server (I am going to use the whole PC for doing only the mail server job)
I would reccommed the following server software...
MTA: Qmail
IMAP: courier-imap
AUTH: openldap
HTTPD: apache
WEBMAIL: Squirrelmail
 
Old 01-31-2004, 01:27 PM   #3
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Re: Re: mail server

Quote:
Originally posted by david_ross
   quote:Originally posted by tszhim
   i have not registered any domain (like abcd.com), so need i register one in order to get a domain name?
Only if you want to receive e-mail. Otherwise delivery would be impossible.
The legal mail address can be also in the form
   my_name@[xxx.yyy.zzz.vvv]
where xxx.yyy.zzz.vvv is numerical IP address
so domain name registration is not really required (static IP is enough).
This way you can send & receive mails (and whatever you want).
 
Old 01-31-2004, 01:29 PM   #4
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Something else to consider, if you're going to register a domain and go with a full blown email server, is DNSing. You'll either have provide your own DNSing, which means setting up and running a DNS server like Bind, or rely on someone else to do it. There are some free ones like dyndns.org around. But the main point here is, is your IP static or dynamic. If it's dynamic, then running an email server from a box with a dynamic IP is not adviseable. If the IP doesn't change very often, like once in a blue moon, then sure you can get away with it. However keep in mind that everytime it changes it takes time for the DNS roots to catch up, sometimes a couple days (assuming you change it at your registar). That means during that time any email being sent to your hostname will instead be sent to your old IP, or even worse to someone else's email server whom has aquried your old IP. It also means that any of the people trying to connect to your server remotely to check their email will be unable to do so.
 
Old 01-31-2004, 09:15 PM   #5
tszhim
Member
 
Registered: Feb 2003
Posts: 54

Original Poster
Rep: Reputation: 15
but i got something clear....
if i want to provide email with domain like something@test.net..how can i achieve that?
 
Old 02-01-2004, 09:31 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
There are a few things:
1) Register a domain
2) Point the domain to your IP address preferably a static one - see DaHammer's post
3) Set up server software to receive incomming mail
4) Set up retreival software so users can download mail
5) Create you user accounts

I gave a list of my reccomended server software in my first post.
 
  


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
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
How to have limited mail on a linux server that support unlimited e-mail account mmh Linux - General 3 03-15-2006 06:52 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM
Mail Server Delimiter for alternate mail server venugopalmk Linux - Networking 2 04-29-2003 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:13 AM.

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