Reference
The following references are recommended reading for email configuration. Of course, not all references apply to you. Select the ones that apply to the email server that you are using.
Web Resources
> http://www.sendmail.org/ — This is the Sendmail home page. Here you can find configuration information and FAQs regarding the Sendmail MTA.
> http://www.postfix.org/ — This is the Postfix home page. If you are using the Postfix MTA, documentation and sample configurations can be found at this site.
> http://www.qmail.org/ — This is the home page for the Qmail MTA. It contains documentation and links to other resources on Qmail.
> http://www.linuxgazette.com/issue35/jao.html — IMAP on Linux: A Practical Guide. The Internet Mail Access Protocol allows a user to access his email stored on a remote server rather than a local disk.
> http://www.imap.org/about/whatisIMAP.html — A page describing what IMAP is.
> http://www.rfc-editor.org/ — A repository of RFCs that define the technical 'rules' of modern computer usage.
> http://www.procmail.org/ — The Procmail home page.
> http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Qmail-VMailMgr- Courier-imap-HOWTO.html — If you want some help configuring a mail system based on the lesser-used applications, this HOWTO can help.
Books
>
>
>
CHAPTER 22
Setting Up a Proxy Server
There are two things in this world that you can never have enough of: time and bandwidth. Fedora comes with a proxy server — Squid — that enables you to cache web traffic on your server so that websites load faster and users consume less bandwidth.
What Is a Proxy Server?
A proxy server lies between client machines — the desktops in your company—and the Internet. As clients request websites, they do not connect directly to the web and send the HTTP request. Instead, they connect to the local proxy server. The proxy then forwards their requests on to the web, retrieves the result, and hands it back to the client. At its simplest, a proxy server really is just an extra layer between client and server, so why bother?
The three main reasons for deploying a proxy server are
> Content control — You want to stop people whiling away their work hours reading the news or downloading MP3s.
> Speed — You want to cache common sites to make the most of your bandwidth.
> Security — You want to monitor what people are doing.
Squid is capable of achieving all of these goals and more.
Installing Squid
Squid installation is handled through the Add/Remove Applications dialog under the System Settings menu. The Squid package is confusingly located under the Web Server group; this has the downside of installing Apache alongside Squid whether you like it or not. That said, you can (and should) deselect other autoinstall packages that you do not need from the Web Server category.
After Squid is installed, switch to the console and use su
to get to the root account. You should run the command chkconfig --level 345 squid on
to run Squid at runlevels 3, 4, and 5, like this:
[root@susannah ~]# chkconfig --list squid
squid 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@susannah ~]# chkconfig --level 345 squid on
[root@susannah ~]# chkconfig --list squid
squid 0:off 1:off 2:off 3:on 4:on 5:on 6:off
That runs Squid the next time the system switches to runlevel 3, 4, or 5, but it will not run it just yet.
Configuring Clients
Before you configure your new Squid server, you should set up the local web browser to use Squid for its web access. This allows you to test your rules as you are working with the configuration file.
To configure Firefox, select Preferences from the Edit menu. From the dialog that appears, click the Connection Settings button (near the bottom on the General tab) and select the option Manual Proxy Configuration. Check the box beneath it, Use the Same Proxy for All Protocols; then enter