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

4 Replies

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]

Run this command:````

netstat -tulpn

````
Look for processes listening on port 25.

Have you blocked ports via your firewall?

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

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct