Well, here we are again wit open relaying problems...
Yes, I know this is qmail-ldap list, but I've got no ideas left but to
ask you people here for a help.

I was tested bu njabl.org and found out to be an open relay.

As far as I can figure it out, they connected to my mail server, let's call it
mail.my.domain, as a user [EMAIL PROTECTED] and sent a message
back to them, to [EMAIL PROTECTED], which went through:

Received: from unknown (HELO rt.njabl.org) ([209.208.0.15])
          (envelope-sender <[EMAIL PROTECTED]>)
          by mail.my.domain (qmail-ldap-1.03) with SMTP
          for <[EMAIL PROTECTED]>
X-RT-Subject: relaytest: <my.ip>
X-RT-From: [EMAIL PROTECTED]
X-RT-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]


In my control/rcpthosts I have:

my.domain
mail.my.domain

I call qmail-smtpd with a supervise's run script like this:

exec /usr/local/bin/softlimit -m 32000000 -a 32000000 \
/usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILUID -g $NOFILESGID 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1

And in /etc/tcp.smtp I have:

127.:allow, RELAYCLIENT=""
my.domain.ip:allow,RELAYCLIENT=""

So far, I have not seen any difference from any manual that talks
about preventing spam with qmail, but, they still got me.

Could those RELAYCLIENT things be badly set? Or is it something else?
Can it be the version of qmail-ldap patch?
Telnetting to rt.njabl.org:2500 for a real time test does not work,
I've tried it for days, I can't even connect, so I don't know what
exactly is the message they used to test me.

I'm really stuck here, so any help will be valuable and appreciated.

Andrea

Reply via email to