Can send but not receive email (CentOS, Postfix)

  • Posted August 6, 2013

I followed the instructions here to set up PostFix and I now have mail being sent from my website working just fine.

However I cannot receive emails.

I added an A and MX record for the mail server a few days ago.

I would like to either set up multiple user accounts to run from outlook (need passwords on each etc. so may be more complex) or just have everything get forwarded to free gmail accounts.

In postfix I have:

virtual_alias_maps = hash:/etc/postfix/virtual

in /etc/postfix/virtual I have a line for each intended email address and where it should forward e.g.:

Then I did this:

postmap /etc/postfix/virtual

service postfix reload

But I get nothing, any ideas?



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

same problem here

Gone through the whole process, still cannot receive email. Emails are sent, but cannot receive. Here are my MX records: <br> <br>A @ <br>CNAME www @ <br>CNAME * @ <br>NS NS1.DIGITALOCEAN.COM. <br>NS NS2.DIGITALOCEAN.COM. <br>NS NS3.DIGITALOCEAN.COM. <br> <br>Followed Etel Sverdlov’s tutorial on setting up Postfix & Cyrus on Centos 6.

This solved it for me, for those searching the web for hours.

sudo vim /etc/postfix/ – press i – go to inet_interfaces – set inet_interfaces to all sudo service postfix restart

i want to set that my droplet with many domains can forward email to external emails. i read and followed bunch od tutorials including postfix itself. set up seems very simple, but nothing works after almost 10+ hours of trying. <br>any one managed to set postfix mail forward9ing on cent os 6.5? <br>

Awesome! Glad it worked :] <br> <br>Having DKIM keys set up allows the mail server to verify that you’re the real owner of the domain so that they don’t go straight to spam.

Woohooooo it is now working! I was following some instructions to set up dkim keys for my outgoing mail and by the end of it my incoming mail was working too! <br> <br>I’m not quite sure how/why though.

The mail I sent from my domain to my domain (redirected to gmail) with mailx worked - just found it in my gmail spam! <br> <br>None of the emails I’ve sent from external domains have

root 1285 0.0 0.1 78728 3228 ? Ss Aug06 0:03 /usr/libexec/postfix/master <br>myuser 5925 0.0 0.0 6376 700 pts/0 S+ 20:20 0:00 grep 1285 <br>

What’s the output of this command? <pre>ps wwaux | grep 1285</pre>

sudo netstat -plutn | grep :25 gives: <br> <br> <br>tcp 0 0* LISTEN 1285/master - <br>