Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 1995 16:00:34 +0100 (MET)
From:      Piero Serini <piero@strider.ibenet.it>
To:        amengual@sadeya.cesca.es (Carlos Amengual)
Cc:        piero@strider.ibenet.it, hostmaster@host.bemarnet.es, questions@freebsd.org
Subject:   Re: Problems with mail reception
Message-ID:  <199511091500.QAA27325@strider.ibenet.it>
In-Reply-To: <Pine.BSF.3.91.951109132945.2278A-100000@blanco.sadeya.cesca.es> from "Carlos Amengual" at Nov 9, 95 03:39:48 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

Sorry for the long quote, I think it's neecessary.

Quoting from Carlos Amengual (Thu Nov  9 16:39:48 1995):
[justified e bit]
> > > > I have a Web site in Spain connected to the Internet running
> > > > FreeBSD v2.0.5. The name of the machine is host.bemarnet.es,
> > > > and I need to send and receive mail using addresses like 
> > > > antonio@bemarnet.es instead of antonio@host.bemarnet.es.
> > > > How can I do It ? Nowadays I can receive e-mail messages
> > > > with the long address format (i.e. user@host.bemarnet.es)
...
> I would never say that this has "nothing to do" with MX records. Putting
> an MX record and changing Cw line of sendmail.cf not only is a simple 
> way to do it (many, if not most systems, won't even have installed the 
> "/usr/src/usr.sbin/sendmail/cf" path for m4 macro config), but has its own 
> advantages as it will be easy to follow when someone tries to install 
> more machines under the domain. In fact, it is the preferred procedure at 
> many places. My own machine is arranged this way.

And  it  will  NOT  *send* e-mail as antonio@bemarnet.es. Please,
read the question again, and again, and note this part:  "I  need
to send and receive mail using addresses like antonio@bemarnet.es
  ^^^^^^
instead of antonio@host.bemarnet.es".


> Many people does not use m4 at all to configure sendmail. Of course, it is 

Wrong!  Sendmail  is configured that way. I do know tat you tweak
an existant sendmail.cf file, but the *correct* way to do  it  is
to use the cf/ tree.

> generally perfectly adequate to use the MASQUERADE_AS macro, but it likely
> does no more than putting a DM symbol definition in the .cf file. This is 

Wrong!!!!!  Many  rewriting  rules  change  if you masquerade!!!!
Configure a sendmail in the right way, i.e. use m4 and  then  use
diff to see it yourself.

> essentially the same as above, but hides it somewhat. I do not see a clear 
> advantage, and it is not advisable to use the m4 approach if their .cf 
> file is locally customized without m4. One first needs at least to see the 
> file to decide.

Wrong! Any customization can be done in the .mc file, and this
is the right way to do it.

> Your method is only one approach, not the only one as you imply.

Wrong! Using m4 is the only *correct* approach.

Bye,
--
#        $Id: .signature,v 1.12 1995/08/14 12:10:54 piero Exp $
Piero Serini                                            Via Giambologna, 1 
<Piero@Free.IT>                                     I 20136 Milano - ITALY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511091500.QAA27325>