Currently I have a server called:
but my MX record is:
mail.mydomain.com (reverse DNS is setup for this domain too)
When I send email it appears to come from alpha.mydomain.com in the message headers. I dont want to change the hostname of the server so how can I force Postfix to send all out going mail as coming from mail.mydomain.com?
I run the latest version of Postfix, Procmail and Spamassasin all on the same box running FreeBSD 7.2.
Does the hostname of the server have to match your MX record or can it be different? If you can change it then where? I cant seem to find it...