Postfix: Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)

Posted September 2, 2014 6.3k views

I am unable to receive e-mails using Postfix. Whenever I try to send a message I get a “Sorry, I couldn’t find a mail exchanger or IP address. (#5.4.4)” reply.

Also, when I looked in my /var/mail/ folder…I noticed that there are no files for any of the user accounts on my server. Instead, all I see are two files “nobody” and “www-data”

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.

Submit an Answer
1 answer

The first problem sounds like you haven’t set up DNS MX records for the domain.

For the second, I would wager that /var/mail/* or ~/Maildir are not created until mail is received for a given user.