View Single Post
  #1  
Old 1st April 2009, 17:04
pwaterz pwaterz is offline
Junior Member
 
Join Date: Apr 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Can't telnet

Hello everyone,

I have been following the tutorial on Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10), and I am stuck on step where you have to telnet into local host. when I try to telent localhost pop3 this is my output. Also FYI i am running Jaunti not intrepid.

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

I've done some searching and I think I know where the problem lies but don't know how to fix it. My out put of netstat -tap | grep mysql is this

tcp 0 0 localhost:mysql *:* LISTEN 11598/mysqld

which not the same out put as in the tutorial

also after scrumeging around google I ran netstat -napt
and the something about the first line doesn't make sense

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 11598/mysqld
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 2621/perl
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2594/apache2
tcp 0 0 74.63.90.38:53 0.0.0.0:* LISTEN 2094/named
tcp 0 0 74.63.90.37:53 0.0.0.0:* LISTEN 2094/named
tcp 0 0 74.63.90.36:53 0.0.0.0:* LISTEN 2094/named
tcp 0 0 74.63.90.35:53 0.0.0.0:* LISTEN 2094/named
tcp 0 0 74.63.90.34:53 0.0.0.0:* LISTEN 2094/named
tcp 0 0 67.159.45.60:53 0.0.0.0:* LISTEN 2094/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2094/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2116/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 27431/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 2094/named
tcp 0 240 67.159.45.60:22 99.141.66.13:51067 ESTABLISHED 29304/sshd: patrick
tcp 0 0 67.159.45.60:22 99.141.66.13:51062 ESTABLISHED 29202/sshd: patrick
tcp 0 0 67.159.45.60:22 99.141.66.13:50911 ESTABLISHED 26644/sshd: patrick
tcp6 0 0 :::53 :::* LISTEN 2094/named
tcp6 0 0 :::22 :::* LISTEN 2116/sshd
tcp6 0 0 ::1:953 :::* LISTEN 2094/named

also when I nmap localhost I get the following output
Starting Nmap 4.76 ( http://nmap.org ) at 2009-04-01 10:12 CDT
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
Interesting ports on localhost (127.0.0.1):
Not shown: 994 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
3306/tcp open mysql
10000/tcp open snet-sensor-mgmt

Also don't know if this is important but my mail.err log file is showing this error

Apr 1 07:34:22 lightondesigns postfix/trivial-rewrite[25734]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem




anyone have any idea on what's going?

Last edited by pwaterz; 1st April 2009 at 17:29.
Reply With Quote
Sponsored Links