Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am on Ubuntu 10.04 and had postfix installed, I can send mail with sendmail but when I send mail to my server through hotmail or alike it just never appears.

I installed mailutils and ran mail while in root (which is who is configured to receive everything) and it said no mail. There was also no mail in /var/mail/root

What steps would I need to do for postfix to start accepting e-mail externally, any specific guides (I prefer not to do virtual users if that is too complex..)

share|improve this question
Look into mail server log /var/log/mail.log, so you can discovery what happen. – lg. Dec 7 '10 at 8:35
@lg, thank you. – John R. Dec 7 '10 at 9:01
up vote 0 down vote accepted

To be able to receive emails from external servers, you need to have a working postfix. From your explanation, it seems that you can send emails locally.

The other important part that you did not talk about is configuring your DNS records and allowing the external servers to send you the emails. You need to define at least one MX record for your domain and point it to your email server. Also, the SMTP port 25 should be opened to your email server.

share|improve this answer
I was a bit unclear! I can send e-mail externally (i.e. to my Hotmail) and can also have it sent to me, there is no error connecting. I just do not know how to actually configure postfix to receive the mail into a folder or somewhere where I can use it, it just doesn't happen. – John R. Dec 7 '10 at 8:16
Look at the log file /var/log/mail.log as lg suggested. You can check for errors. – Khaled Dec 7 '10 at 8:53
Wow ...... The log file is 7mbs full of errors and warnings from libmilter (was trying to set up DKIM). I will just reinstall the bloody vps, only had it for one day.. Thank you! – John R. Dec 7 '10 at 9:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.