NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
SEE ALSO
AUTHOR

## NAME

rmail - zmailer program to process incoming uucp mail

## SYNOPSIS

rmail [ -d ] [ -h somewhere ] recipient...

## DESCRIPTION

rmail is usually invoked by a remote UUCP neighbour host's mailer using a command line like:

uux - -r -asender -gC thishost!rmail (recipient1) (recipient2) ...

The end result is the remote neighbour's uuxqt(8) runs rmail on thishost with this command line:

rmail recipient1 recipient2 ...

In both cases, a UUCP format mail message is on the standard input.

The task of rmail is to transform the trace information in the UUCP format message to the equivalent RFC822 trace information, and to submit the message to the zmailer(1) router with the appropriate envelope information.

The expected input format looks like:

From address3 date3 remote from host3

| >From address2 date2 remote from host2 >From address1 date1 remote from host1 |

followed by the rest of the message. This is considered equivalent to the following (as it might appear in a mail- box):

From host3!host2!host1!address1 date
Received: by host3 ... ; date3

| Received: by host2 ... ; date2 Received: by host1 ... ; date1 |

In order for the mailer to process the incoming message properly, rmail must be run by a userid which the router(1) will accept forged mail from. This is normally the uucp account id.

## OPTIONS

-d -h somewhere |  | turns on debugging output. will use the argument as the default remote UUCP host name to use if there is no "remote from host" tag in the first From-space line in the message. The default value for this is usu- ally somewhere or uunet (since uunet was a frequent purveyor of this protocol violation).

## FILES

/etc/zmailer.conf
/var/spool/postoffice (POSTOFFICE)

## SEE ALSO

zmailer(1), router(1)

## AUTHOR

This program authored and copyright by:
Rayan Zachariassen <rayan@cs.toronto.edu>