[Dovecot] Problem setting up dovecot on Debian: "telnet: Unable to connect to remote host: Connection refused"
Reindl Harald
h.reindl at thelounge.net
Sat Jan 5 18:01:09 EET 2013
Am 05.01.2013 16:48, schrieb Chris Evans:
> root at delldeb:/etc/dovecot# ps aux | grep dove
> root 10353 0.0 0.0 3944 792 ? Ss 15:32 0:00 /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf
> root 10356 0.0 0.0 10008 2420 ? S 15:32 0:00 dovecot-auth
> root 10360 0.0 0.0 10008 2372 ? S 15:32 0:00 dovecot-auth -w
> dovecot 10361 0.0 0.0 5412 2024 ? S 15:32 0:00 imap-login
> dovecot 10362 0.0 0.0 5412 2024 ? S 15:32 0:00 imap-login
> dovecot 10363 0.0 0.0 5412 2028 ? S 15:32 0:00 imap-login
> root 10393 0.0 0.0 3304 772 pts/2 S+ 15:33 0:00 grep dove
>
> Here's netstat:
> root at delldeb:/etc/dovecot# netstat -tap | grep 143
> tcp 0 0 0.0.0.143:imap2 *:* LISTEN 9178/dovecot
> tcp 0 0 0.0.0.143:imaps *:* LISTEN 9178/dovecot
>
> I can telnet into SMTP OK with telnet localhost 25 but telnet localhost 143 gets me the "Connection refused"
as you can see you daemon ist listening on IP 0.0.0.143 instead 0.0.0.0
1.2.x is really really old
but i think you missunderstood a listen-option
listen: 143 993
seems to be translated to 0.0.0.143, means you specified
the ADDRESS the daemon should listen to instead the port
root at delldeb:/etc/dovecot# dovecot -n
# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-686 i686 Debian 6.0.6
log_timestamp: %Y-%m-%d %H:%M:%S
listen: 143 993
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130105/540d2e7a/attachment.bin>
More information about the dovecot
mailing list