Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

The problem: I have 2 emails:

When email is sent with help of PHP the email to is delivered, but email to info is not - user info doesn't exists.

I have postfix installed on server, and no email server.

How to make postfix send mails to outside world to address

share|improve this question

migrated from Jan 13 '12 at 6:38

This question came from our site for computer enthusiasts and power users.

"no email server" -> postfix is not listening on port 25. – Thorbjørn Ravn Andersen Jan 12 '12 at 12:45
If you have Postfix, then you do have a mail server. Your question needs to explain where you want the mail to go, given that your mail system appears, without such an explanation, to be doing the right thing. (Mail sent to a mailbox that is on the local system is delivered locally, failing if there's not in fact a mailbox by that name.) – JdeBP Jan 12 '12 at 12:47
up vote 1 down vote accepted

I have postfix installed ... and no email server.

Postfix is your mail server, and it uses local delivery if it discovers that your recipient's domain is the same as its own.

Edit and remove, $mydomain, and similar entries from the mydestinations setting. This should make Postfix deliver messages to over the network. ($myhostname and localhost can and perhaps even should remain.)

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.