Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Oct 20, 2013 9:08 am 
Offline
Senior Newbie

Joined: Sun Oct 20, 2013 9:05 am
Posts: 13
Hello,

I have ubuntu 12.04 + postfix + dovecot + mysql + roundcube installed.

Now i can send email but i can't receive any email.

Anybody can help me?

Regards


Top
   
PostPosted: Sun Oct 20, 2013 9:41 am 
Offline
Senior Newbie

Joined: Sun Oct 20, 2013 9:05 am
Posts: 13
More information;

I can't telnet any port and ip.

SMTP Connect Failed To Connect More Info
Session Transcript:
Connecting to 212.71.237.105
10/20/2013 8:38:56 AM Connection attempt #1 - Unable to connect after 15 seconds. [15.04 sec]


Top
   
PostPosted: Sun Oct 20, 2013 10:15 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
Run this command:
Code:
# netstat -tulpn

Look for processes listening on port 25.

Have you blocked ports via your firewall?


Top
   
PostPosted: Sun Oct 20, 2013 12:32 pm 
Offline
Senior Newbie

Joined: Sun Oct 20, 2013 9:05 am
Posts: 13
I'm not sure if i blocked or not.

Active Internet connections (only servers)
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 2645/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 14208/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 14208/dovecot
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 26768/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 9482/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 14663/master
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 14208/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 14208/dovecot
tcp6 0 0 :::110 :::* LISTEN 14208/dovecot
tcp6 0 0 :::143 :::* LISTEN 14208/dovecot
tcp6 0 0 :::80 :::* LISTEN 11856/apache2
tcp6 0 0 :::22 :::* LISTEN 9482/sshd
tcp6 0 0 :::25 :::* LISTEN 14663/master
tcp6 0 0 :::993 :::* LISTEN 14208/dovecot
tcp6 0 0 :::995 :::* LISTEN 14208/dovecot
udp 0 0 0.0.0.0:68 0.0.0.0:* 2384/dhclient3
udp 0 0 212.71.237.105:123 0.0.0.0:* 2816/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 2816/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 2816/ntpd
udp6 0 0 2a01:7e00::f03c:91f:123 :::* 2816/ntpd
udp6 0 0 fe80::f03c:91ff:fed:123 :::* 2816/ntpd
udp6 0 0 ::1:123 :::* 2816/ntpd
udp6 0 0 :::123 :::* 2816/ntpd


Top
   
PostPosted: Sun Oct 20, 2013 12:33 pm 
Offline
Senior Newbie

Joined: Sun Oct 20, 2013 9:05 am
Posts: 13
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
ACCEPT all -- anywhere anywhere
REJECT all -- anywhere 127.0.0.0/8 reject-with icmp-port-unreachable
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT icmp -- anywhere anywhere
LOG all -- anywhere anywhere limit: avg 5/min burst 5 LOG level debug prefix "iptables denied: "
DROP all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group