0

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 main.cf. 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 = example.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 10.0.1.0/8, 127.0.0.0/8

What have I done wrong?

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

4
  • 1
    What does "netstat -tlnp" say? Is there any listings for port 25?
    – Bittrance
    Mar 27, 2011 at 0:05
  • No listing, guessing its not starting because of miss configuration.
    – Rudiger
    Mar 27, 2011 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, 2011 at 1:19
  • Nah haven't been able to get it to work yet, think of anything else?
    – Rudiger
    Mar 27, 2011 at 1:30

1 Answer 1

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .