On Jul 2, 2007, at 12:43 PM, Jeff Potter wrote:
The problem is the hostnames of these machines don't exist in real DNS anywhere, so when they try to send mail to the outside world, other mail servers are seeing an invalid domain in the from address and summarily rejecting the messages (which makes sense).
I need to figure out how to tell sendmail, when sending outbound messages, to use the domain name "example.com", instead of "subdomain.example.com". It would seem simple in /etc/mail/ sendmail.mc:
You can set the host name other people see with something like define(`confDOMAIN_NAME', `your.server_name.com')
-- Chris