you could put the emails into /var/qmail/control/badmailfrom
from the persons that are spamming you - or:
you might consider using rblsmtpd with qmail -
your qmail run file should look like this:
--------
#!/bin/sh
RBLSMTPD="-r bl.spamcop.net -r relays.ordb.org"
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd -r bl.spamcop.net -r
relays.ordb.org \
/var/qmail/bin/qmail-smtpd 2>&1
--------
this way (some) open relays and mailservers known for spam will be blocked. I
have used this setup for some time now, and I would say it blocks about 90% of
the spam I used to recieve.
the above approach requires the latest version of tcpserver installed - take a
look at http://cr.yp.to/ucspi-tcp/rblsmtpd.html and
http://cr.yp.to/ucspi-tcp/tcpserver.html
for further instructions.
Regards,
Sune Rievers
On Fri, 15 Nov 2002 19:42:53 +0100
"Jesper Have" <[EMAIL PROTECTED]> wrote:
> Hi
>
> Are there sombody there cant help me, are this a ide to make a thing to
> qmailadmin so postmaster cant make a list whit banned (spam) servers in
> qmailadmin.
>
> This is only a ide
>
> Sorry my bad English
>
> Regards
> Jesper Have
>
--
Sune Rievers <[EMAIL PROTECTED]>