Re: Mail from domain problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

 


From: Xia Guowen <xiagw@xxxxxxxxx>
To: centos@xxxxxxxxxx
Sent: Tuesday, February 24, 2009 2:07:38 PM
Subject: 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@xxxxxxxxxxxx
 
I would like to receive mail is root@xxxxxxxxxxxx, but I received is root@xxxxxxxxxxxxxxxxx
 
 
 
How to correct it?
 
(I've tested there is no problem in CentOS 5.2)
 
Best regards
 
 

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux