Yes,but fail. # grep 'EXPOSED_USER' /etc/mail/sendmail.mc EXPOSED_USER(`')dnl # cd /etc/mail # make # service sendmail restart # echo "test" | mail -s "test mail" someone@xxxxxxxxxxxx # tail /var/log/maillog Feb 24 16:42:24 centos4 sendmail[6013]: n1O8gOYq006013: from=<root@xxxxxxxxxxxxxxxxxxxx>, size=378, class=0, nrcpts=1, msgid=<200902240842.n1O8gOCH006012@xxxxxxxxxxxxxxxxxxxx>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] ----- Original Message ----- From: "A. Kirillov" <nevis2us@xxxxxxxxxxx> To: "CentOS mailing list" <centos@xxxxxxxxxx> Sent: Tuesday, February 24, 2009 5:20 PM Subject: Re: Mail from domain problem >> But, I shutdown Kerio and config MTA = sendmail. >> Then >> # service sendmail start >> # hostname >> mail.domain11.com >> # echo "test " | mail -s "test mail" someone@xxxxxxxxxxxx >> >> >> I received is root@xxxxxxxxxxxxxxxxx >> >> HOW? > > With sendmail try to remove root from EXPOSED_USER list. > > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos