in /etc/postfix/main.cf , set myorigin=$mydomain and not as $myhostname.
________________________________ From: Xia Guowen <xi...@51poi.com> To: centos@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" some...@domain22.com I would like to receive mail is r...@domain11.com, but I received is r...@mail.domain11.com How to correct it? (I've tested there is no problem in CentOS 5.2) Best regards
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos