libsrs_alt

Description | Features | Development | Installation | Documentation | Download | Links | History

Description

This is a complete standalone C implementation of the SRS (Sender Rewriting Scheme) and includes a command line utility and daemon, test utility and static and dynamic libraries. SRS is a stop-gap for users of SPF (Sender Policy Framework).

libsrs_alt has been hugely successful and has been running on hundreds of mail servers without fault. It has now been released with a couple of minor updates and some code optimizations.

Features

  - No external library requirements (from 0.4)
  - Simple library interface, quick to implement
  - Support for database callback with SRS0
  - srs command line tool and srs daemon
  - All non-critical errors reported using function return value
  - SRS Compliant (from 0.3) and optional SRS Extensions that improve compatibility
  - GNU Automake/autoconf package

Development

Please download and compile on your platform and report any errors to me. Also, any patches for support of other MTAs are very welcome.

Contact the developer here.

Installation

Download the latest release, extract the files and run the configure script, then make. Optionally test using the test program then make install to install the libraries and include files in /usr/local/...

For Exim, there's a README in the download. You'll need Exim 4.50 or later. (For older versions, see exiscan)

Documentation

  - Quick Reference: Brief, but complete, explanation of library functions
  - Exim Configuration: An introduction to SRS, how to configure Exim and examples.

Download

License: GPL. Various distros now come with libsrs_alt, search google.

Exim 4.52 contains later code than the patch provided in these downloads.

libsrs_alt-1.0.tar.bz2 (244k) ChangeLog
MD5: 6d1539eeba08dffe83f92ac38e229dda
libsrs_alt-1.0.tar.gz (340k)
MD5: 73bcc5e357f6212ac4f1d93807395b28

Links

For information on SRS see:
  - http://spf.pobox.com/srs.html

For information on Exim and Exiscan see: (Exiscan has now been merged with the Exim project)
  - Exim homepage
  - Exiscan homepage

History

The original SRS library, libsrs was written by James Couzens and appears to have been discontinued. libsrs_alt was started in May 2004 as an alternative that aimed to provide better ease of use. Shortly after that libsrs2 was started as someone felt two implementations was not enough. Note: libsrs2 is not a later version of SRS, it was just named confusingly.