SUMMARY: mail header

From: Joao Pimenta (jrp@apollo.ccp.up.pt)
Date: Wed Jun 26 1996 - 04:39:28 CDT


This is the summary to :

When I send a mail message the FROM field shows the name of my machine,
"From: jrp@apollo.ccp.up.pt".
I have the sendmail configured to accept mails delivered to the domain
like this "jrp@ccp.up.pt".
Where can I change this ?! I have tryied on the mail client (netscape,
eudora, etc) and didn't work !

Thank you for the quick answers to:

Claus Assmann <ca@informatik.uni-kiel.de>
Marina.Daniels@ccd.tas.gov.au (Marina Daniels)
K.Arun <arun@adithya.ncb.ernet.in>

Here are their contributions:

=====================================================================
Date: Tue, 25 Jun 1996 17:16:12 +0200 (MET-DST)
From: Claus Assmann <ca@informatik.uni-kiel.de>

3) How do I change user@host.my.dom.ain to user@my.dom.ain?

a) Again from the FAQ of sendmail V8:
  * How do I make all my addresses appear to be from a single host?
        Using the V8 configuration macros, use:
                MASQUERADE_AS(my.dom.ain)
        This will cause all addresses to be sent out as being from
        the indicated domain.
If you also want to masquerade the recipients, use
FEATURE(allmasquerade)
But be careful and read cf/README first about possible problems!

b) For Sun's sendmail (prior to version 8):

Look for a rule (should be in ruleset 22) like
R$+<@$+>$* $@$1<@$2.$m>$3 tack on our
domain
and change it to
R$+<@$+>$* $@$1<@$m>$3 tack on our
domain
if you have correctly defined $m.

If you have SunOS 5.x (with x < 5; aka Solaris 2.x) you also have to
change the following rule:
R$+ $@$1<@$w.$m> tack on our full
name
into:
R$+ $@$1<@$m> tack on our
domain

If you have any corrections/additions/suggestions, please let me know.
These questions and answers are also available on
http://www.informatik.uni-kiel.de/~ca/email/english.html
which contains some more hints about sendmail.

Hope this help,

Claus Assmann

=====================================================================
Date: Wed, 26 Jun 1996 13:47:47 +1000
From: Marina.Daniels@ccd.tas.gov.au (Marina Daniels)

In your /etc/sendmail.cf file you may have:

Cwlocalhost
# file containing names of hosts for which we receive email
Fw-o /etc/sendmail.cw

This means you change it in the /etc/sendmail.cw file:
just add a line to that file with the name of the domain you want to
accept mail
to:
eg:
apollo.ccp.up.pt

marina
=====================================================================
Date: Wed, 26 Jun 1996 10:46:07 +0630 (EDT)
From: "K.Arun" <arun@adithya.ncb.ernet.in>

Hi Mr Joao

I think you have to configure the sendmail.cf file only for this.
See the section Header formats and change the
?From: variable to ur domain name variable ( usually $D)

hope it helps

regards



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:02 CDT