Qmail Smtp problem

Taking care of your Linux box.
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Qmail Smtp problem

Postby mejam » Thu Apr 30, 2009 2:15 pm

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...?
Regards
Abdulrehman

kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Postby kbukhari » Thu Apr 30, 2009 2:45 pm

check you ip if it is blacklisted.
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com

mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Postby mejam » Thu Apr 30, 2009 2:58 pm

no its not blacklisted....i can send emails every where....i am curious abt smtp's telnet response
Regards

Abdulrehman

x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Postby x2oxen » Mon May 04, 2009 2:50 am

Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com

mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Postby mejam » Mon May 04, 2009 10:16 am

Regards

Abdulrehman

x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Postby x2oxen » Mon May 04, 2009 4:57 pm

Muhammad Usman

+92-321-6640501

Chemonics International

http://usmanpk.com


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 1 guest