Next Previous Contents

6. Internet/Intranet

Linux is a great platform to act as an Intranet / Internet Server. The term Intranet refers to the application of Internet technologies inside an organisation mainly for the purpose of distributing and making available information inside the company. Internet and Intranet services offered by Linux include Mail, News, WWW servers and many more that will be outlined in the next sections.

6.1 Mail

Mail servers

Sendmail is de facto standard mail server program for UNIX platforms. It is robust, scalable and properly confiured and with the necessary hardware, can handle loads of thousands of users without blinking. Other mail servers (MTA Mail Transport Agents) exist as smail and qmail which are designed as replacements for sendmail.

Mail how-tos:

Remote access to mail.

In an organisation or ISP, users will likely access their mail remotely from their desktops. Several alternatives exist in Linux, including POP (Post Office Protocol) and IMAP (Internet Message Access Protocol) servers. POP protocol is usually used to transfer messages from the server to the client. IMAP admits also manipulation of the messages in the server, remote creation and deletion of folders in the server, concurrent access to shared mail folders, etc.

Mail related how-tos:

Mail User Agents

There is a number of MUA (Mail User Agents) in Linux, both graphical and text mode. Most widely used include: pine, elm, mutt and Netscape.

Mailing list software

There are many MLM (Mail List Management) programs available for UNIX in general and for Linux in particular.

Fetch-mail

One mail-related useful utility is fetchmail. Fetchmail is a free, full-featured, robust, well-documented remote-mail retrieval and forwarding utility intended to be used over on-demand TCP/IP links (such as SLIP or PPP connections). It supports every remote-mail protocol now in use on the Internet. It can even support IPv6 and IPSEC.

Fetchmail retrieves mail from remote mail servers and forwards it via SMTP, so it can then be be read by normal mail user agents such as mutt, elm or BSD Mail. It allows all the system MTA's filtering, forwarding, and aliasing facilities to work just as they would on normal mail

Fetchmail can be used as a POP/IMAP-to-SMTP gateway for an entire DNS domain, collecting mail from a single drop box on an ISP and SMTP-forwarding it based on header addresses.

A small company may centralise its mail in a single mailbox, and program fetchmail to collect all the outgoing mail, send it to the internet and retrieve all incoming one.

6.2 Web Servers

Most Linux distribution include Apache (http://www.apache.org). Apache is the number one server on the internet (http://www.netcraft.co.uk/survey/) where more than a half of all internet sites are running Apache or one of it derivatives.Apache advantages include its modular design, stability and speed. Given the appropriate hardware and configuration it can support the highest loads: Yahoo, Altavista, GeoCities, Hotmail are based in customized versions of this server.

Optional support for SSL (which enables secure transactions) is also available at:

Related How-tos:

6.3 Web Browsers

A number of web browsers exist for the Linux platform. Netscape Navigator is one of the choices from the very beginning and the upcoming Mozilla (http://www.mozilla.org) will have a Linux version. Another popular text based web browser is lynx. It is fast and handy when no graphical environment is available.

6.4 FTP Servers and clients

FTP stands for File Transfer Protocol. An FTP server allows clients to connect to it and retrieve (download) files. Many ftp servers and clients exist for Linux and are usually included with most distributions. There are text-based clients as well as GUI based.FTP related software (servers and clients) for Linux may be found at: http://sunsite.unc.edu/pub/Linux/system/network/file-transfer/

6.5 News service

Usenet (also known as news) is a big bulletin board system that covers all kind of topics and it is organised hierarchically. A network of computers across internet (Usenet) exchange articles through the NNTP protocol. Several implementations exist for Linux. Either for heavy loaded sites or small sites receiving only a few newsgroups.

6.6 Domain Name System

A DNS server has the job of translating names (readable by humans) to an IP address. A DNS server does not know all the IP addresses in the world; rather, it is able to request other servers for the unknown addresses. The DNS server will either return the wanted IP address to the user or report that he name cannot be found in the tables.

Name serving on Unix (and on the vast majority of the Internet) is done by a program called named. This is a part of the bind package of The Internet Software Consortium.

6.7 DHCP, bootp

DHCP and bootp are protocol that allows a client machine to obtain network information (such as their IP number) from a server. Many organisations are starting to use it because it eases network administration especially in large networks or networks which have lots of mobile users.

Related documents:

6.8 NIS

The Network Information Service (NIS) provides a simple network lookup service consisting of databases and processes. Its purpose is to provide information, that has to be known throughout the network, to all machines on the network. It allows for example that one person could log on in any machine in the network running NIS without the need for the adinistrator to add a password entry for him in all the machines, only in the main database.

Related How-To:

6.9 Authentication

There are also various ways of authenticating users in mixed networks For Linux/window NT: http://www.mindware.com.au/ftp/smb-NT-verify.1.1.tar.gz The PAM (pluggable authentication module) which is a flexible way of UNIX authentication: PAM library. Finally, LDAP in Linux


Next Previous Contents