RPM Installation
- Download the RPM. The current original distribution site is https://atghost.sra.com/~garfield/evrelay/. Current versions include builds for four different target architectures, and using either IPV6 or IPV4. (Use IPV6 if your system supports it.)
- Install the RPM as root using:
# rpm -Uvh evrelay-1.00-1<variant>Alternatively, a number of GUI tools exist to install RPMs.- Proceed to configuration.
Source Installation
Download the source. Unpack the source using command: $ tar xvf evrelay-1.00.tar.gzChange directory into the unpacked source: $ cd evrelay-1.00Configure the compilation using: $ ./configure optionsAvailable options may be listed using "--help". Most options are fairly standard, and are described in file INSTALL. The only non-standard option likely to be use is "--disable-ipv6", which select IPv4 instead of IPv6.When the RPM is built, the configuration line is one of:
$ ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --enable-ipv6 $ ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --disable-ipv6Build and install using: $ make $ make installYou may need to be root to run the last command.Proceed to configuration.
Configuration involves editing a number of text files. For RPM installs, these files are in /etc/evrelay/. In the default configuration without parameters, these files would be in /usr/local/etc/evrelay/.
Documentation for the text files is in man page evrelay(1). Most files are something.config, and use only the first line. The critical entries to change are:
The format of the files is a series of lines reading either "username:password:flags" or "username:password". Comments starting with "#" are also recognized. The username and password are specified as plaintext. These may be interpreted as any character set preferred, provided newline, return, space, number sign, and colon are the same as in ASCII. (i.e. ISO-8859-1, UTF-8, and VISCII are fine, while UTF-16 is not.) If the flags are not specified, the value from standard_flags.config is used instead. If the flags are specified but blank, they are used as specified. Flags have the same meaning as in standard_flags.config.
Note: Reloading the user file does not affect any user that has already established a session. As such, you can't retroactively ask that a user be logged or wiretapped.
If the RPM build was used, or the "--sysconfdir=/etc" was specified on the configure line, then the file /etc/rc.d/init.d/evrelay should exist. If you are running a RedHat variant, this can be made a normal service and started by running the commands (as root):
# chkconfig evrelay on # service evrelay start
Otherwise, the server may need to be run by hand or by your own scripts. To run, cd into the configuration directory and run the installed program 'evrelay'.
David Garfield