Hy all
My qmail was working fine from a long time ....today i am having a problem with it...when i telnetl my server at port 25..it says
220 rblsmtpd.local
instead of
220 mydomain.com ESMTP
After searching on google i have come know that this issue is related to RBL....My implementation of rbl in /var/qmail/supervise/qmail-smtpd/run file is
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi
exec /usr/local/bin/softlimit -m 30000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -t 5 \
-b -r b.barracudacentral.org \
-b -r zen.spamhaus.org \
/var/qmail/bin/qmail-smtpd mail.mydomain.com \
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1
And when i remove this RBL line from the above file...every thing works fine...any help...?
Qmail Smtp problem
Qmail Smtp problem
Regards
Abdulrehman
Abdulrehman
Dear OX this is what i get when i ehlo my mail server
===============================================
Qamail-Server:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.mydomain ESMTP
ehlo localhost
250-mail.mydomain.com
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-STARTTLS
250-PIPELINING
250 8BITMIME
starttls
220 ready for tls
quit
quit
Connection closed by foreign host.
=============================================
And this is what i get when i telnet my mail server from my machine
=============================================
telnet mail.mydomain.com 25
220 rblsmtpd.local
=============================================
===============================================
Qamail-Server:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.mydomain ESMTP
ehlo localhost
250-mail.mydomain.com
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-STARTTLS
250-PIPELINING
250 8BITMIME
starttls
220 ready for tls
quit
quit
Connection closed by foreign host.
=============================================
And this is what i get when i telnet my mail server from my machine
=============================================
telnet mail.mydomain.com 25
220 rblsmtpd.local
=============================================
Regards
Abdulrehman
Abdulrehman