Re: how to change my source address in sendmail??

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

 



On Wed, 04 Aug 2004 15:53:39 +0200, Alexander Dalloz
<alexander.dalloz@xxxxxxxxxxxxxxxx> wrote:
> Am Mi, den 04.08.2004 schrieb Yang Xiao um 15:38:
> 
> > On Wed, 04 Aug 2004 11:31:03 +0000, ssoss S <sctssoss@xxxxxxxxxxx> wrote:
> > > Hi.. i am using sendmail in Fedora Core1 to send mail.  And I found that my
> > > source email address is always root@xxxxxxxxxxxxxxxxxxxxxx  mylinux is my
> > > hostname and mycompany is my company domain name.  but how can change my
> > > source email address to root@xxxxxxx or myname@xxxxxxx??  where is the
> > > setting???
> 
> > 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.
> 
> No, masquerading has a different purpose.
> 
> > Also, the /usr/share/doc/sendmail/README.cf file has detailed
> > descriptions for all available macros.
> 
> He is looking for
> 
> define(`confDOMAIN_NAME', `abc.com')dnl
> 
> It is important that the name of the Sendmail host is resolvable.
> 
> > Yang
> 
> Alexander
> 

hmm.

confDOMAIN_NAME         $j macro        If defined, sets $j.  This should
                                        only be done if your system cannot
                                        determine your local domain name,
                                        and then it should be set to
                                        $w.Foo.COM, where Foo.COM is your
                                        domain name.

sounds like it should work, but not what it's intended for? 

MASQUERADE_AS is more appropriate in this case I think.

Yang



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux