Linode Forum
https://forum.linode.com/

Send Mail But Can't Receive
https://forum.linode.com/viewtopic.php?f=11&t=10535
Page 1 of 1

Author:  indeepblue [ Sun Oct 20, 2013 9:08 am ]
Post subject:  Send Mail But Can't Receive

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

Author:  indeepblue [ Sun Oct 20, 2013 9:41 am ]
Post subject:  Re: Send Mail But Can't Receive

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]

Author:  Main Street James [ Sun Oct 20, 2013 10:15 am ]
Post subject:  Re: Send Mail But Can't Receive

Run this command:
Code:
# netstat -tulpn

Look for processes listening on port 25.

Have you blocked ports via your firewall?

Author:  indeepblue [ Sun Oct 20, 2013 12:32 pm ]
Post subject:  Re: Send Mail But Can't Receive

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

Author:  indeepblue [ Sun Oct 20, 2013 12:33 pm ]
Post subject:  Re: Send Mail But Can't Receive

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

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/