how to change my source address in sendmail??

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Wed Aug 4 13:53:39 UTC 2004


Am Mi, den 04.08.2004 schrieb Yang Xiao um 15:38:

> 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???

> 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


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp 
Serendipity 15:52:09 up 9:19, 8 users, 0.29, 0.24, 0.26 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040804/73270605/attachment-0001.sig>


More information about the fedora-list mailing list