Configurations

Securing and Optimizing Linux: RedHat Edition -A Hands on Guide
Prev | Chapter 22. Software -Server/Mail Network | Next

# 22.3. Configurations

> : All the configuration files required for each software described in this book has been provided by us as a gzipped file, `floppy.tgz` for your convenience. This can be downloaded from this web address: http://www.openna.com/books/floppy.tgz You can unpack this to any location on your local machine, say for example `/tmp`, assuming you have done this your directory structure will be `/tmp/floppy`. Within this floppy directory each configuration file has its own directory for respective software. For example Sendmail configuration file are organised like this:

>             total 32
>     -rw-r--r--    1 harrypotter    harrypotter         684 Jun  8 13:00 Linux
>     -rw-r--r--    1 harrypotter    harrypotter        3648 Jun  8 13:00 access
>     -rw-r--r--    1 harrypotter    harrypotter         547 Jun  8 13:00 aliases
>     drwxr-xr-x    2 harrypotter    harrypotter        4096 Jun  8 13:00 init.d/
>     -rw-r--r--    1 harrypotter    harrypotter         137 Jun  8 13:00 local-host-names
>     -rw-r--r--    1 harrypotter    harrypotter         109 Jun  8 13:00 null.mc
>     -rw-r--r--    1 harrypotter    harrypotter         685 Jun  8 13:00 sendmail.mc
>     drwxr-xr-x    2 harrypotter    harrypotter        4096 Jun  8 13:00 sysconfig/

> You can either cut and paste this directly if you are faithfully following our instructions from the begining or manually edit these to modify to your needs. This facility is there though as a convenience but please don't forget ultimately it will be your responsibility to check, verify, etc. before you use them whether modified or as it is.

To run a Central Mail Hub Server, the following files are required and must be created or copied to the appropriate directories on your server.

- Copy the sendmail file in the `/etc/sysconfig` directory.

- Copy the sendmail script file in the `/etc/rc.d/init.d/` directory.

- Copy the local-host-names file in the `/etc/mail` directory.

- Copy the access file in the `/etc/mail` directory.

- Copy the aliases file in the `/etc/mail` directory.

Create the `virtusertable`, `domaintable`, `mailertable` and `.db` files in `/etc/mail` directory.

To run a Local or Neighbor Client, Server, the following files are required and must be created or copied to the appropriate directories on your server.

- Copy the sendmail file in the `/etc/sysconfig` directory.

- Copy the sendmail script file in the `/etc/rc.d/init.d/` directory.

- Copy the local-host-names file in the `/etc/mail` directory.

> : You can obtain the configuration files listed below on our `floppy.tgz` archive. Copy the following files from the decompressed `floppy.tgz` archive to the appropriate places or copy and paste them directly from this book to the concerned file.

Prev | Home | Next
Compile and optimize | Up | The `/etc/sendmail.mc` file /Central Mail Hub