Postfix and UUCP

Despite a serious lack of sex-appeal, email via UUCP over TCP
is a practical option for sites without permanent Internet connections,
and for sites without a fixed IP address. For first-hand information,
see the following guides:

Here is how to set up a machine that sits on the Internet and
that forwards mail to a LAN that is connected via UUCP. See
the LAN to UUCP gateway section for
the other side of the story.

You need an rmail program that extracts the sender
address from mail that arrives via UUCP, and that feeds the mail
into the Postfix sendmail command. Most UNIX systems come
with an rmail utility. If you're in a pinch, try the one
bundled with the Postfix source code in the auxiliary/rmail
directory.

This runs the uux command to place outgoing mail into
the UUCP queue after replacing $nexthop by the next-hop hostname
(the receiving UUCP host) and after replacing $recipient by the
recipients. The pipe(8) delivery agent executes the uux
command without assistance from the shell, so there are no problems
with shell meta characters in command-line parameters.

Specify that mail for example.com, should be
delivered via UUCP, to a host named uucp-host:

Here is how to relay mail from a LAN via UUCP to the
Internet. See the Internet to UUCP
gateway section for the other side of the story.

You need an rmail program that extracts the sender
address from mail that arrives via UUCP, and that feeds the mail
into the Postfix sendmail command. Most UNIX systems come
with an rmail utility. If you're in a pinch, try the one
bundled with the Postfix source code in the auxiliary/rmail
directory.

Specify that all remote mail must be sent via the uucp
mail transport to your UUCP gateway host, say, uucp-gateway:

This runs the uux command to place outgoing mail into
the UUCP queue. It substitutes the next-hop hostname (uucp-gateway,
or whatever you specified) and the recipients before executing the
command. The uux command is executed without assistance
from the shell, so there are no problems with shell meta characters.