telnet localhost 25 freezes

Marius Gedminas marius at pov.lt
Thu Nov 15 11:13:26 UTC 2012


On Thu, Nov 15, 2012 at 09:48:37AM +0000, thufir wrote:
> thufir at dur:~$ sudo service postfix start
>  * Starting Postfix Mail Transport Agent 
> postfix                                             [ OK ] 
> thufir at dur:~$ 
> thufir at dur:~$ 
> thufir at dur:~$ netstat -nr

You want netstat -tnl|grep :25

> thufir at dur:~$ telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 
> 
> 
> and then I can't do anything.

Strange/interesting.

> Even the escape characters, carrot and 
> square-close-bracket don't exit that window.  

The escape character is Ctrl-].  To quit telnet press
Ctrl-], followed by q, followed by Enter.

> There's no mention of postfix when telnet to port 25, so...
> 
> Is this a problem with postfix?  I purged and then re-installed, so I 
> don't see how.  Would some more netstat commands shed light on this?

Check firewall settings?

$ sudo iptables -L

Check postfix settings?  Pastebin /etc/postfix/main.cf and
/etc/postfix/master.cf, post links here, maybe we'll see something
obvious?

Marius Gedminas
-- 
Hi. I'm the "I love you" .signature virus. You have been infected.
Please panic immediately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20121115/1fbd134c/attachment.sig>


More information about the ubuntu-users mailing list