from         irwin <>
By the way, the latest version of qpopper is 3.0 and they suggest that you only use 3.0
with linux.   The SxS --->  Mail server might be changed.

From: Chong Yu Meng

Mail Server - Quick & Dirty

If you want mail services to be up and running on your network real quick, this Step-by-Step is for you. 

Disclaimer :
Please note that if you are using this configuration on a permanent Internet connection (eg. over a leased-line or cable modem), this configuration may be too non-secure. I have not included instructions on turning off services or protecting the server. 

Also, I have not included instructions on uploading and downloading mail to an ISP or external mail server on the Internet. Why ? Because I don't know how !

Tested on COL2.3 

This configuration uses :

Pre-Installation Checks

1. Check that you have sendmail installed. 

# rpm -q sendmail 

2. If you have sendmail installed, you should get a message : 


Configuring Sendmail

3. If you don't have sendmail installed, then you'll have to download and configure it. In most of the installation options for COL2.3, Sendmail will be pre-installed with your operating system. If you need sendmail installation instructions, please
read the Bat book by O'Reilly Press. 

4. If you already have sendmail installed, chances are, it already has been correctly configured. Congratulations ! To create a mail account, simply create a user account with COAS. 

Installing Qpopper

5. Download Qpopper from the following URL :

6. Untar the file :
# tar -zxvf qpopper2.53.tar.Z 

7. Run the following as root :
# cd qpopper2.53
#  ./configure --enable-specialauth
# make 

8. You should have a directory called /usr/local/lib in your system. If not, just create it. Then copy the file "popper" from the directory where you executed the "make" into /usr/local/lib. 

9. Edit /etc/inetd.conf. Look for the lines that begin with "pop", and add the following line : 

pop3 stream tcp nowait root /usr/local/lib/popper popper -s 

10. Edit /etc/services. Look for the line that begins "pop3" and include the following line :
pop3         110/tcp                 # Post Office 

11. Restart inetd. Or, if you are like me and have no clue how to do this, just reboot your system. 

Testing your configuration

12. If you are not running DNS on your network, you will need a hosts file on each of the systems sending and receiving mail from the mail server. Inside the hosts file, you will need to specify the hostname and the IPaddress. 

For example, in Windows, you will find a hosts.sam file in your Windows directory. Assuming that your mail server's name is
"", you will need an entry for it inside hosts.sam. 

Oh, and don't forget to rename "hosts.sam" to "hosts" 

Sample hosts file
===================       localhost     daviaardell 


13. Recall that earlier you setup user accounts for your mail. These email accounts are of the following format : <username>@<hostname>. 

So, for example, on my system, user "chong" would have a mail account like this : 


14. Next, just setup your mail clients, like Netscape, or Outlook Express with the following information : 

Again, assuming that your mail server is

SMTP server :
Port : 25 

POP3 server :
Port : 110 

15. Try to send mail to different user accounts. If there are no errors, then congratulations ! You have a mail server for internal mail. Pretty neat, huh ? And you didn't even need to edit or anything !! 


1. If you tried to send mail to root, you will not be able to pop the mail as root ! Qpopper will disallow any mail sent to root to be popped. This is not a bug, it's a feature ! 

2. If you're not sure about whether your POP server is running, just use telnet like this : 

[chong@daviaardell chong]$ telnet 110 

You will get the following message : 

Connected to
Escape character is '^]'.
+OK QPOP (version 2.53) at starting. 

You will need to login so, for me, I would type: 

user chong
+OK Password required for chong. 

Now, you will need to enter your password. 

pass n0gu3ss
+OK chong has 0 messages (0 octets). 

Note that your password needs to be typed in plain text ! So you don't want people looking over your shoulder when you type this ! 


Well, that's about all. When I have time later, I will put up Les Bell's most excellent explanation of how mail gets delivered.Something that proved invaluable to me in understanding mail architectures !! 

Good Luck and Regards,
Pascal Chong Yu Meng 

searchSearch Index