how to change my source address in sendmail??
Yang Xiao
yxiao2004 at gmail.com
Wed Aug 4 13:38:45 UTC 2004
On Wed, 04 Aug 2004 11:31:03 +0000, ssoss S <sctssoss at hotmail.com> wrote:
> Hi.. i am using sendmail in Fedora Core1 to send mail. And I found that my
> source email address is always root at mylinux.mycompany.com. mylinux is my
> hostname and mycompany is my company domain name. but how can change my
> source email address to root at abc.com or myname at abc.com?? where is the
> setting???
>
Hi,
This is usually done by using the
MASQUERADE_AS(abc.com)
macro in the sendmai.mc file. you might also want to checkout
FEATURE(allmasquerade)
then you need to regenerate the sendmail.cf file by typing make in the
/etc/mail dir.
Also, the /usr/share/doc/sendmail/README.cf file has detailed
descriptions for all available macros.
hope this helps.
Yang
More information about the fedora-list
mailing list