HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Users And Domains With Postfix, Courier And Mysql....help needed (http://www.howtoforge.com/forums/showthread.php?t=2291)

MrMattles 29th January 2006 16:17

Virtual Users And Domains With Postfix, Courier And Mysql....help needed
 
I have got as far as the end of page 2....and i get the following error when i go to "see if my pop3 server is running properly"

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

any suggestions would be helpful....

till 29th January 2006 16:26

please post the output of the command:

Code:

netstat -tap

gimhan90 30th January 2006 05:43

Quote:

Originally Posted by till
please post the output of the command:

Code:

netstat -tap


Does this tutorial apply for "The Perfect Setup - SUSE 9.3"? OR
Is it designed for the " Debian Sarge (Debian 3.1)."?



( This tutorial is based on Debian Sarge (Debian 3.1). You should already have set up a basic Debian system, as described here: http://www.howtoforge.com/perfect_setup_debian_sarge and )

MrMattles 30th January 2006 06:43

Output of netstat -anp
 
Quote:

Originally Posted by till
please post the output of the command:

Code:

netstat -tap

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 6428/master
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 15208/mysqld-max
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 14460/portmap
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 15510/perl5.8.6
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 15400/proftpd: (acc
tcp 0 0 202.173.150.20:53 0.0.0.0:* LISTEN 15086/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 15086/named
tcp 0 0 202.173.150.20:22 0.0.0.0:* LISTEN 15481/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 6428/master
tcp 0 1040 202.173.150.20:22 202.173.150.18:61736 ESTABLISHED 26488/sshd: mattisg
tcp 0 0 :::80 :::* LISTEN 15042/httpd
udp 0 0 0.0.0.0:1024 0.0.0.0:* 15086/named
udp 0 0 0.0.0.0:10000 0.0.0.0:* 15510/perl5.8.6
udp 0 0 202.173.150.20:53 0.0.0.0:* 15086/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 15086/named
udp 0 0 0.0.0.0:111 0.0.0.0:* 14460/portmap
udp 0 0 :::1025 :::* 15086/named
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 2066690 6428/master public/flush
unix 2 [ ACC ] STREAM LISTENING 2066694 6428/master private/proxymap
unix 2 [ ACC ] STREAM LISTENING 2066698 6428/master private/smtp
unix 2 [ ACC ] STREAM LISTENING 2066702 6428/master private/relay
unix 2 [ ACC ] STREAM LISTENING 2066706 6428/master public/showq
unix 2 [ ACC ] STREAM LISTENING 2066710 6428/master private/error
unix 2 [ ACC ] STREAM LISTENING 2066714 6428/master private/local
unix 2 [ ACC ] STREAM LISTENING 2066718 6428/master private/virtual
unix 2 [ ACC ] STREAM LISTENING 2066722 6428/master private/lmtp
unix 2 [ ACC ] STREAM LISTENING 2066726 6428/master private/anvil
unix 2 [ ACC ] STREAM LISTENING 2066730 6428/master private/maildrop
unix 2 [ ACC ] STREAM LISTENING 2066734 6428/master private/cyrus-deliver
unix 2 [ ACC ] STREAM LISTENING 2066738 6428/master private/cyrus
unix 2 [ ACC ] STREAM LISTENING 2066742 6428/master private/cyrus-chroot
unix 2 [ ACC ] STREAM LISTENING 2066746 6428/master private/cyrus-inet
unix 2 [ ACC ] STREAM LISTENING 2066750 6428/master private/uucp
unix 2 [ ACC ] STREAM LISTENING 2066758 6428/master private/lmtp-filter
unix 2 [ ACC ] STREAM LISTENING 2066762 6428/master private/smtp-filter
unix 2 [ ACC ] STREAM LISTENING 2064417 6002/saslauthd /var/lib/sasl2/mux
unix 2 [ ACC ] STREAM LISTENING 43709 15208/mysqld-max /var/run/mysqld/mysqld.sock
unix 15 [ ] DGRAM 42308 14484/syslogd /dev/log
unix 2 [ ACC ] STREAM LISTENING 2061459 5616/authdaemond /var/lib/authdaemon/socket.tmp
unix 2 [ ACC ] STREAM LISTENING 2066660 6428/master public/cleanup
unix 2 [ ] DGRAM 42310 14484/syslogd /var/spool/postfix/dev/log
unix 2 [ ACC ] STREAM LISTENING 2066670 6428/master private/rewrite
unix 2 [ ACC ] STREAM LISTENING 2066674 6428/master private/bounce
unix 2 [ ACC ] STREAM LISTENING 2066678 6428/master private/defer
unix 2 [ ACC ] STREAM LISTENING 2066682 6428/master private/trace
unix 2 [ ACC ] STREAM LISTENING 2066686 6428/master private/verify
unix 2 [ ] DGRAM 2885 800/udevd @udevd
unix 2 [ ACC ] STREAM LISTENING 42921 14793/xfs /tmp/.font-unix/fs-1
unix 4 [ ] STREAM CONNECTING 0 - private/proxymap
unix 4 [ ] STREAM CONNECTED 2122778 6436/cleanup
unix 4 [ ] STREAM CONNECTING 0 - private/proxymap
unix 4 [ ] STREAM CONNECTED 2122777 6438/trivial-rewrit
unix 3 [ ] STREAM CONNECTED 2122720 26488/sshd: mattisg
unix 3 [ ] STREAM CONNECTED 2122719 26490/0
unix 4 [ ] STREAM CONNECTING 0 - private/rewrite
unix 4 [ ] STREAM CONNECTED 2122159 26289/qmgr
unix 2 [ ] DGRAM 2122150 26289/qmgr
unix 4 [ ] STREAM CONNECTING 0 - public/cleanup
unix 3 [ ] STREAM CONNECTED 2122149 26288/pickup
--<SNIP>--
unix 2 [ ] DGRAM 2066824 6438/trivial-rewrit
unix 3 [ ] STREAM CONNECTING 0 - private/rewrite
unix 2 [ ] DGRAM 2066806 6435/tlsmgr
unix 2 [ ] DGRAM 2066793 6436/cleanup
unix 3 [ ] STREAM CONNECTING 0 - public/cleanup
----<SNIP>----
unix 2 [ ] DGRAM 2066645 6428/master
unix 2 [ ] DGRAM 2064416 6002/saslauthd
unix 2 [ ] DGRAM 2061456 5615/courierlogger
unix 2 [ ] DGRAM 44316 15510/perl5.8.6
unix 2 [ ] DGRAM 44174 15425/crond
unix 2 [ ] DGRAM 43539 15086/named
unix 2 [ ] DGRAM 42947 14793/xfs
unix 2 [ ] DGRAM 42361 14508/klogd

till 30th January 2006 08:17

Quote:

Originally Posted by gimhan90
Does this tutorial apply for "The Perfect Setup - SUSE 9.3"? OR
Is it designed for the " Debian Sarge (Debian 3.1)."?



( This tutorial is based on Debian Sarge (Debian 3.1). You should already have set up a basic Debian system, as described here: http://www.howtoforge.com/perfect_setup_debian_sarge and )

This tutorial is written for DEBIAN. But it might work on SuSe 9.3 with some modifications.

falko 30th January 2006 09:00

Quote:

Originally Posted by MrMattles
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 6428/master

I guess inet_interfaces is not set to all in /etc/postfix/main.cf. Put
Code:

inet_interfaces = all
into /etc/postfix/main.cf and restart Postfix.

MrMattles 31st January 2006 03:45

Restarted....but still getting
 
from the machine itself

when i telnet localhost pop3
or telnet localhost 25 I still get
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

Also from the machine when using the "public" ip i get
Trying <PUBLIC UP>...
Connected to reverse.ip.add (PUBLICIP).
Escape character is '^]'.

From another machine going to this i get just blank screens no responses

till 31st January 2006 11:19

Please post again the output of:

netstat -tap

after you applied the modification in your main.cf that falko suggested and you restarted postfix.

MrMattles 13th February 2006 09:16

Netstat Update
 
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 15367/master
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 15201/mysqld-max
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 14459/portmap
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 15507/perl5.8.6
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 15397/proftpd: (acc
tcp 0 0 202.173.150.20:53 0.0.0.0:* LISTEN 15079/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 15079/named
tcp 0 0 202.173.150.20:22 0.0.0.0:* LISTEN 15478/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 15367/master
tcp 1 0 202.173.150.20:25 218.80.122.225:1131 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 61.173.54.229:4110 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 61.173.54.229:4607 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 59.104.54.139:4295 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 61.173.50.5:4023 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 125.188.61.77:4273 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 125.188.61.77:1104 CLOSE_WAIT -
tcp 0 0 202.173.150.20:25 59.104.54.186:1143 ESTABLISHED -
tcp 1 0 202.173.150.20:25 219.91.87.98:2594 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 221.140.55.69:2482 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 221.140.55.69:2866 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 221.140.55.69:2245 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 125.188.61.77:1031 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 221.140.55.69:2229 CLOSE_WAIT -
tcp 0 0 127.0.0.1:3306 127.0.0.1:3448 TIME_WAIT -
tcp 1 0 202.173.150.20:25 218.80.122.225:4414 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 59.104.54.186:2530 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 125.188.61.77:3493 CLOSE_WAIT -
tcp 1 0 202.173.150.20:25 221.140.55.69:3030 CLOSE_WAIT -
tcp 0 0 127.0.0.1:3449 127.0.0.1:3306 TIME_WAIT -
tcp 0 52 202.173.150.20:22 202.173.150.18:63553 ESTABLISHED 23200/sshd: mattisg
tcp 0 0 :::80 :::* LISTEN 15482/httpd
tcp 0 0 :::25 :::* LISTEN 15367/master
tcp 0 8907 ::ffff:202.173.150.2:80 ::ffff:207.46.98.:64011 FIN_WAIT1 21512/httpd
udp 0 0 0.0.0.0:1024 0.0.0.0:* 15079/named
udp 0 0 0.0.0.0:10000 0.0.0.0:* 15507/perl5.8.6
udp 0 0 202.173.150.20:53 0.0.0.0:* 15079/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 15079/named
udp 0 0 0.0.0.0:111 0.0.0.0:* 14459/portmap
udp 0 0 :::1025 :::* 15079/named
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 43564 15367/master public/flush
unix 2 [ ACC ] STREAM LISTENING 43568 15367/master private/proxymap
unix 2 [ ACC ] STREAM LISTENING 43572 15367/master private/smtp
unix 2 [ ACC ] STREAM LISTENING 43576 15367/master private/relay
unix 2 [ ACC ] STREAM LISTENING 43580 15367/master public/showq
unix 2 [ ACC ] STREAM LISTENING 43584 15367/master private/error
unix 2 [ ACC ] STREAM LISTENING 43588 15367/master private/local
unix 2 [ ACC ] STREAM LISTENING 43592 15367/master private/virtual
unix 2 [ ACC ] STREAM LISTENING 43596 15367/master private/lmtp
unix 2 [ ACC ] STREAM LISTENING 43600 15367/master private/anvil
unix 2 [ ACC ] STREAM LISTENING 43604 15367/master private/maildrop
unix 2 [ ACC ] STREAM LISTENING 43608 15367/master private/cyrus-deliver
unix 2 [ ACC ] STREAM LISTENING 43612 15367/master private/cyrus
unix 2 [ ACC ] STREAM LISTENING 43616 15367/master private/cyrus-chroot
unix 2 [ ACC ] STREAM LISTENING 43620 15367/master private/cyrus-inet
unix 2 [ ACC ] STREAM LISTENING 43624 15367/master private/uucp
unix 2 [ ACC ] STREAM LISTENING 43632 15367/master private/lmtp-filter
unix 2 [ ACC ] STREAM LISTENING 43636 15367/master private/smtp-filter
unix 2 [ ACC ] STREAM LISTENING 43288 15201/mysqld-max /var/run/mysqld/mysqld.sock
unix 3 [ ACC ] STREAM LISTENING 43531 15367/master public/cleanup
unix 2 [ ] DGRAM 41932 14483/syslogd /var/spool/postfix/dev/log
unix 2 [ ACC ] STREAM LISTENING 43541 15367/master private/rewrite
unix 2 [ ACC ] STREAM LISTENING 43545 15367/master private/bounce
unix 2 [ ACC ] STREAM LISTENING 43549 15367/master private/defer
unix 2 [ ACC ] STREAM LISTENING 43556 15367/master private/trace
unix 2 [ ACC ] STREAM LISTENING 43560 15367/master private/verify
unix 2 [ ] DGRAM 2885 795/udevd @udevd
unix 13 [ ] DGRAM 41930 14483/syslogd /dev/log
unix 2 [ ACC ] STREAM LISTENING 42543 14792/xfs /tmp/.font-unix/fs-1
unix 4 [ ] STREAM CONNECTING 0 - private/proxymap
unix 4 [ ] STREAM CONNECTED 1127964 15394/trivial-rewri
unix 4 [ ] STREAM CONNECTING 0 - private/proxymap
unix 4 [ ] STREAM CONNECTED 1127963 19907/smtpd
unix 4 [ ] STREAM CONNECTING 0 - private/proxymap
unix 4 [ ] STREAM CONNECTED 1127962 15386/cleanup
unix 3 [ ] UNKNOWN DISCONNECTING 0 -

falko 13th February 2006 09:50

Quote:

Originally Posted by MrMattles
tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 15367/master
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 15367/master

SMTP is listening on 0.0.0.0 on port 25 (instead of on all addresses) and on 127.0.0.1 on port 10026.
Please post /etc/postfix/main.cf and /etc/postfix/master.cf here.

And there's no POP3 daemon running at all, so you must start your POP3 daemon (Courier?).


All times are GMT +2. The time now is 02:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.