[CentOS] Mail from domain problem

Tue Feb 24 07:07:11 UTC 2009
Xia Guowen <xiagw at 51poi.com>

# alternatives --config mta

There are 2 programs which provide 'mta'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/sbin/sendmail.sendmail
   2           /usr/sbin/sendmail.postfix

but I shutdown both them, I install kerio mailserver system as MTA, and listen on port 25.








----- Original Message ----- 
From: "Barry Brimer" <lists at brimer.org>
To: "CentOS mailing list" <centos at centos.org>
Sent: Tuesday, February 24, 2009 2:17 PM
Subject: Re: [CentOS] Mail from domain problem


>> Hi,
>>
>>    I installed a CentOS 4.7 server, the system information is:
>>
>> # cat /etc/sysconfig/network
>> NETWORKING=yes
>> HOSTNAME=mail.domain11.com
>>
>> # hostname
>> mail.domain11.com
>>
>> #echo "test " | mail -s "test mail" someone at domain22.com
>>
>> I would like to receive mail is root at domain11.com, but I received is root at mail.domain11.com
>>
>>
>>
>> How to correct it?
>>
>> (I've tested there is no problem in CentOS 5.2)
>>
>> Best regards
> 
> What MTA are you using?  Sendmail?  Postfix?  Exim?  Qmail?  Courier?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>