i'm jumping in on this, as I have a similiar problem... using the
postconf -n, I think i see my problem...... the mydomain_fallback
is localhost, as is myhostname.
in checking the mailq it appears my mail is trying to go out with a
email@hiddenhost sender address.
(i'm trying to use php mail to send out mail..... from a moodle
installation)
so I guess what I need to know, is how to change the config of
postfix to put my real server info in, rather than localhost.
mydomain_fallback is suppose to be set as localhost. Leave that alone!
myhostname is suppose to be the hostname of the server and this is
where your problem is.
In Server Admin on the General Settings screen you should have your
Domain name and your Host name set.
Example:
Domain name: example.com
Host name: host.example.com
When you send mail out using the php script it will be addressed as
coming from email@hidden although I believe you can change
that by adding some additional parameters to the script. Do a Google
search on php mail() to find out how to change that but leave the
server setting as it is suppose to be.
The mail server uses the host name for its HELO which needs to match
your MX setting in DNS or at least have a corresponding A record if
it's an outbound only server (not receiving mail).
--
Gino Cerullo
Pixel Point Studios
21 Chesham Drive
Toronto, ON M3M 1W6
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden