can't telnet port 25

This is a discussion on can't telnet port 25 within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi All I have installed qmail on solaris 8 and it seems starts fine. but when i try to telnet ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2003
hermawan
 
Posts: n/a
Default can't telnet port 25

Hi All

I have installed qmail on solaris 8 and it seems starts fine.
but when i try to telnet localhost 25 i got error like this

bash-2.03# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

this is the process
bash-2.03# ps -ef |grep qmail
root 375 372 0 12:11:33 ? 0:00 supervise qmail-send
root 379 372 0 12:11:33 ? 0:00 supervise qmail-smtpd
qmails 3198 375 0 13:05:14 ? 0:00 qmail-send
qmailq 3202 3198 0 13:05:14 ? 0:00 qmail-clean
qmaild 3195 379 0 13:05:14 ? 0:00
/usr/local/bin/tcpserver -v -R -l kampretdev.net -x /etc/tcp.smtp.cdb -c
20 -u 8002
qmaill 3193 377 0 13:05:13 ? 0:00 /usr/local/bin/multilog t
/var/log/qmail
root 3199 3198 0 13:05:14 ? 0:00 qmail-lspawn ./Maildir/
qmaill 3194 381 0 13:05:14 ? 0:00 /usr/local/bin/multilog t
/var/log/qmail/smtpd
qmailr 3200 3198 0 13:05:14 ? 0:00 qmail-rspawn


no firewall is blocking port 25, because i can telnet to another port like
ssh (port 22).

this is my configuration.

/var/qmail/supervise/qmail-smtpd/run:
****************************
#!/bin/sh
QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
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 2000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1


any suggestion ??


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:34 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0