From owner-freebsd-questions Thu Nov 9 07:08:57 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA18611 for questions-outgoing; Thu, 9 Nov 1995 07:08:57 -0800 Received: from strider.ibenet.it (root@strider.ibe.net [194.179.130.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id HAA18600 for ; Thu, 9 Nov 1995 07:08:42 -0800 Received: (from piero@localhost) by strider.ibenet.it (8.6.12/8.6.12) id QAA27325; Thu, 9 Nov 1995 16:00:35 +0100 From: Piero Serini Message-Id: <199511091500.QAA27325@strider.ibenet.it> Subject: Re: Problems with mail reception To: amengual@sadeya.cesca.es (Carlos Amengual) Date: Thu, 9 Nov 1995 16:00:34 +0100 (MET) Cc: piero@strider.ibenet.it, hostmaster@host.bemarnet.es, questions@freebsd.org In-Reply-To: from "Carlos Amengual" at Nov 9, 95 03:39:48 pm Reply-To: piero@strider.ibenet.it Operating-System: FreeBSD 1.1.5.1 X-Phone-Number: +39 (2) 58113562 X-NCC-RegID: it.ibenet X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 2515 Sender: owner-questions@freebsd.org Precedence: bulk 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 I 20136 Milano - ITALY