The problem: I have 2 emails:
When email is sent with help of PHP the email to [email protected] is delivered, but email to info is not - user info doesn't exists.
I have postfix installed on myhost.com server, and no email server.
How to make postfix send mails to outside world to address [email protected]?
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
main.cf
and removemyhost.com
,$mydomain
, and similar entries from themydestinations
setting. This should make Postfix deliver messages tomyhost.com
over the network. ($myhostname
andlocalhost
can and perhaps even should remain.)