PDA

View Full Version : VPOPMail - Cannot telnet to port 110 - Connection Refused !?


daveq
03-12-2004, 01:56 PM
If anyone has any ideas on how I should proceed, I'd really appreciate it!

Description of Problem

I've made it up to the end of Part 11 where you "telnet localhost 110". However, when I run this command, I receive the following error:

Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

Note: I am able to telnet to ports 25 & 143 on the localhost OK.
Note: telneting the the IP or fqdn of the server reports the same error.

Additional Errors

I checked the "/var/log/qmail/qmail-pop3d/run" script, and the following error is repeatedly listed:

tcpserver: fatal: no IP address for c100

Note: the /var/log/qmail#/qmail-send & qmail-smtpd "current" logs report no errors.

Additional Items of Info

- running "nmap localhost" does not list port 110 as being open
- running "netstat -an" does not list any other service using port 110
- the qmr_inst_check script reports no errors
- "qmailctl stat" reports that the qmail-pop3d service is running
- the qmail-pop3d/run script has my mailserver listed in the "exec tcpserver -H -R -v -c100 0 110 qmail-popup mail.******.com \" line.
- the vqadmin.cgi script is running OK on the webserver
- the qmailadmin cgi script is running OK on the webserver
- I am not running a firewall. All ports are open & allowed.
- I am running a minimal install of Debian 3.0woody1

VPOPMail 5.40 settings

vpopmail 5.4.0
Current settings
---------------------------------------

vpopmail directory = /home/vpopmail
uid = 1007
gid = 104
roaming users = ON --enable-roaming-users
tcpserver file = /etc/tcp.smtp
open_smtp file = /home/vpopmail/etc/open-smtp
rebuild tcpserver file = ON --enable-rebuild-tcpserver-file (default)
password learning = OFF --disable-learn-passwords (default)
md5 passwords = ON --enable-md5-passwords (default)
file locking = ON --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
make seekable = ON --enable-make-seekable (default)
clear passwd = ON --enable-clear-passwd (default)
user dir hashing = ON --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
ip alias = OFF --disable-ip-alias-domains (default)
domain quotas = OFF --disable-domainquotas (default)
auth module = cdb --enable-auth-module=cdb (default)
auth inc = -Icdb
auth lib =
system passwords = OFF --disable-passwd (default)
pop syslog = show failed attempts with clear text password
--enable-logging=p
auth logging = ON --enable-auth-logging (default)

Thanks

Many thanks in advance to anyone who can help me resolve this.

Bookworm
03-13-2004, 06:42 PM
What the error means is that this line

exec tcpserver -H -R -v -c100 0 110 qmail-popup mail.******.com \

Is, for some reason, not giving a proper IP address for POP3 to latch onto.

(Mine, personally, doesn't have mail.<domain>.com - just <domain>.com)

As a temporary "let's see what this does" - replace the 0 after -c100 with the actual IP address of the machine.

BW

daveq
03-14-2004, 04:59 PM
Thanks for your reply.

I tried adding my server's IP in place of the 0 however that didn't fix it.

However, I ended up reinstalling qmail from scratch last night & I've got it all working now!

Not sure what the problem was.. oh well.. cheers.