@attmail.uucp to be sent across a local UUCP link to the
site attmail. SMTP should also be configured to append
@attmail.uucp to any mail coming from the UUCP link.
Taylor UUCP 1.05,
although all UUCP software should work. AT&T mail accepts
"smart" (multi-recipient) UUCP, but always sends items using
original UUCP. This means that items for multiple receipients are:
Unix style account. This account type allows mail to
be queued for UUCP collection and allows external mail to be injected
via UUCP. The Telstra AT&T mail account name is telstra with
AT&T Sydney.
The directory structure can be moved to any filesystem with suitable
disk space, but is commonly installed under
/var/spool/attmail. The
executables are run from sendmail and the
UUCP programs rmail and uux,
and so are run in a set-uid environment. The executables are written
in PERL, and set-uid wrappers are used to avoid kernel set-uid
problems, which means that the pathnames to the executables must be
fixed at install time.
The following sub-directories are used:
| Directory | Usage |
| bin | Executable scripts, called from rmail and uux |
| rmail/input | Input file seen by rmail in AT&T format |
| rmail/output | Output file from conversion to SMTP format |
| uux/input | Input file seen by uux in SMTP format |
| uux/output | Output file from conversion to AT&T mail format |
| log/smtp2att.log | Log file of conversion from SMTP to AT&T mail |
| log/att2smtp.log | Log file of conversion from AT&T mail to SMTP |
In addition, the following system files need to be modified:
| System File | Modifications required |
| /usr/bin/uux | Renamed to uux.bin and replaced with a shell wrapper |
| /usr/bin/rmail | Renamed to rmail.bin and replaced with a shell wrapper |
| /etc/sendmail.cf | Modified to support UUCP link to AT&T mail |
The uux and rmail executables must be replaced with wrapper programs to enable the conversion programs to be called. The AT&T mail binary format cannot be passed to sendmail, and so the replacement of rmail is required. The conversion to AT&T mail could be performed as a new mailer under sendmail, but is performed through a wrapper around uux to minimise the sendmail changes required and to provide a consistent view of both conversions.
The conversion programs make no attempt to deliver mail, they are purely placed in the sequence of commands executed between the UUCP link and the mail delivery system.
The gateway expects mail for AT&T mail to be addressed to the
attmail.uucp
domain, and modifies incoming mail to add this domain for
replies. The SMTP network should be configured to deliver mail for the
attmail.uucp domain to the gateway.
rotate_log program is used to perform the log rotation, and
is installed as part of the package in
/var/spool/attmail/bin/rotate_log.
uux script:
/var/spool/attmail/uux/input
smtp2att conversion routine. If this is
successful, a file of the same name is created in
/var/spool/attmail/uux/output
uux.bin script,
passing the converted file as input.
smtp2att.log
and uux.bin is not called.
rmail for
delivery. The rmail executable is renamed to rmail.bin and replaced
with a wrapper which:
/var/spool/attmail/rmail/input
att2smtp conversion routine. If this is
successful, a file of the same name is created in
/var/spool/attmail/rmail/output
rmail.bin script,
passing the converted file as input.
att2smtp.log
and rmail.bin is not called.