Thread: pop3 login
View Single Post
  #6  
Old 1st January 2006, 19:44
stefanr stefanr is offline
HowtoForge Supporter
 
Join Date: Dec 2005
Posts: 48
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Till meant
Code:
netstat -tap
and
Code:
iptables -L


As Till suggested, use these commands to check if your POP3 daemon is running, and if maybe the firewall isblocking port 110 (POP3).
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:51234 *:* LISTEN 17736/server_linux
tcp 0 0 *:14534 *:* LISTEN 17736/server_linux
tcp 0 0 localhost.localdo:mysql *:* LISTEN 2110/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 1521/portmap
tcp 0 0 *:81 *:* LISTEN 24377/ispconfig_htt
tcp 0 0 *:659 *:* LISTEN 23370/3dmd
tcp 0 0 192.168.50.101:domain *:* LISTEN 21381/named
tcp 0 0 waldorfkindergar:domain *:* LISTEN 21381/named
tcp 0 0 localhost.locald:domain *:* LISTEN 21381/named
tcp 0 0 *:ftp *:* LISTEN 3342/proftpd: (acce
tcp 0 0 localhost.localdoma:758 *:* LISTEN 2278/famd
tcp 0 0 *:socks *:* LISTEN 23370/3dmd
tcp 0 0 localhost.localdoma:953 *:* LISTEN 21381/named
tcp 0 0 *:smtp *:* LISTEN 16296/master
tcp 0 38 waldorfkindergarten-:81 www.rr-netz.de:63405 FIN_WAIT1 -
tcp6 0 0 *:imaps *:* LISTEN 2025/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 2046/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 2019/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 4299/couriertcpd
tcp6 0 0 *:www *:* LISTEN 23104/apache2
tcp6 0 0 *:ssh *:* LISTEN 19017/sshd
tcp6 0 0 ip6-localhost:953 *:* LISTEN 21381/named
tcp6 0 0 *:smtp *:* LISTEN 16296/master
tcp6 0 0 *:https *:* LISTEN 23104/apache2




Chain PUB_IN (3 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt: domain
PAROLE tcp -- anywhere anywhere tcp dpt: www
PAROLE tcp -- anywhere anywhere tcp dpt: 81
PAROLE tcp -- anywhere anywhere tcp dpt: pop3
PAROLE tcp -- anywhere anywhere tcp dpt: https
PAROLE tcp -- anywhere anywhere tcp dpt: 10000
PAROLE tcp -- anywhere anywhere tcp dpt: imap2
PAROLE tcp -- anywhere anywhere tcp dpt: imaps
PAROLE tcp -- anywhere anywhere tcp dpt: ssmtp
PAROLE tcp -- anywhere anywhere tcp dpt: socks
PAROLE tcp -- anywhere anywhere tcp dpt: 14534
PAROLE tcp -- anywhere anywhere tcp dpt: 8767
PAROLE tcp -- anywhere anywhere tcp dpt: 1452
ACCEPT udp -- anywhere anywhere udp dpt:domain
LOG tcp -- anywhere anywhere tcp dpt:telnet state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:ftp state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:imap2 state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG tcp -- anywhere anywhere tcp dptop3 state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:finger state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:sunrpc state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:exec state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:login state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:linuxconf state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:ssh state INVALID,NEW limit: avg 5/sec burst 8 LOG level info prefix `audit'
LOG icmp -- anywhere anywhere LOG level info prefix `PUB_IN DROP 2'
DROP icmp -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `PUB_IN DROP 4 '
DROP all -- anywhere anywhere

i think all services are running correctly and all ports what i need are not blocked in the firewall???


if change the netstat command to netstat -atnp the answer here is:


Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:51234 0.0.0.0:* LISTEN 17736/server_linux
tcp 0 0 0.0.0.0:14534 0.0.0.0:* LISTEN 17736/server_linux
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2110/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1521/portmap
tcp 0 0 0.0.0.0:81 0.0.0.0:* LISTEN 24377/ispconfig_htt
tcp 0 0 0.0.0.0:659 0.0.0.0:* LISTEN 23370/3dmd
tcp 0 0 192.168.50.101:53 0.0.0.0:* LISTEN 21381/named
tcp 0 0 192.168.50.100:53 0.0.0.0:* LISTEN 21381/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 21381/named
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 3342/proftpd: (acce
tcp 0 0 127.0.0.1:758 0.0.0.0:* LISTEN 2278/famd
tcp 0 0 0.0.0.0:1080 0.0.0.0:* LISTEN 23370/3dmd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 21381/named
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 16296/master
tcp 0 0 192.168.50.100:38427 213.167.167.50:110 ESTABLISHED21462/fetchmail
tcp6 0 0 :::993 :::* LISTEN 2025/couriertcpd
tcp6 0 0 :::995 :::* LISTEN 2046/couriertcpd
tcp6 0 0 :::110 :::* LISTEN 2019/couriertcpd
tcp6 0 0 :::143 :::* LISTEN 4299/couriertcpd
tcp6 0 0 :::80 :::* LISTEN 23104/apache2
tcp6 0 0 :::22 :::* LISTEN 19017/sshd
tcp6 0 0 ::1:953 :::* LISTEN 21381/named
tcp6 0 0 :::25 :::* LISTEN 16296/master
tcp6 0 0 :::443 :::* LISTEN 23104/apache2
tcp6 0 740 ::ffff:192.168.50.10:22 ::ffff:192.168.50.:1159 ESTABLISHED3200/sshd: stefanr
tcp6 0 0 ::ffff:192.168.50.1:143 ::ffff:85.116.204:62873 ESTABLISHED11783/imapd

Last edited by stefanr; 1st January 2006 at 19:48.
Reply With Quote