Tony Schwartz (t...@transport.com) wrote:
: I am trying to get UUCP working on our system. We receive SMTP mail on our
: Linux system just fine but now need to catch some of our clients email so that
: they can pick it up via UUCP mail. I am having massive problems trying to do
: this.
:
: If anyone is doing such a thing in Sendmail, PLEASE pass on any suggestions,
: configurations, or ideas.
:
: Thanks
:
: Tony Schwartz
: ==============================================================
: Tony Schwartz, President (503) 243-1940
: Transport Logic http://transport.com/transport.html
: $25/month 120 hours SLIP/PPP Autosignup/Download 243-2792
: Portland * Vancouver * McMinnville * Salem * Bend
: ==============================================================
Maybe the following can help:
---- Cut Here and feed the following to sh ----
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 1995-09-23 07:45 EDT by <root@btoy1>.
# Source directory was `/'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode name
# ------ ---------- ------------------------------------------
# 292 -rw-r--r-- etc/sendmail.cw
# 985 -rw-r--r-- etc/sendmail.oE
# 2159 -rw-r--r-- usr/src/sendmail/cf/btoy1.mc
# 430 -rw-r--r-- usr/src/sendmail/cf/Makefile.btoy1
#
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
shar_touch=touch
else
shar_touch=:
echo
echo 'WARNING: not restoring timestamps. Consider getting and'
echo "installing GNU \`touch', distributed in GNU File Utilities..."
echo
fi
rm -f 1231235999 $$.touch
#
# ============= etc/sendmail.cw ==============
if test ! -d 'etc'; then
echo 'x - creating directory etc'
mkdir 'etc'
fi
if test -f 'etc/sendmail.cw' && test X"$1" != X"-c"; then
echo 'x - skipping etc/sendmail.cw (file already exists)'
else
echo 'x - extracting etc/sendmail.cw (text)'
sed 's/^X//' << 'SHAR_EOF' > 'etc/sendmail.cw' &&
# -------------------------------------------------------------------
# /etc/sendmail.cw - Names of hosts that we accept mail for
# -------------------------------------------------------------------
#
localhost
#
btoy1
btoy1-gw.roc
btoy1-gw.roc.servtech.com
btoy1.rochester.ny.us
btoy1.uucp
SHAR_EOF
$shar_touch -am 0202084695 'etc/sendmail.cw' &&
chmod 0644 'etc/sendmail.cw' ||
echo 'restore of etc/sendmail.cw failed'
shar_count="`wc -c < 'etc/sendmail.cw'`"
test 292 -eq "$shar_count" ||
echo "etc/sendmail.cw: original size 292, current size $shar_count"
fi
# ============= etc/sendmail.oE ==============
if test -f 'etc/sendmail.oE' && test X"$1" != X"-c"; then
echo 'x - skipping etc/sendmail.oE (file already exists)'
else
echo 'x - extracting etc/sendmail.oE (text)'
sed 's/^X//' << 'SHAR_EOF' > 'etc/sendmail.oE' &&
X
If the remainder of this message indicates that the mail has been
successfully delivered just skip this info - else these might be
possible causes for any problem that you might have encountered:
X
Error Cause
------------- -----------------------------------------------------
User unknown: The username or mail alias you specified is wrong.
X Look for misspellings.
Host unknown: You mistyped the host portion of the address. Look for
X O's (oh's) where 0's (zero's) should be, or transposed
X characters.
Transient Failure: A failure in tranmission has occurred. Read the
X remainder of the error below to see if this is just a
X warning that a remote host is temporarily unreachable.
X Usually you do *not* need to resend your message.
X
For more information about this error message, send an email to
"r...@btoy1.rochester.ny.us"
X
SHAR_EOF
$shar_touch -am 0304230895 'etc/sendmail.oE' &&
chmod 0644 'etc/sendmail.oE' ||
echo 'restore of etc/sendmail.oE failed'
shar_count="`wc -c < 'etc/sendmail.oE'`"
test 985 -eq "$shar_count" ||
echo "etc/sendmail.oE: original size 985, current size $shar_count"
fi
# ============= usr/src/sendmail/cf/btoy1.mc ==============
if test ! -d 'usr'; then
echo 'x - creating directory usr'
mkdir 'usr'
fi
if test ! -d 'usr/src'; then
echo 'x - creating directory usr/src'
mkdir 'usr/src'
fi
if test ! -d 'usr/src/sendmail'; then
echo 'x - creating directory usr/src/sendmail'
mkdir 'usr/src/sendmail'
fi
if test ! -d 'usr/src/sendmail/cf'; then
echo 'x - creating directory usr/src/sendmail/cf'
mkdir 'usr/src/sendmail/cf'
fi
if test -f 'usr/src/sendmail/cf/btoy1.mc' && test X"$1" != X"-c"; then
echo 'x - skipping usr/src/sendmail/cf/btoy1.mc (file already exists)'
else
echo 'x - extracting usr/src/sendmail/cf/btoy1.mc (text)'
sed 's/^X//' << 'SHAR_EOF' > 'usr/src/sendmail/cf/btoy1.mc' &&
#####################################################################
# /usr/src/sendmail/cf/btoy1.mc - Configuration for sendmail (8.7)
#####################################################################
include(`../m4/cf.m4')
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Globals
# Last changed: Fri Sep 22 22:37:44 EDT 1995
VERSIONID(`btoy1 setup - linux for smtp and uucp')dnl
OSTYPE(linux)dnl
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Features
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(local_procmail)dnl
FEATURE(allmasquerade)dnl
FEATURE(masquerade_envelope)dnl
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Mailers we use
MAILER(smtp)dnl
MAILER(uucp)dnl
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Some filenames
define(`confERROR_MESSAGE', `/etc/sendmail.oE')dnl
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# UUCP definitions
SITECONFIG(uucp.btoy1, btoy1, U)
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Timeouts
define(`confDIAL_DELAY', 40s)dnl
define(`confTO_INITIAL', 5m)dnl
define(`confTO_HELO', 5m)dnl
define(`confTO_MAIL', 10m)dnl
define(`confTO_RCPT', 1h)dnl
define(`confTO_DATAINIT', 5m)dnl
define(`confTO_DATABLOCK', 1h)dnl
define(`confTO_DATAFINAL', 1h)dnl
define(`confTO_RSET', 5m)dnl
define(`confTO_QUIT', 2m)dnl
define(`confTO_MISC', 2m)dnl
define(`confTO_COMMAND', 1h)dnl
define(`confTO_IDENT', 2m)dnl
define(`confTO_FILEOPEN', 60s)dnl
define(`confTO_QUEUERETURN', 5d)dnl
define(`confTO_QUEUERETURN_NORMAL', 5d)dnl
define(`confTO_QUEUERETURN_URGENT', 2d)dnl
define(`confTO_QUEUERETURN_NONURGENT', 7d)dnl
define(`confTO_QUEUEWARN', 4h)dnl
define(`confTO_QUEUEWARN_NORMAL', 4h)dnl
define(`confTO_QUEUEWARN_URGENT', 1h)dnl
define(`confTO_QUEUEWARN_NONURGENT', 12h)dnl
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Miscellaneous
define(`MASQUERADE_NAME', btoy1.rochester.NY.US)dnl
define(`confME_TOO', `True')dnl
define(`confDEF_CHAR_SET', iso-8859-1)dnl
define(`confTRUSTED_USERS', ftpmail)dnl
SHAR_EOF
$shar_touch -am 0923074395 'usr/src/sendmail/cf/btoy1.mc' &&
chmod 0644 'usr/src/sendmail/cf/btoy1.mc' ||
echo 'restore of usr/src/sendmail/cf/btoy1.mc failed'
shar_count="`wc -c < 'usr/src/sendmail/cf/btoy1.mc'`"
test 2159 -eq "$shar_count" ||
echo "usr/src/sendmail/cf/btoy1.mc: original size 2159, current size $shar_count"
fi
# ============= usr/src/sendmail/cf/Makefile.btoy1 ==============
if test -f 'usr/src/sendmail/cf/Makefile.btoy1' && test X"$1" != X"-c"; then
echo 'x - skipping usr/src/sendmail/cf/Makefile.btoy1 (file already exists)'
else
echo 'x - extracting usr/src/sendmail/cf/Makefile.btoy1 (text)'
sed 's/^X//' << 'SHAR_EOF' > 'usr/src/sendmail/cf/Makefile.btoy1' &&
#
# Makefile to build a new /etc/sendmail.cf for btoy1
#
X
INPDIR=/usr/src/sendmail/cf
INPNAME=btoy1.mc
OUTDIR=/usr/src/sendmail
OUTNAME=btoy1.cf
INSDIR=/etc
INSNAME=sendmail.cf
X
# Make a new btoy1.cf file
all: $(INPDIR)/$(INPNAME)
X m4 $(INPDIR)/$(INPNAME) > $(OUTDIR)/$(OUTNAME)
X
# Test that new file
test: all
X sendmail -bt -C$(OUTDIR)/$(OUTNAME)
X
install: all
X install $(OUTDIR)/$(OUTNAME) $(INSDIR)/$(INSNAME)
X
clean:
X rm *~
SHAR_EOF
$shar_touch -am 0219143895 'usr/src/sendmail/cf/Makefile.btoy1' &&
chmod 0644 'usr/src/sendmail/cf/Makefile.btoy1' ||
echo 'restore of usr/src/sendmail/cf/Makefile.btoy1 failed'
shar_count="`wc -c < 'usr/src/sendmail/cf/Makefile.btoy1'`"
test 430 -eq "$shar_count" ||
echo "usr/src/sendmail/cf/Makefile.btoy1: original size 430, current size $shar_count"
fi
exit 0
--
-------- Thomas Bullinger ------- Specializing in Linux systems --------
* Installation * Setup * Maintenance * Training * Software * Information
* Email: cons...@btoy1.rochester.ny.us FAX: +1-716-377-6732
* WWW: http://btoy1-gw.roc.servtech.com/~consult