I've managed compile and setup Qmail along with courier thanks to the
fabulous docs and howto's on it.. but I'm running into a fairly serious
problem here..
some background
I run a Debian box behind a DSL router on a NAT setup which works as a local
mail server for my office.. some are allowed acsess to send outer office
email and some are restricted to inner office only
the problem
it's seems no matter what I put in /etc/tcp.smtp anyone can relay mail off
my server it will not deny anyone I've taken everything out besides the
localhost address and recompiled with tcprules
127.0.0.1:allow,RELAYCLIENT=""
:allow
compile it.. restart qmail.. and it's still an open relay.. people from any
network can bounce email off me.. the only way I can stop it is to add my
domain to /var/qmail/rcpthosts which will then bounce any email not sent to
my domain.
I also start qmail with this line
/usr/bin/tcpserver -- \
-u `id -u qmaild` -R -g `id -g nobody` -x /etc/tcp.smtp.cdb 0
smtp \
/usr/sbin/qmail-smtpd 2>&1 | $logger -t qmail -p mail.notice &"
the only thing I added here was the -R to shut off ident service (thanks to
the million people on this mailing list to answer that for me :)
thanks to anyone with some insite on this..
John Kuhn