lord n00b
Joined: 16 Oct 2002 Posts: 73 Location: Linköping, Sweden
|
Posted: Tue Apr 29, 2003 2:26 pm Post subject: rblsmtpd denies everything |
|
|
I've been googling the web for several hours now and I havnt found a single question that is similar to mine.
First of all... here are my files
qmail-smtpd:
Code: | #!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
RBLSITES="-b -r relays.ordb.org"
exec /usr/bin/softlimit -m 15000000 \
/usr/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp rblsmtpd $RBLSITES /var/qmail/bin/qmail-smtpd 2>&1 |
tcp.smtp (and yes, I do run tcprules after modifications):
Code: | # No Qmail-Scanner for mail from 127.0.0.1
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
|
My problem is that as soon as I add a RBLSMTPD="-Spammers go away..." all mails are rejected by qmail (same thing if i leave oute the -). According to qmails docs, and everyone else if RBLSMTPD is not defined, rblsmtpd will check the rbl sites and work as usual. If its defined and empty, rbl-checking is disabled and if its defined and non-empty it will work check rbl sites and if it wants to block it will use this variable as the error msg.
So my question is basically this. How come that setting a customized error message makes qmail-smtpd go wacko?..
Also. If I do not define RBLSMTPD in tcp.smtpd, I never see anything with "rblsmtpd:" in my qmail-smtpd logs, but if its defined I see it working.. and ofcourse rejecting everything.
What am I doing wrong? =( _________________ Between sanity and insanity lays a thin line |
|