[CentOS] configuring sendmails domain

Wed Nov 14 02:20:52 UTC 2007
James A. Peltier <jpeltier at cs.sfu.ca>

James A. Peltier wrote:
> Jerry Geis wrote:
>> I tried editing sendmail.cf and changing the Dj line to X.com
>> so any email originating from my machine would be X.com not m.X.com 
>> where m is machine name.
>>
>> I typed make in the /etc/mail directory and did service sendmail 
>> restart.
>>
>> This did not work. email still shows as m.X.com
>>
>> What am I missing so as to NOT have the machine name in the email 
>> address.
>> I just want the domain.
>>
>> Thanks,
>>
>> Jerry
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> Do not edit your sendmail.cf file directory.  Please use the .mc files 
> to build a correct sendmail.cf.
>
> google for sendmail.mc masquerade as.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
sorry all.  sed "s/directory/directly/"