[CentOS] Mail from domain problem

Linux Advocate linuxhousedn at yahoo.com
Tue Feb 24 06:23:20 UTC 2009


in /etc/postfix/main.cf , set myorigin=$mydomain and not as $myhostname.

 




________________________________
From: Xia Guowen <xiagw at 51poi.com>
To: centos at centos.org
Sent: Tuesday, February 24, 2009 2:07:38 PM
Subject: [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


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090223/3e51fe2d/attachment.html>


More information about the CentOS mailing list