Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rblsmtpd denies everything
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lord
n00b
n00b


Joined: 16 Oct 2002
Posts: 73
Location: Linköping, Sweden

PostPosted: Tue Apr 29, 2003 2:26 pm    Post subject: rblsmtpd denies everything Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum