[CentOS] Mail from domain problem

Tue Feb 24 09:54:43 UTC 2009
Xia Guowen <xiagw at 51poi.com>

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 at domain22.com
# tail  /var/log/maillog
Feb 24 16:42:24 centos4 sendmail[6013]: n1O8gOYq006013: from=<root at centos4.domain11.com>, size=378, class=0, nrcpts=1, msgid=<200902240842.n1O8gOCH006012 at centos4.domain11.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]





----- Original Message ----- 
From: "A. Kirillov" <nevis2us at infoline.su>
To: "CentOS mailing list" <centos at centos.org>
Sent: Tuesday, February 24, 2009 5:20 PM
Subject: Re: [CentOS] 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 at domain22.com
>> 
>> 
>> I received is root at mail.domain11.com 
>> 
>> HOW?
> 
> With sendmail try to remove root from EXPOSED_USER list.
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>