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've recently setup postfix on my server, I'm receiving mail from localhost but not from the outside nor can I send, doing a port scan says that there is nothing listening on port 25 and I've checked and its not a firewall issue.

I think its a problem with my config in I've followed the walkthrough at enter link description here but still think I've got something wrong. Here are the settings I've changed:

myhostname = local-server.local
mydomain =
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks =,

What have I done wrong?

Edit: netstat -tlnp brings up: tcp 0 0* LISTEN 15970/master

share|improve this question
What does "netstat -tlnp" say? Is there any listings for port 25? – Bittrance Mar 27 '11 at 0:05
No listing, guessing its not starting because of miss configuration. – Rudiger Mar 27 '11 at 0:20
Sorry stuffed up, localhost is listening on port 25. Gives me an idea so I'll have a look. – Rudiger Mar 27 '11 at 1:19
Nah haven't been able to get it to work yet, think of anything else? – Rudiger Mar 27 '11 at 1:30
up vote 1 down vote accepted

K, this was rather stupid, added this line

inet_interfaces = all

But forgot to remove / comment out this line:

#inet_interfaces = localhost

Commenting out fixed it.

share|improve this answer

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.