Re: Mail from domain problem

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



Good,
Solution:

# vi /etc/mail/sendmail.mc

add this line :  EXPOSED_USER(`Mailer-Daemon')

# cd /etc/mail
# make
# service sendmail restart

Thanks  John R Pierce ,  A. Kirillov






----- Original Message ----- 
From: "John R Pierce" <pierce@xxxxxxxxxxxx>
To: "CentOS mailing list" <centos@xxxxxxxxxx>
Sent: Tuesday, February 24, 2009 4:19 PM
Subject: Re:  Mail from domain problem


> Xia Guowen wrote:
>> 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 
>>   
> 
> 
> with sendmail, you need to set some configuration options to masquerade 
> the host if you want locally submitted mail to be 'from' the domain name.
> 
> typically, in /etc/mail/sendmail.mc, the line...
> 
>    MASQUERADE_AS(`mydomain.com')
> 
> then run `make` in that directory.   for this to work correctly, you 
> need to install the sendmail-cf package
> 
> with any other mail client, its similar.
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
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