Re: dumb sendmail question -- how to get outbound messages to use "example.com" instead of hostname?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux