Okay --
I added the -x switch to the tcpserver line in rc.local and reinstated my
rcpthosts.
Everything *seemed* to work -- I was able to send to any outside addresses from
hosts inside the ip networks allowed in my tcprules file...
great - until I found out that no mail was getting through to *me*.
I've attached rc.local, tcprules.smtp and rcpthosts.
I'm sure the answer is simple, but I'm new to qmail... any help is always
appreciated.
thanks,
Stephen Bosch
#!/bin/sh
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
# Removing it, need to hack the console-tools to have it
#. /etc/sysconfig/pcmcia
#
#if [ "$PCMCIA" != "yes" ] ; then
# initty=/dev/tty[1-8]
# for tty in $initty; do
# setleds +num < $tty
# done
#fi
if [ -f /etc/mandrake-release ];then
R=$(cat /etc/mandrake-release)
arch=$(uname -m)
a="a"
case "_$arch" in
_a*) a="an";;
_i*) a="an";;
esac
NUMPROC=$[`cat /proc/cpuinfo | grep ^processor | wc -l`]
if [ $NUMPROC -gt 1 ]; then
SMP="$NUMPROC-processor "
if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then
a="an"
else
a="a"
fi
fi
# This will overwrite /etc/issue at every boot. So, make any changes you
# want to make to /etc/issue here or you will lose them when you reboot.
if [ -x /usr/bin/linux_logo ];then
/usr/bin/linux_logo -c -n -f > /etc/issue
echo "" >> /etc/issue
else
echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue
fi
echo "$R" >> /etc/issue
echo "$R" > /etc/issue.net
echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue.net
fi
/usr/local/bin/tcpserver -u 503 -g 502 -c 50 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
/var/qmail/bin/splogger smptd 3 &
vodacomm.ca
vodacomm.com
nucleus.com
localhost.nucleus.com
dsl-ch-l15-c80-n249-i138-cgy.nucleus.com
24.:allow,RELAYCLIENT=""
209.:allow,RELAYCLIENT=""
192.:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
:deny