RMAIL PROGRAM FOR USE IN CONJUNCTION WITH QMAIL
This is a simple 'C' program to allow mail delivered to a machine running
the 'qmail' mail system to be processed and re-delivered to its intended final
recipient (be that a user on the receiving machine or elsewhere out on the
internet !).
The program functions by accepting, from the 'uuxqt' program (invoked when
incoming emails (or other commands to be processed) are received via uucp,
a destination user-address and the email to be sent. Standard rmail convention
dictates that rmail receives the user-address as a command-argument/parameter
and the message contents over 'standard input'. Accordingly the rmail program
can be tested from the command-line thus:
rmail 'destn-user@destn-domain' << eof
From source-domain!source-user
From: source-user@source-domain
To: destn-user@destn-domain
Subject: test
test line 1
test line 2
eof
Some mail systems use the old uucp-style addressing (domain!user) and others
the internet-style (uer@domain). Both are supported, as shown in the above
example.
The provided tar archive contains the following:
README - instructions
linux/linux/errno.h
linux/asm/errno.h - optional linux include files for intel machines
make - compilation script
pipetest.c - test program
rmail.c - the rmail source-file
Full details of compilation and usage are contained in the README file.
The gzipped tar archive 'rmail-1.1.tar.gz' is approximately 16kbytes in size.
To download click here