Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-15-2006, 06:26 AM   #1
Registered: Mar 2003
Posts: 178

Rep: Reputation: 30
Can someone explan to me how to set up a bare bones mail server

I'm pretty experienced with Linux. I generally don't have many problems but setting up a mail server has been a pain to me. I don't understand it. I look online and all tutorials I see have to go into setting up advanced mail servers. Most of them recommend installing 15 or so different apps including Postfix, Courier, Cyrus, etc. First off what exactly is the difference between Courier and Postfix? Why would you need both? A lot of tutorials also go into creating tables in MySQL to set these up. Why wouldn't there be a database I can just import? When I set up a mail server does it only work with users on the local machine? If I'm on a subnet, without a domain, how can I connect to get mail with an e-mail client? Can someone please help me!
Old 08-15-2006, 09:18 AM   #2
Registered: Jul 2006
Posts: 134

Rep: Reputation: 15
Mail Server

I have used this toaster site for some time now. Yeah, it makes you install a lot of stuff, but the benefits are that you will have a fully-functional system that you can then play/tweak/learn ...

Deion "Mule" Christopher
Old 08-16-2006, 01:15 AM   #3
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Good Day

go to, it shows you how to install a mailserver with spamassin and clamav, very easy and well thought out tutorial.

( You will need an enterpise linux system, like CentOS)

Old 08-17-2006, 01:27 PM   #4
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Setting up an Email server can get very difficult for a newby. The reason why is because you have thousands of combinations under UNIX/Linux. Also every program does just one thing and drops it off to another program which then picks up the message and does another thing.

Linux servers are made up of tiny little fast programs running in the background all specializing in doing one single thing - but that is the beauty of Linux and that is why it is so fast, secure and efficient, opposed to the bloated spaghetti code in Microsoft Exchange; no wonder it has such a history of bad crashes.

The Email message must traverse many programs before it can be read. It goes like this:

dns finds the mail exchange server (bind)
smtp MTA receives message relay securily (postfix, sendmail, exim)
message is checked for spam and reinjected (spamassassin, clamav)
mail filtering program checks for filters (procmail, sieve)
lmtp MDA puts it in the mailbox (dovecot, courier-imap, cyrus-imap)
client MUA authenticates (cyrus-sasl, MySQL, plain-text)
client MUA reads message (dovecot, courier-imap, cyrus-imap)

You have to know many things very well: DNS, SQL, SMTP, mail filtering, authentication using security, SPAM, and much more. Not only that but afterward you will have to administer the end users.

It took me a couple of years to understand all of this well and I'm still learning. Keep at it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Getting VNC login to bare-bones ded server kevin-f SUSE / openSUSE 0 12-26-2005 03:49 PM
Adding KDE to bare-bones Debian 3.1r0 install JoeDuncan Debian 5 12-09-2005 09:53 AM
What do I lose for a bare bones install? mhelliwell Linux - General 3 02-27-2005 07:14 PM
Bare bones install with KDE3 and internet browser? erp Linux - Newbie 3 08-11-2003 02:58 AM
Bare-Bones Install barddzen Linux - Newbie 1 12-16-2002 10:06 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 PM.

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