Problems to receive mails from outside servers.

October 21, 2014 873 views

Hello, im following your tutorial to install iRedMail:

https://www.digitalocean.com/community/tutorials/how-to-install-iredmail-on-centos-6-5-x64

Before try 9 times i cant go out of this problem. I can send/recive mails between my own server, i can send mails to outside servers correctly, but when i send a mail from outside server to my own it dont arrive.

I dont know if this problem is normal, if there are a bug with iRedMail 0.8.7 version ( tutorial use 8.6) but i cant find a solution in the web so i ask you if someone had the same problem or know what is happening because im starting to lose hope.

Thanks for read.

1 Answer

run this:

netstat -plant|grep ":25"

if it says "0.0.0.0:25", run this:

iptables -I INPUT -p tcp -m tcp --dport 25 -j ACCEPT; service iptables save

If it doesn't say "0.0.0.0:25", but says "127.0.0.1:25", edit /etc/postfix/main.cf, and change

inet_interfaces = 127.0.0.1

to

inet_interfaces = all

then run

service postfix restart
Have another answer? Share your knowledge.