Uwe Ohse
The usendmail package

How to install usendmail

This document describes how to download, compile, test and install usendmail.

System requirements:

The usendmail package is meant to run under UNIX and -lookalikes.

Create a /package directory:

  $ mkdir /package
  $ chmod 1755 /package
  $ cd /package

You may use another directory. No program in the usendmail package cares where it is installed. /package is recommended.

The latest published usendmail package is:


You can alternatively download it through FTP:


Unpack the package:

  $ gunzip usendmail-0.1.6.tar.gz
  $ tar -xpf usendmail-0.1.6.tar
  $ rm usendmail-0.1.6.tar
  $ cd mail/usendmail-0.1.6

Compile and install the programs:

  $ package/install

Activate usendmail:

  $ rm /usr/sbin/sendmail # this is a link to /var/qmail/bin/sendmail.
  $ ln -s /package/usendmail/command/usendmail /usr/sbin

(Replace sbin with lib if needed).

Where commands and documentation are installed:

By default the binaries are installed in /package/usendmail-0.1.6/commmand. (replace /package/ by the directory where you you unpacked the usendmail distribution in). Symbolic links to the commands are created in /command/ and, for compatibility reasons, in /usr/local/bin.
Manual pages are installed in /package/usendmail-0.1.6/doc. Symbolic links to the manual pages are created under /usr/local/man.

If you don't like this then:

  $ package/compile && package/check
  $ cp command/* /whereever/you/want/bin
  $ cp doc/* /whereever/you/want/doc

Self check:

compile/install (or compile/check) try to run some automated tests. If these tests fail the software will not be install.

How to report success: (not mandatory)

  $ mail uwe-generic-counter@ohse.de <compile/systype

Please do not send this email if the self-check failed. Send an problem report to the mailing list instead.

Cleaning up:

If you are short on disk space you may remove the compile and src directories:

  $ rm -rf compile src

Mailing list:

The usendmail package is discussed in the misc@lists.ohse.de mailing list. To subscribe to it send a mail to misc-subscribe@lists.ohse.de. The content is ignored.

You do not need to subscribe to the mailing list, it is an open one. But, if you are not subscribe, make sure you mention this in the mail.

Please include the usendmail version number, the operating system and it's version and any possible relevant output of the failing program. Please include compile/systype in your posting.

If your system is a GNU/Linux one then please include name and version of your distribution and your C library version number (as printed by ldd --version).


The homepage may be more up-to-date, see
the usendmail home page.